Title: PHP Warning
Last modified: January 24, 2024

---

# PHP Warning

 *  Resolved [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-warning-473/)
 * Hi,
 * I see this on a WP latest and PHP 8.2.13
 * [23-Jan-2024 09:05:08 UTC] PHP Warning: Attempt to read property “ID” on null
   in /home/public_html/wp-content/plugins/autodescription/inc/classes/meta/description/
   excerpt.class.php on line 229
 * Any ideas what it can be? Woo Commerce installed and nothing else.
 * Thanks

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

 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-warning-473/#post-17371451)
 * Hi Dimal,
 * Thanks for reporting this.
 * The warning can trigger when WordPress requests a post that doesn’t exist. But
   this shouldn’t be possible.
 * Do you know what page triggers this warning message?
 * I suspect it’s either `/shop/` or a page in the checkout sequence from this feature:
   [https://woo.com/document/woocommerce-pages/](https://woo.com/document/woocommerce-pages/).
 * Are some of those settings under “Page setup” left unassigned?
    [https://woo.com/wp-content/uploads/2012/09/woocommerce-page-setup.png](https://woo.com/wp-content/uploads/2012/09/woocommerce-page-setup.png)
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-warning-473/#post-17371628)
 * There was “Terms and conditions” unassigned and i fixed it.
 * Let’s see if this goes away (it is happening once per week or 10 days…).
 * Thanks for pointing this out.
 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-warning-473/#post-17372312)
 * Cheers 🙂
 * I tested it myself, and any 404 response will emit the error. I’ll fix it with
   the upcoming update slated for next Tuesday.
 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-warning-473/#post-17380905)
 * Hi [@dimalifragis](https://wordpress.org/support/users/dimalifragis/),
 * Quick question: At “WP Admin > Settings > Reading,” next to “Your homepage displays,”
   have you selected “A static page” but without assigning an (existing) page to“
   Homepage”?
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-warning-473/#post-17381357)
 * Hi, no the Home IS set to a Static page and set to a page.
 * The Posts Page below is to –Select.
 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-warning-473/#post-17384383)
 * Thank you. I had the luxury of having a site exactly like that, emitting the 
   same error but then automatically tracing to the cause.
 * I just [fixed your scenario](https://github.com/sybrew/the-seo-framework/commit/6db5b319e2f1fe897edb8be63017c55f462c1ec2#diff-f0fdb4aad517673483d78fa672280467af590fb50ae6bcef37ca747109d36c95R496-R497).
   
   I also [fixed the “quick question” scenario above](https://github.com/sybrew/the-seo-framework/commit/44dbfc465fbd734a6327a9a6f068079608ff0fe6#diff-f0fdb4aad517673483d78fa672280467af590fb50ae6bcef37ca747109d36c95R797).
 * The fixes will launch today 🙂 Thanks for your input!
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-warning-473/#post-17384429)
 * Thank you.

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

The topic ‘PHP Warning’ is closed to new replies.

 * ![](https://ps.w.org/autodescription/assets/icon.svg?rev=3000376)
 * [The SEO Framework – Fast, Automated, Effortless.](https://wordpress.org/plugins/autodescription/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autodescription/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autodescription/)
 * [Active Topics](https://wordpress.org/support/plugin/autodescription/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autodescription/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autodescription/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [dimal](https://wordpress.org/support/users/dimalifragis/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/php-warning-473/#post-17384429)
 * Status: resolved