Title: Warning under PHP 8
Last modified: December 6, 2023

---

# Warning under PHP 8

 *  [Antipole](https://wordpress.org/support/users/antipole/)
 * (@antipole)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/warning-under-php-8/)
 * Hi… since updating to PHP 8 I am seeing the following warning multiple times.
   I know PHP 8 is checking things more strictly.
 * Warning: Attempt to read property “ID” on null in /home/xxx/public_html/ovni-
   owners/wp-content/plugins/bbp-style-pack/includes/functions_unread.php on line
   161

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

 *  Plugin Author [Robin W](https://wordpress.org/support/users/robin-w/)
 * (@robin-w)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/warning-under-php-8/#post-17260428)
 * thanks, I’ll take a look
 *  Plugin Author [Robin W](https://wordpress.org/support/users/robin-w/)
 * (@robin-w)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/warning-under-php-8/#post-17260448)
 * so where are you seeing this?
 *  Thread Starter [Antipole](https://wordpress.org/support/users/antipole/)
 * (@antipole)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/warning-under-php-8/#post-17260892)
 * Not sure if this is what you are asking, but I have the trusty ‘Error Log Monitor’
   plugin installed, which displays in the backend errors from the PHP error log.
 *  Plugin Author [Robin W](https://wordpress.org/support/users/robin-w/)
 * (@robin-w)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/warning-under-php-8/#post-17260898)
 * I’d need to know in what circumstances this displays, ie ‘when you access this
   page with those conditions’
 *  Thread Starter [Antipole](https://wordpress.org/support/users/antipole/)
 * (@antipole)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/warning-under-php-8/#post-17267239)
 * Not been able to narrow this down yet. Have visited various forums checking the
   error log without seeing it. But error gets logged when I am not around – i.e
   through visits by other users.
 * I believe my site is now secure and have eliminated errors arising from bots 
   probing and trying to execute code.

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

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

 * ![](https://ps.w.org/bbp-style-pack/assets/icon-256x256.jpg?rev=2706563)
 * [bbp style pack](https://wordpress.org/plugins/bbp-style-pack/)
 * [Support Threads](https://wordpress.org/support/plugin/bbp-style-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/bbp-style-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bbp-style-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bbp-style-pack/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Antipole](https://wordpress.org/support/users/antipole/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/warning-under-php-8/#post-17267239)
 * Status: not resolved