Probably-not-important PHP Notice
-
This is probably nothing, but while trying to clean my site from errors and warnings, this notice came up several times. I thought it might interest you, and that you might be able to tell if it’s future proof to completely ignore it.
PHP Notice
POST /wp-admin/post.php
Trying to get property ‘ID’ of non-object
Dec 31st, 2020, 08:42:38 UTC$page = array_map( 'strval', (array) $page ); if ( in_array( (string) $page_obj->ID, $page, true ) ) { return true; } elseif ( in_array( $page_obj->post_title, $page, true ) ) { return true;STACKTRACE
PHP Notice Trying to get property ‘ID’ of non-object
/home/asafdevc/public_html/wp-includes/class-wp-query.php:4027 WP_Query::is_page
/home/asafdevc/public_html/wp-includes/class-wp-query.php:3980 WP_Query::is_privacy_policy
/home/asafdevc/public_html/wp-includes/query.php:536 is_privacy_policy
/home/asafdevc/public_html/wp-content/plugins/query-monitor/collectors/conditionals.php:86 QM_Collector_Conditionals::process
/home/asafdevc/public_html/wp-content/plugins/query-monitor/classes/Collectors.php:60 QM_Collectors::process
/home/asafdevc/public_html/wp-content/plugins/query-monitor/classes/Dispatcher.php:75 QM_Dispatcher::get_outputters
/home/asafdevc/public_html/wp-content/plugins/query-monitor/dispatchers/Redirect.php:34 QM_Dispatcher_Redirect::filter_wp_redirect
/home/asafdevc/public_html/wp-includes/class-wp-hook.php:287 WP_Hook::apply_filters
/home/asafdevc/public_html/wp-includes/plugin.php:212 apply_filters
/home/asafdevc/public_html/wp-includes/pluggable.php:1257 wp_redirect
/home/asafdevc/public_html/wp-admin/includes/post.php:2034 redirect_post
/home/asafdevc/public_html/wp-admin/post.php:234 [main]
The topic ‘Probably-not-important PHP Notice’ is closed to new replies.