link template issue
-
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 295I have looked at the code but am not a coder so I am submitting this in the forum.
- The topic ‘link template issue’ is closed to new replies.