WordPress.org

Ready to get started?Download WordPress

Forums

PHP Code Widget
[resolved] php notices (3 posts)

  1. AlexLakes
    Member
    Posted 3 years ago #

    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!

  2. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 3 years ago #

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

  3. AlexLakes
    Member
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic