• Resolved johnny538

    (@johnny538)


    PHP Notice: Undefined variable: labelStyle in /home/user/public_html/wp-content/plugins/buttonizer-multifunctional-button/classes/Button.php on line 626

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Buttonizer

    (@buttonizer)

    Hi Johny,

    Thank you for this feedback and PHP error. If you can send your support request to [email protected] we can have a closer look how this error ended up in your site. In the meantime we will have a look in our code so we can debug this issue :).

    Cheers,

    Jeroen – Buttonizer

    Thread Starter johnny538

    (@johnny538)

    Did you have time to look yet ? I’m still getting this and it’s for every page view. So my logs are flooded with these notices.

    Plugin Author Buttonizer

    (@buttonizer)

    Hi Johnny,

    As this is just a notice from PHP for a missing variable, you are able to disable these notices. I will tell you how to disable these notices for now. In the following update, the code you add now, will be automatically removed when we roll out the new version of Buttonizer.

    Put inside the /wp-content/plugins/buttonizer/buttonizer.php on top of the file the following code:

    ini_set('error_reporting', E_ERROR);
    error_reporting(E_ERROR);

    This means it wil only show and log the real PHP errors, but won’t show the notices of variables that are missing. So as I am right, it won’t flood your logs anymore.

    Let me know if this is a good temporarely solution.

    – Jasper

    Thread Starter johnny538

    (@johnny538)

    I’ll wait for the update. I’d rather not make changes to these files.

    Thread Starter johnny538

    (@johnny538)

    Updated today but unfortunately this error persists. And an additional one has appeared: Notice: Undefined index: page in /var/www/html/wp-content/plugins/buttonizer-multifunctional-button/classes/Admin/Admin.php on line 121

    I know these are notices and are harmless, but they are quite annoying. Shouldn’t be hard to fix…

    Plugin Author Buttonizer

    (@buttonizer)

    Hi Johnny,

    Sorry, the last update was for fixing some other problems.

    I’ll fix your notices today and update the plugin tomorrow!

    – Jasper

    Thread Starter johnny538

    (@johnny538)

    Thanks ! I appreciate that.

    Plugin Author Buttonizer

    (@buttonizer)

    Good morning Johnny,

    The plugin has been updated. Would you like to update and check if the notices are gone?

    – Jasper

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘php notice’ is closed to new replies.