• Resolved janon123

    (@janon123)


    Hi,

    My Debug log is flooded with the following PHP Warning:
    PHP Warning: A non-numeric value encountered in /public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(469) : eval()’d code on line 3

    When I inspected that file and line, this is the code:
    $result = eval( $code );

    This warning seems to kick in once a site visitor clicks on the WooCommerce Cart and/or Checkout pages.

    Can you advise on how I can correct this?

    Thanks in advance,

    Jane

Viewing 1 replies (of 1 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    This is an error with one of your snippets. You have a variable or value that is being treated as a number when it isn’t one.

    Unfortunately, without seeing the code, I can’t say more than that.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Warning: eval()’d code’ is closed to new replies.