Yoast SEO
[Plugin: WordPress SEO by Yoast] Search Page Title PHP notice/bug (2 posts)

  1. depi
    Posted 4 years ago #

    Hi there,

    I found a small issue in the plugin when the DEBUG mode is enabled.

    When I do a search for something that not exists on a page (try some random string) and DEBUG mode is enabled I get the following errors in the <title> tag:

    Notice: Trying to get property of non-object in /Users/depi/Sites/apps/zmeskanyhovor2/wp-includes/category-template.php on line 1079

    It happens when I use the %%searchphrase%% and the %%pagenumber%% tags in the title.

    Should be fixed though.



  2. Mathias Philippe
    Posted 4 years ago #

    I have the same on mine with %%searchphrase%%.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic