Title: PHP 8 Error
Last modified: January 15, 2023

---

# PHP 8 Error

 *  Resolved [Andrew1977](https://wordpress.org/support/users/andrew1977/)
 * (@andrew1977)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-8-error-29/)
 * After upgrading to PHP 8, we have noticed the following error:
 * PHP Warning: Attempt to read property “ID” on null in schema-and-structured-data-
   for-wp/output/function.php on line 285
 * Kind Regards,
 * Andrew

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-8-error-29/#post-16377287)
 * Sorry for the inconvenience. We have checked this scenario at our end but it’s
   not recurring on our end. Can you please let me know which Schema & Structured
   data Version you are using currently? Can you please update it to the latest 
   version 1.9.109 and let us know back if the issue is recurring the same or not?
 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-8-error-29/#post-16377647)
 * We have raised the GitHub ticket regarding this issue. We will fix this and get
   back to you with an update.
 * Here is the reference ticket to track the upates: [https://github.com/ahmedkaludi/schema-and-structured-data-for-wp/issues/1833](https://github.com/ahmedkaludi/schema-and-structured-data-for-wp/issues/1833)
 *  Thread Starter [Andrew1977](https://wordpress.org/support/users/andrew1977/)
 * (@andrew1977)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-8-error-29/#post-16378870)
 * Thanks [@magazine3](https://wordpress.org/support/users/magazine3/)
 * Kind Regards,
 * Andrew
 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-8-error-29/#post-16379863)
 * You’re welcome. We have fixed this issue in our latest update 1.9.109.1. Kindly
   update the plugin to the latest version and let us know back if you face the 
   same or not. So that we will assist you accordingly to resolve your issue.
 *  Thread Starter [Andrew1977](https://wordpress.org/support/users/andrew1977/)
 * (@andrew1977)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-8-error-29/#post-16380766)
 * Thanks again. Appreciate such a quick turn around with the fix. Have updated 
   to the latest version, and all seems good!
 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-8-error-29/#post-16380773)
 * Glad to hear it. We are marking this topic as resolved. If you have any otehr
   queries or issues further, Please reach us and create a new topic on it. So that
   we will assist you to resolve them.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘PHP 8 Error’ is closed to new replies.

 * ![](https://ps.w.org/schema-and-structured-data-for-wp/assets/icon-256x256.png?
   rev=1922284)
 * [Schema & Structured Data for WP & AMP](https://wordpress.org/plugins/schema-and-structured-data-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/schema-and-structured-data-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Magazine3](https://wordpress.org/support/users/magazine3/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/php-8-error-29/#post-16380773)
 * Status: resolved