-
All worked fine on my Elementor site until a few hours ago. All the pages on my site give a critical error with the exception of the home page and the blog posts.
This is my main business site and I have forced it into maintenance mode.
I have contacted Elementor and they believe it’s from your plugin. Also, when I deactivate the plugin, all works fine.
Uncaught TypeError: Cannot access offset of type string on string in /home/techievh/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-frontend.php:73
Stack trace:Here is the full error
================There has been a critical error on this website.
Learn more about troubleshooting WordPress.
Uncaught TypeError: Cannot access offset of type string on string in /home/techievh/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-frontend.php:73
Stack trace:
#0 [internal function]: RankMathSchemaFrontend->RankMathSchema{closure}()
#1 /home/techievh/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-frontend.php(74): array_filter()
#2 /home/techievh/public_html/wp-includes/class-wp-hook.php(308): RankMathSchemaFrontend->add_schema()
#3 /home/techievh/public_html/wp-includes/plugin.php(256): WP_Hook->apply_filters()
#4 /home/techievh/public_html/wp-content/plugins/seo-by-rank-math/includes/traits/class-hooker.php(102): apply_filters_ref_array()
#5 /home/techievh/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php(150): RankMathSchemaJsonLD->do_filter()
#6 /home/techievh/public_html/wp-includes/class-wp-hook.php(308): RankMathSchemaJsonLD->json_ld()
#7 /home/techievh/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#8 /home/techievh/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
#9 /home/techievh/public_html/wp-content/plugins/seo-by-rank-math/includes/traits/class-hooker.php(88): do_action_ref_array()
#10 /home/techievh/public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/class-head.php(156): RankMathFrontendHead->do_action()
#11 /home/techievh/public_html/wp-includes/class-wp-hook.php(308): RankMathFrontendHead->head()
#12 /home/techievh/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#13 /home/techievh/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#14 /home/techievh/public_html/wp-includes/general-template.php(3043): do_action()
#15 /home/techievh/public_html/wp-content/themes/hello-elementor/header.php(21): wp_head()
#16 /home/techievh/public_html/wp-includes/template.php(783): require_once(‘/home/techievh/…’)
#17 /home/techievh/public_html/wp-includes/template.php(718): load_template()
#18 /home/techievh/public_html/wp-includes/general-template.php(48): locate_template()
#19 /home/techievh/public_html/wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php(9): get_header()
#20 /home/techievh/public_html/wp-includes/template-loader.php(106): include(‘/home/techievh/…’)
#21 /home/techievh/public_html/wp-blog-header.php(19): require_once(‘/home/techievh/…’)
#22 /home/techievh/public_html/index.php(17): require(‘/home/techievh/…’)
#23 {main}
thrown
The ticket ‘URGENT: Critical Error from Rank Math’ is closed to new replies.