Site logo

Archived topic

What is this strange code message?

9 replies · Started by George on May 5, 2016

Viewing posts 1–10 of 10

This shows up in the WP admin section on my site with GP:
Warning: Creating default object from empty value in /home2/shamak/public_html/test/wp-content/plugins/gp-premium/addons/generate-blog/functions/customizer.php on line 20

Warning: Creating default object from empty value in /home2/shamak/public_html/test/wp-content/plugins/gp-premium/addons/generate-blog/functions/customizer.php on line 21

Any idea what this means?

Hi there,

Are you using the latest version of GP (1.3.29) and GP Premium (1.2.82)?

If not, updating should fix those warnings.

Yes, I am using the most up to date versions.

Just looked into the message some more, it's basically saying a component in the free theme is missing.

Are you sure GeneratePress (the theme) is activated?

Yes, GP is activated, as well as GP Premium, both the latest version.

Hmm, I don't see the message anymore. Then I switched to another theme, and the warning popped up again. Then I switched back to GP, and now I don't see the warning anymore. So I cannot consistently duplicate the warning messages. They seem to show up sometimes and then disappear. I can send you the login, however I cannot point you to a place where the messages show up consistently. Do you still want the login? This is only a test site where I am playing around to figure out how to use GP.

That warning will show up if GeneratePress isn't the active theme, as GP Premium is checking for something in the theme. If it's not there, the warning will display.

I'm releasing a patch today for GP Premium, I'll add a little check in there so it won't show up even if GP isn't the active theme.

Thanks Tom.

No problem - thanks for reporting :)

This archived topic is closed to new replies.