• WordPress 5.4 and 5.3.2
    wp-config.php: When I set define( 'WP_DEBUG', true );
    I received messages only on HOMEPAGE:

    Notice: Trying to get property ‘ID’ of non-object in /home/…/wp-includes/class-wp-query.php on line 3998

    Notice: Trying to get property ‘post_title’ of non-object in /home/…/wp-includes/class-wp-query.php on line 4000

    Notice: Trying to get property ‘post_name’ of non-object in /home/…/wp-includes/class-wp-query.php on line 4002

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Notice: Trying to get property ‘post_title’ of non-object’ is closed to new replies.