Customizer Critical Error
-
Hello,
when we try to open the customizer we get a wordpress critical error. This is the error from the log:
PHP Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, null given in /www/htdocs/w0187bc1/Entwicklung/genokom.bitfinity.ms/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-blocks.php:70 #0 /www/htdocs/w0187bc1/Entwicklung/genokom.bitfinity.ms/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-blocks.php(70): array_merge(NULL, Array) #1 /www/htdocs/w0187bc1/Entwicklung/genokom.bitfinity.ms/wp-includes/class-wp-hook.php(326): RankMath\Schema\Blocks->block_categories(NULL) #2 /www/htdocs/w0187bc1/Entwicklung/genokom.bitfinity.ms/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array) #3 /www/htdocs/w0187bc1/Entwicklung/genokom.bitfinity.ms/wp-includes/block-editor.php(86): apply_filters('block_categorie...', Array, Object(WP_Block_Editor_Context)) #4 /www/htdocs/w0187bc1/Entwicklung/genokom.bitfinity.ms/wp-includes/block-editor.php(494): get_block_categories(Object(WP_Block_Editor_Context)) #5 /www/htdocs/w0187bc1/Entwicklung/genokom.bitfinity.ms/wp-includes/class-wp-customize-widgets.php(851): get_block_editor_settings(Array, Object(WP_Block_Editor_Context)) #6 /www/htdocs/w0187bc1/Entwicklung/genokom.bitfinity.ms/wp-includes/class-wp-hook.php(324): WP_Customize_Widgets->enqueue_scripts('') #7 /www/htdocs/w0187bc1/Entwicklung/genokom.bitfinity.ms/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #8 /www/htdocs/w0187bc1/Entwicklung/genokom.bitfinity.ms/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #9 /www/htdocs/w0187bc1/Entwicklung/genokom.bitfinity.ms/wp-admin/customize.php(133): do_action('customize_contr...') #10 {main} thrown in /www/htdocs/w0187bc1/Entwicklung/genokom.bitfinity.ms/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-blocks.php on line 70This is the stack trace:
#1 must be of type array, null given in /www/htdocs/w0187bc1/Entwicklung/genokom.bitfinity.ms/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-blocks.php:70
#0 /www/htdocs/w0187bc1/Entwicklung/genokom.bitfinity.ms/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-blocks.php(70): array_merge(NULL, Array)
#1 /www/htdocs/w0187bc1/Entwicklung/genokom.bitfinity.ms/wp-includes/class-wp-hook.php(326): RankMath\Schema\Blocks->block_categories(NULL)
#2 /www/htdocs/w0187bc1/Entwicklung/genokom.bitfinity.ms/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array)
#3 /www/htdocs/w0187bc1/Entwicklung/genokom.bitfinity.ms/wp-includes/block-editor.php(86): apply_filters('block_categorie...', Array, Object(WP_Block_Editor_Context))
#4 /www/htdocs/w0187bc1/Entwicklung/genokom.bitfinity.ms/wp-includes/block-editor.php(494): get_block_categories(Object(WP_Block_Editor_Context))
#5 /www/htdocs/w0187bc1/Entwicklung/genokom.bitfinity.ms/wp-includes/class-wp-customize-widgets.php(851): get_block_editor_settings(Array, Object(WP_Block_Editor_Context))
#6 /www/htdocs/w0187bc1/Entwicklung/genokom.bitfinity.ms/wp-includes/class-wp-hook.php(324): WP_Customize_Widgets->enqueue_scripts('')
#7 /www/htdocs/w0187bc1/Entwicklung/genokom.bitfinity.ms/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#8 /www/htdocs/w0187bc1/Entwicklung/genokom.bitfinity.ms/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#9 /www/htdocs/w0187bc1/Entwicklung/genokom.bitfinity.ms/wp-admin/customize.php(133): do_action('customize_contr...')
#10 {main}The critical error only occurs while Rank Math is activated, when deactivated we can use the Customizer as usual.
This happens on three sites for us, each with a different server environment.
Could you help us with this please?
WP Version: 6.8.3
Rank Math: 1.0.255 (Pro not installed, but i was a couple of years before)Thanks in advance!
Kind regards,
Jonas
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Customizer Critical Error’ is closed to new replies.