Zero Year in SEO Title of Archive List
-
I am experiencing an unusual problem with the SEO title displayed in the browser tab – in both Chrome and Firefox. We are running a child theme of Twenty Twenty Sixteen 2.4 (WordPress 5.7.1, Yoast 16.2 with date archives enabled and a title of Date/Separator/Site title specified), but the error still occurs when we switch off our child theme and run vanilla Twenty Sixteen.
If a full date (?/m=201901) is specified in the browser address bar, all is well and the month and year appear in the SEO Title in the browser tab. If just a year (/?m=2019) is specified, WordPress throws a PHP warning – Undefined index: 00 in /public/societies/cucrc/public_html/test/wp-includes/class-wp-locale.php on line 287 – and inserts a zero in the SEO Title rather than the year.
This is not a big deal, but it would be nice to get rid of those pesky PHP warnings!
The page I need help with: [log in to see the link]
- The topic ‘Zero Year in SEO Title of Archive List’ is closed to new replies.