-
Hi there,
i can see in the error log that something are logged some PHP Fatal errors but it’s always the same one and i don’t know what’s wrong and how to fix it.[09-Apr-2021 13:36:22 UTC] PHP Fatal error: Uncaught TypeError: get_class(): Argument #1 ($object) must be of type object, bool given in /home/ayzulgoj/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirector.php:401
Stack trace:
#0 /home/ayzulgoj/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirector.php(401): get_class(false)
#1 /home/ayzulgoj/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirector.php(240): RankMath\Redirections\Redirector->get_current_object_type()
#2 /home/ayzulgoj/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirector.php(120): RankMath\Redirections\Redirector->from_cahce()
#3 /home/ayzulgoj/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirector.php(83): RankMath\Redirections\Redirector->flow()
#4 /home/ayzulgoj/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirections.php(81): RankMath\Redirections\Redirector->__construct()
#5 /home/ayzulgoj/public_html/wp-includes/class-wp-hook.php(292): RankMath\Redirections\Redirections->do_redirection(Object(WP))
#6 /home/ayzulgoj/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
#7 /home/ayzulgoj/public_html/wp-includes/plugin.php(551): WP_Hook->do_action(Array)
#8 /home/ayzulgoj/public_html/wp-includes/class-wp.php(763): do_action_ref_array('wp', Array)
#9 /home/ayzulgoj/public_html/wp-includes/functions.php(1291): WP->main('')
#10 /home/ayzulgoj/public_html/wp-blog-header.php(16): wp()
#11 /home/ayzulgoj/public_html/index.php(17): require('/home/ayzulgoj/...')
#12 {main}
thrown in /home/ayzulgoj/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirector.php on line 401How can i solve it?
Thanks a million
The ticket ‘PHP Fatal error in error log’ is closed to new replies.