-
Hi! We’re having an issue on one of our websites, where we are receiving this error:
[24-Oct-2023 23:29:12 UTC] PHP Fatal error: Uncaught TypeError: Illegal offset type in isset or empty in /sites/mcgrathwidebay.com.au/files/web/app/plugins/seo-by-rank-math/includes/class-user.php:46
Stack trace:
#0 /sites/mcgrathwidebay.com.au/files/web/app/plugins/seo-by-rank-math/includes/class-user.php(66): RankMath\User::get()
#1 /sites/mcgrathwidebay.com.au/files/web/app/plugins/seo-by-rank-math/includes/opengraph/class-opengraph.php(111): RankMath\User::get_meta()
#2 /sites/mcgrathwidebay.com.au/files/web/app/plugins/seo-by-rank-math/includes/opengraph/class-opengraph.php(83): RankMath\OpenGraph\OpenGraph->_title()
#3 /sites/mcgrathwidebay.com.au/files/web/app/plugins/seo-by-rank-math/includes/opengraph/class-facebook.php(185): RankMath\OpenGraph\OpenGraph->get_title()
#4 /sites/mcgrathwidebay.com.au/files/web/wp/wp-includes/class-wp-hook.php(310): RankMath\OpenGraph\Facebook->title()
#5 /sites/mcgrathwidebay.com.au/files/web/wp/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#6 /sites/mcgrathwidebay.com.au/files/web/wp/wp-includes/plugin.php(565): WP_Hook->do_action()
#7 /sites/mcgrathwidebay.com.au/files/web/app/plugins/seo-by-rank-math/includes/traits/class-hooker.php(88): do_action_ref_array()
#8 /sites/mcgrathwidebay.com.au/files/web/app/plugins/seo-by-rank-math/includes/opengraph/class-opengraph.php(74): RankMath\OpenGraph\OpenGraph->do_action()
#9 /sites/mcgrathwidebay.com.au/files/web/wp/wp-includes/class-wp-hook.php(310): RankMath\OpenGraph\OpenGraph->output_tags()
#10 /sites/mcgrathwidebay.com.au/files/web/wp/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#11 /sites/mcgrathwidebay.com.au/files/web/wp/wp-includes/plugin.php(565): WP_Hook->do_action()
#12 /sites/mcgrathwidebay.com.au/files/web/app/plugins/seo-by-rank-math/includes/traits/class-hooker.php(88): do_action_ref_array()
#13 /sites/mcgrathwidebay.com.au/files/web/app/plugins/seo-by-rank-math/includes/frontend/class-head.php(172): RankMath\Frontend\Head->do_action()
#14 /sites/mcgrathwidebay.com.au/files/web/wp/wp-includes/class-wp-hook.php(310): RankMath\Frontend\Head->head()
#15 /sites/mcgrathwidebay.com.au/files/web/wp/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#16 /sites/mcgrathwidebay.com.au/files/web/wp/wp-includes/plugin.php(517): WP_Hook->do_action()
#17 /sites/mcgrathwidebay.com.au/files/web/wp/wp-includes/general-template.php(3053): do_action()
#18 /sites/mcgrathwidebay.com.au/files/web/app/themes/mcgrath-theme/header.php(29): wp_head()
#19 /sites/mcgrathwidebay.com.au/files/web/wp/wp-includes/template.php(785): require_once('...')
#20 /sites/mcgrathwidebay.com.au/files/web/wp/wp-includes/template.php(720): load_template()
#21 /sites/mcgrathwidebay.com.au/files/web/wp/wp-includes/general-template.php(48): locate_template()
#22 /sites/mcgrathwidebay.com.au/files/web/app/themes/mcgrath-theme/archive-listing.php(58): get_header()
#23 /sites/mcgrathwidebay.com.au/files/web/wp/wp-includes/template-loader.php(106): include('...')
#24 /sites/mcgrathwidebay.com.au/files/web/wp/wp-blog-header.php(19): require_once('...')
#25 /sites/mcgrathwidebay.com.au/files/web/index.php(6): require('...')
#26 {main}I’m not sure what would be causing this 🙁 any ideas?
The link in question is this one:
The ticket ‘Fatal Error in class-user.php on line 46’ is closed to new replies.