• Resolved Tevya

    (@thefiddler)


    First, thanks for the update to support Divi’s button’s settings! That’s a great addition.

    However, I’m seeing stuff in my debug log after the update. Here’s what I see (with edited paths for security):

    [31-Oct-2015 18:31:12 UTC] PHP Notice:  Undefined variable: button_text_style in /home/subdomain.cloudwaysapps.com/user/public_html/wp-content/plugins/surbma-divi-gravity-forms/surbma-divi-gravity-forms.php on line 50
    [31-Oct-2015 18:32:59 UTC] PHP Notice:  Undefined variable: button_text_style in /home/subdomain.cloudwaysapps.com/user/public_html/wp-content/plugins/surbma-divi-gravity-forms/surbma-divi-gravity-forms.php on line 50
    [31-Oct-2015 18:33:15 UTC] PHP Notice:  Undefined variable: button_text_style in /home/subdomain.cloudwaysapps.com/user/public_html/wp-content/plugins/surbma-divi-gravity-forms/surbma-divi-gravity-forms.php on line 50
    [31-Oct-2015 18:38:59 UTC] PHP Notice:  Trying to get property of non-object in /home/subdomain.cloudwaysapps.com/user/public_html/wp-content/themes/Divi/functions.php on line 7949
    [31-Oct-2015 18:38:59 UTC] PHP Notice:  Trying to get property of non-object in /home/subdomain.cloudwaysapps.com/user/public_html/wp-content/themes/Divi/functions.php on line 7949
    [31-Oct-2015 18:39:00 UTC] PHP Notice:  Undefined variable: button_text_style in /home/subdomain.cloudwaysapps.com/user/public_html/wp-content/plugins/surbma-divi-gravity-forms/surbma-divi-gravity-forms.php on line 50
    [31-Oct-2015 18:39:41 UTC] PHP Notice:  Undefined variable: button_text_style in /home/subdomain.cloudwaysapps.com/user/public_html/wp-content/plugins/surbma-divi-gravity-forms/surbma-divi-gravity-forms.php on line 50
    [31-Oct-2015 18:39:56 UTC] PHP Notice:  Undefined variable: button_text_style in /home/subdomain.cloudwaysapps.com/user/public_html/wp-content/plugins/surbma-divi-gravity-forms/surbma-divi-gravity-forms.php on line 50
    [31-Oct-2015 18:41:12 UTC] PHP Notice:  Undefined variable: button_text_style in /home/subdomain.cloudwaysapps.com/user/public_html/wp-content/plugins/surbma-divi-gravity-forms/surbma-divi-gravity-forms.php on line 50
    [31-Oct-2015 18:41:36 UTC] PHP Notice:  Undefined variable: button_text_style in /home/subdomain.cloudwaysapps.com/user/public_html/wp-content/plugins/surbma-divi-gravity-forms/surbma-divi-gravity-forms.php on line 50
    [31-Oct-2015 18:41:49 UTC] PHP Notice:  Trying to get property of non-object in /home/subdomain.cloudwaysapps.com/user/public_html/wp-content/themes/Divi/functions.php on line 7949
    [31-Oct-2015 18:41:49 UTC] PHP Notice:  Trying to get property of non-object in /home/subdomain.cloudwaysapps.com/user/public_html/wp-content/themes/Divi/functions.php on line 7949
    [31-Oct-2015 18:41:50 UTC] PHP Notice:  Undefined variable: button_text_style in /home/subdomain.cloudwaysapps.com/user/public_html/wp-content/plugins/surbma-divi-gravity-forms/surbma-divi-gravity-forms.php on line 50
    [31-Oct-2015 18:43:06 UTC] PHP Notice:  Undefined variable: button_text_style in /home/subdomain.cloudwaysapps.com/user/public_html/wp-content/plugins/surbma-divi-gravity-forms/surbma-divi-gravity-forms.php on line 50

    I haven’t tried disabling this plugin, to see if the Divi “non-object” errors go away. But I did bring those to ET’s attention and they said they thought it was another plugin, since they can’t reproduce it. So, it’s possible those ones that reference Divi’s functions.php are caused by something else, but as you can see, they seem to happen right along with the Surbma errors.

    https://ww.wp.xz.cn/plugins/surbma-divi-gravity-forms/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Surbma

    (@surbma)

    Hi Tevya,

    thank you for letting me know about this error! It is not a fatal error, but everything should be fixed. 🙂

    New version has pushed in the repo, you can update the plugin now in your admin area.

    The “non-object” errors are not related to this plugin, as the mentioned function is calling shortcodes. However it can be caused by another plugin. The best you can do is to deactivate all plugins and see, if the error is still there. Than you can activate plugins one-by-one to catch the guilty plugin.

    Thread Starter Tevya

    (@thefiddler)

    Okay. Thanks much for fixing it!

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

The topic ‘Undefined variable error on new version’ is closed to new replies.