PHP Notice: Trying to get property ‘base’ of non-object
-
Hello there,
I got a log in debug file:
PHP Notice: Trying to get property ‘base’ of non-object in ../public_html/wp-content/plugins/dracula-dark-mode/includes/functions.php on line 329
This part of code:
if ( function_exists( ‘get_current_screen’ ) ) {
$current_screen = get_current_screen();
if ( $current_screen->base == ‘post’ && empty($current_screen->is_block_editor) ) {
return true;
}
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP Notice: Trying to get property ‘base’ of non-object’ is closed to new replies.