• 4/27

    I am debugging a client website. The log shows this set of linktemplate errors pretty consistently I think this is producing 404 errors
    ++++++++++++++++++++++++++++++++++++++++++
    [28-Apr-2019 02:13:14 UTC] PHP Notice: Trying to get property ‘post_type’ of non-object in /home/sitename/wordpress/wp-includes/link-template.php on line 271
    [28-Apr-2019 02:13:14 UTC] PHP Notice: Trying to get property ‘post_name’ of non-object in /home/sitename/wordpress/wp-includes/link-template.php on line 273
    [28-Apr-2019 02:13:14 UTC] PHP Notice: Trying to get property ‘post_type’ of non-object in /home/sitename/wordpress/wp-includes/link-template.php on line 277
    [28-Apr-2019 02:13:14 UTC] PHP Notice: Trying to get property ‘hierarchical’ of non-object in /home/sitename/wordpress/wp-includes/link-template.php on line 279
    [28-Apr-2019 02:13:14 UTC] PHP Notice: Trying to get property ‘query_var’ of non-object in /home/sitename/wordpress/wp-includes/link-template.php on line 289
    [28-Apr-2019 02:13:14 UTC] PHP Notice: Trying to get property ‘post_type’ of non-object in /home/sitename/wordpress/wp-includes/link-template.php on line 294
    [28-Apr-2019 02:13:14 UTC] PHP Notice: Trying to get property ‘ID’ of non-object in /home/sitename/wordpress/wp-includes/link-template.php on line 295

    I have looked at the code but am not a coder so I am submitting this in the forum.

    • This topic was modified 5 years, 11 months ago by flyfisher842.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘link template issue’ is closed to new replies.