• Resolved AlexLakes

    (@alexlakes)


    Hi Otto, I turned on debug mode to clean up my code and noticed a couple php notices. Not a big deal, but of course would love if it were clean.

    Notice: Undefined variable: post in /php-code-widget/execphp.php(44) : eval()’d code on line 2

    Notice: Undefined variable: post in /php-code-widget/execphp.php(44) : eval()’d code on line 28

    I love your plugin, BTW. It works for everything!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Those notices are coming from whatever code it is that you have in the widget, not from the widget itself.

    Thread Starter AlexLakes

    (@alexlakes)

    you are right indeed. Sorry ’bout that Otto. I didn’t think they were, but eventually found the cause in my code.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: PHP Code Widget] php notices’ is closed to new replies.