Fatal error
-
update breaks home page with Fatal error. Iv Rollback to Version 214
-
Hello @sparks199,
Thank you for contacting Rank Math support, and sorry for any inconvenience that might have been caused due to that.
Can you please share the website error log with us? You may also get in touch with your web host for assistance to retrieve the error log.
Having an error log will help us determine what is causing the fatal error upon updating the plugin to the latest version.
Looking forward to helping you.
been told by my host to use other Seo plugin because rank math has issues and is in safe. going back to Yoast SEO. Now site works great without rank math
WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with one of your plugins, Rank Math SEO.
Error Details
=============
An error of type E_ERROR was caused in line 64 of the file /home/u557025463/domains/creativegardeners.co.uk/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/blocks/class-block.php. Error message: Uncaught TypeError: join(): Argument #2 ($array) must be of type ?array, string given in /home/u557025463/domains/creativegardeners.co.uk/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/blocks/class-block.php:64
Stack trace:
#0 /home/u557025463/domains/creativegardeners.co.uk/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/blocks/class-block.php(64): join()
#1 /home/u557025463/domains/creativegardeners.co.uk/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/blocks/class-block-faq.php(170): RankMath\Schema\Block->get_styles()
#2 /home/u557025463/domains/creativegardeners.co.uk/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/blocks/class-block-faq.php(225): RankMath\Schema\Block_FAQ::markup()
#3 /home/u557025463/domains/creativegardeners.co.uk/public_html/wp-includes/class-wp-block.php(258): RankMath\Schema\Block_FAQ->render()
#4 /home/u557025463/domains/creativegardeners.co.uk/public_html/wp-includes/class-wp-block.php(244): WP_Block->render()
#5 /home/u557025463/domains/creativegardeners.co.uk/public_html/wp-includes/class-wp-block.php(244): WP_Block->render()
#6 /home/u557025463/domains/creativegardeners.co.uk/public_html/wp-includes/blocks.php(1484): WP_Block->render()
#7 /home/u557025463/domains/creativegardeners.co.uk/public_html/wp-includes/blocks.php(1522): render_block()
#8 /home/u557025463/domains/creativegardeners.co.uk/public_html/wp-includes/class-wp-hook.php(324): do_blocks()
#9 /home/u557025463/domains/creativegardeners.co.uk/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#10 /home/u557025463/domains/creativegardeners.co.uk/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1863): apply_filters()
#11 /home/u557025463/domains/creativegardeners.co.uk/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(569): WP_REST_Posts_Controller->prepare_item_for_response()
#12 /home/u557025463/domains/creativegardeners.co.uk/public_html/wp-includes/rest-api/class-wp-rest-server.php(1193): WP_REST_Posts_Controller->get_item()
#13 /home/u557025463/domains/creativegardeners.co.uk/public_html/wp-includes/rest-api/class-wp-rest-server.php(1041): WP_REST_Server->respond_to_request()
#14 /home/u557025463/domains/creativegardeners.co.uk/public_html/wp-includes/rest-api.php(551): WP_REST_Server->dispatch()
#15 /home/u557025463/domains/creativegardeners.co.uk/public_html/wp-includes/rest-api.php(2918): rest_do_request()
#16 [internal function]: rest_preload_api_request()
#17 /home/u557025463/domains/creativegardeners.co.uk/public_html/wp-includes/block-editor.php(750): array_reduce()
#18 /home/u557025463/domains/creativegardeners.co.uk/public_html/wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload()
#19 /home/u557025463/domains/creativegardeners.co.uk/public_html/wp-admin/post.php(187): require(‘/home/u55702546…’)
#20 {main}
thrownHello,
We released a quick Beta update you can try to see if that helps.
Please enable the Beta update by following this:
https://rankmath.com/kb/version-control/#beta-updatesIf you are unable to see an update, please clear Rank Math’s transients from:
WP Dashboard > Rank Math > Status & Tools > Database Tools > Remove Rank Math Transients > Remove transientsPlease clear the caches, server, and WordPress after updating.
You can disable the Beta updates once you update to the latest version and if the issue is fixed.
We are here to assist. Thank you.
that worked. So I now have to use
1.0.216-beta all the time?Hello,
No, we will soon be releasing a stable release with the fix as well and your website should automatically upgrade to the latest version.
Appreciate your patience in the meantime.
The topic ‘Fatal error’ is closed to new replies.