Attempt to read property “ID” on bool
-
We have been monitoring a recently launched site using New Relic for PHP Errors and Warnings. One of the most common warnings increasing our user Frustration rate is a warning from Yoast. Attempt to read property “ID” on bool. in do_shortcode called at /wp-content/plugins/wordpress-seo/admin/ajax/class-shortcode-filter.php (35). I found multiple support forums that had similar issues and offered fixes such as changing the site in Yoast from an Organization to a Person then back. That was supposed to get rid of a call to get user ID but that did not seem to work. Some people in forums also say you can manually change a value in the database so Yoast isn’t calling get ID on a lookup for user 0 but the PHP warning remains. Can you offer any suggestions about how to get rid of this warning?
The page I need help with: [log in to see the link]
- The topic ‘Attempt to read property “ID” on bool’ is closed to new replies.