Okay
  Public Ticket #1953075
error codes
Closed

Comments

  • xenophonstrategies started the conversation

    Hello, my website, summerbyrail.com, is having error messages that read:

    Notice: is_singular 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.0.) in /home/content/a2pewpnaspod04_data01/21/41755921/html/wp-includes/functions.php on line 4667

    throughout the site when it is loaded through a browser or even on Wordpress. When I switched my site to a default browser it worked so I think it is an issue with the Salient theme. I would appreciate any help resolving this issue!

    Thank you!

    Xeno

  •  8,996
    Tahir replied

    Hey Again,

    Please see: https://aristath.github.io/blog/wp-hide-php-errors  .

    Could you try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

    Best


    ThemeNectar Support Team 

  • xenophonstrategies replied

    Hi, thanks so much for the suggestion! I tried the debugging but it didn't work. I also tried disabling the plugins and it still wasn't working. In the functions.php, this is where the error messages are pointing to something being wrong (i've attached an image below). Any ideas? 

    Thanks so much!

  • xenophonstrategies replied

    NEW UPDATE: I disabled the plugin "Better WordPress Minify" and that got rid of the first code error issues. But now I am getting this code on the website:

    Deprecated: The each() function is deprecated. This message will be suppressed on further calls in/home/content/a2pewpnaspod04_data01/21/41755921/html/wp-content/plugins/js_composer_salient/include/classes/core/class-vc-mapper.phpon line186

    I tried going in a rewriting the code using "foreach" and "as" instead of "each" but it isn't working still... 

  •  8,996
    Tahir replied

    Those are just warning and can be ignored. However have noted to look into this for upcoming updates. 

    Best


    ThemeNectar Support Team