Undefined variable error on new version
-
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 50I 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.
The topic ‘Undefined variable error on new version’ is closed to new replies.