Attempt to read property “taxonomy” on null | WP_Error::$taxonomy
-
Hi there,
I’m getting a lot of PHP Warnings related to WordPress SEO in my PHP error logs. There are two types of warnings generated:
PHP Warning: Attempt to read property “taxonomy” on null
and
PHP Warning: Undefined property: WP_Error::$taxonomyThere is usually one of the first type and then four of the second. Below is an example:
[29-Jul-2022 16:47:27 UTC] PHP Warning: Attempt to read property "taxonomy" on null in /home/abookandacpanel/public_html/wp-content/plugins/wordpress-seo/src/helpers/current-page-helper.php on line 489 [29-Jul-2022 16:47:27 UTC] PHP Warning: Undefined property: WP_Error::$taxonomy in /home/abookandacpanel/public_html/wp-content/plugins/wordpress-seo/src/presentations/indexable-term-archive-presentation.php on line 151 [29-Jul-2022 16:47:27 UTC] PHP Warning: Undefined property: WP_Error::$taxonomy in /home/abookandacpanel/public_html/wp-content/plugins/wordpress-seo/src/presentations/indexable-term-archive-presentation.php on line 176 [29-Jul-2022 16:47:27 UTC] PHP Warning: Undefined property: WP_Error::$taxonomy in /home/abookandacpanel/public_html/wp-content/plugins/wordpress-seo/src/presentations/indexable-term-archive-presentation.php on line 182 [29-Jul-2022 16:47:27 UTC] PHP Warning: Undefined property: WP_Error::$taxonomy in /home/abookandacpanel/public_html/wp-content/plugins/wordpress-seo/src/presentations/indexable-term-archive-presentation.php on line 210
I already downloaded the Yoast Test Helper and performed the following:
Reset Indexables tables & migrations
Reset Prominent words calculation
Reset Internal link counterI then performed an SEO Data Optimization. However, the problem is still persisting
What can I do to make these warnings go away?
Thanks in advance!
The page I need help with: [log in to see the link]
- The topic ‘Attempt to read property “taxonomy” on null | WP_Error::$taxonomy’ is closed to new replies.