[wp-trac] [WordPress Trac] #63086: Customizer: notice errror regarding WP_Theme::is_block_theme

WordPress Trac noreply at wordpress.org
Wed Mar 12 05:35:12 UTC 2025


#63086: Customizer: notice errror regarding WP_Theme::is_block_theme
--------------------------+---------------------
 Reporter:  wildworks     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.8
Component:  Customize     |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+---------------------

Comment (by sukhendu2002):

 == Reproduction Report
 === Description
 This report validates whether the issue can be reproduced.

 === Environment

 - WordPress: 6.8-beta2-59971-src
 - PHP: 8.2.27
 - Server: nginx/1.27.4
 - Database: mysqli (Server: 8.0.41 / Client: mysqlnd 8.2.27)
 - Browser: Chrome 133.0.0.0
 - OS: macOS
 - Theme: Twenty Twenty-Five 1.1
 - MU Plugins: None activated
 - Plugins:
     - Test Reports 1.2.0

 === Actual Results

 1. ✅ Error condition occurs (reproduced).

 The following error message appears

 ` Notice: WP_Theme::is_block_theme was called incorrectly. This method
 should not be called before themes are set up.`

 === Supplemental Artifacts
 [[Image(https://dnkrslddof.ufs.sh/f/TTyF6MLuAyHDZTNmbFzGIxDXS12HJm8sdLukrMWQfKYEUaAc)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63086#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list