PHP Warning: Attempt to read property “ID” on null
-
Getting lots of these in a clients
debug.log
file:PHP Warning: Attempt to read property "ID" on null in .../wp-postratings/wp-postratings.php on line 90
Would suggest a check if
$post
is valid before using$post->ID
, thanks.line 90: $ratings_id = $post->ID;
Bug is triggered in
/wp-admin/admin-ajax.php
calls.WP-PostRatings 1.90
- The topic ‘PHP Warning: Attempt to read property “ID” on null’ is closed to new replies.