• robbcapp

    (@robbcapp)


    Hello, love your plugin, and I am using the snippets for Paid Membership Pro plugins. The error logs are growing huge, and they all have the same error and on a different line number. Here is what I am getting. Any help would be totally appreciated.

    [05-Nov-2020 21:32:11 UTC] PHP Warning: Use of undefined constant ” – assumed ‘”’ (this will throw an Error in a future version of PHP) in /home/cphosting42015/public_html/orchiddigest/wp-content/plugins/code-snippets/php/snippet-ops.php(446) : eval()’d code on line 9

    Thanks,
    Robb

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • madmax4ever

    (@madmax4ever)

    Use Query Monitor plugin to check the PHP error execution pile.
    Mostly you’ll find one of your snippets (call on every page?) is the cause.
    Thanks to Query Monitor and the ability to activate/deactivate snippets, you’ll quickly find the culprit!

    Plugin Author Shea Bunge

    (@bungeshea)

    Hi @robbcapp,

    @madmax4ever is absolutely correct that this error is coming from one of your snippets. Query Monitor is an excellent way to determine which one this is coming from, or you could take a look at which ones are activated and see which one could have an undefined constant on line 9.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Warning: Use of undefined constant’ is closed to new replies.