Works great but for some reason adds is_search() warning when debug enabled
-
The error was triggered because conditional query tags like is_search() don’t work before the main query is established,
but the plugin was trying to use it during pre_get_posts which runs before the query flags are properly set.
The topic ‘Works great but for some reason adds is_search() warning when debug enabled’ is closed to new replies.