PHP Warning: Attempt to read property “comment_count” on null in
-
Running on PHP 8.2 and have noticed that we keep getting the same PHP warning in our error logs each day.
PHP Warning: Attempt to read property “comment_count” on null in /wp-includes/general-template.php on line 3195
The above error normally occurs about 3 or 4 times each day, and not sure if this error relates to a WordPress core issue, or whether it could be something related to one of our plugins?
Have also tried the website on lower versions of PHP, PHP 8.1 and PHP 8.0, and the warning still exists.
If anybody has any ideas or suggestions, that would be very helpful.
Kind Regards,
Andy
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP Warning: Attempt to read property “comment_count” on null in’ is closed to new replies.