[wp-trac] [WordPress Trac] #46420: Warnings on front-end when trying to display the archive for a non-existent term of a custom taxonomy
WordPress Trac
noreply at wordpress.org
Tue May 14 08:12:09 UTC 2019
#46420: Warnings on front-end when trying to display the archive for a non-existent
term of a custom taxonomy
-------------------------------------------------+-------------------------
Reporter: zaantar | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.3
Component: Taxonomy | Version: 5.1
Severity: minor | Resolution:
Keywords: good-first-bug has-patch needs- | Focuses: template
testing |
-------------------------------------------------+-------------------------
Comment (by zaantar):
Replying to [comment:3 truchot]:
> It seems to fix your case.
>
> Needs testing :)
The particular issue is gone but I am seeing more notices caused by the
problem in a different place:
{{{
Notice: Trying to get property of non-object in /var/www/html/wp-includes
/general-template.php on line 1599
}}}
Also, the same thing happens in the Twenty Nineteen theme:
{{{
Notice: Trying to get property of non-object in /var/www/html/wp-
content/themes/twentynineteen/inc/template-functions.php on line 90
}}}
Do you want me to open separate tickets for these?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46420#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list