• If you access /wp-admin/ with no login and with WP_DEBUG=true you get these errors generated by Relevanssi:

    Notice: is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.) in /home/tours/public_html/wp-includes/functions.php on line 3622
    
    Notice: is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.) in /home/tours/public_html/wp-includes/functions.php on line 3622
    
    Notice: Trying to get property of non-object in /home/tours/public_html/wp-content/plugins/relevanssi/lib/search.php on line 23

    If Relevanssi is de-activated the errors go away.

    https://wordpress.org/plugins/relevanssi/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘"Notice: Trying to get property of non-object" and other errors’ is closed to new replies.