PHP Notices in line 86 of clearscope-plugin.php
-
On installing the plugin, the following PHP Notice is logged.
Notice: Trying to get property ‘ID’ of non-object in /wp-content/plugins/clearscope/clearscope-plugin.php on line 86
The error occurs in the
is_loadable
function of that file.global $post; $post_type = get_post_type($post->ID);
Suggest updating this with a check to make sure the user is on a post related admin page because this error will happen on any admin page that is not related to a post
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP Notices in line 86 of clearscope-plugin.php’ is closed to new replies.