[wp-trac] [WordPress Trac] #63560: Fatal error on my theme

WordPress Trac noreply at wordpress.org
Thu Jun 12 06:41:04 UTC 2025


#63560: Fatal error on my theme
--------------------------+-----------------------------
 Reporter:  latablerouge  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:  6.8
 Severity:  major         |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hello,

 I received an email about a fatal error for my theme.
 I did multiple tests on my local and on the playground, and I didn't find
 any case which lead to a fatal error.
 Playground link :
 http://playground.wordpress.net/?php=8.1&networking=yes&theme=simppple
 Theme link : https://wordpress.org/themes/simppple/

 Here's the message I got :
 "Your theme `simppple` has been delisted due to a fatal error on wp-
 themes.com, which currently runs PHP 8.1.

 The error is:
 > E_ERROR: Uncaught TypeError:
 Simppple\ThemeCustomization\remove_default_values_from_CSS_variables():
 Argument #1 ($theme_json) must be of type WP_Theme_JSON_Data,
 WP_Theme_JSON_Data_Gutenberg given, called in /wp/wp-includes/class-wp-
 hook.php on line 324 and defined in /wp-content/themes/simppple/inc/theme-
 customization/theme-remove-default-settings.php:24

 Although the above fatal references wp-includes, we believe the error is
 caused by the theme itself, rather than core WordPress."


 I don't know what to do since I cannot reproduce the problem..

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63560>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list