Hi, I am having an issue whereby the SiteOrigin Widgets Bundle is empty (I was looking to activate the Contact widget). On my localhost, I am able to see the widgets in SiteOrigin Widgets Bundle however, on the server, this is empty in all tabs.
From the server, I can still see the page content for an imported page created with SiteOrigin Page Builder. Only the Contact widget is labelled as missing. If the SiteOrigin Widgets Bundle is empty, I am not able to activate the Contact widget.
My current setup is WordPress 4.7.4 on Google App Engine (Standard Environment) with Google Cloud SQL instance.
Let me know if you need more information or screenshots, would gladly provide them to resolve this issue.
I’ve seen a previous post having this issue but there hasn’t been any resolution to that.
Hi Bangwei,
Preface: Just to confirm, WP AdminPluginsSiteOrigin Widgets is empty, right?
Can you please enable WP_DEBUG and check if there’s an error message on that page. This will require editing wp-config.php. If there’s an error message, pelase send it to me.
if there isn’t, can you try disabling all non-SiteOrigin plugins and see if this fixes the issue? You’ll need to clear all your caches after disabling your plugins.
If it does fix the issue, then try re-enabling your plugins one by one until the issue comes back. This procedure will help diagnose which plugin is causing the issue.
Once we know that, we’ll be able to look at what might be causing the conflict and either solve the problem or help you find an alternative plugin.
If you aren’t using a SiteOrigin theme, then you can also try temporarily switching to one of the default WordPress themes to see if the issue is theme related.
Hey there!
I found the solution to this issue. As I am using Google App Engine which uses remote file storage, PHP glob function does not support remote files and hence glob function calls will always return an empty array.
The solution:
I found a post by ahmadpriatama that talked about a similar issue in AWS.
https://github.com/aws/aws-sdk-php/issues/556
By using his glob emulation function and modifying the so-widgets-bundle.php to call that custom glob function, I was able to see the widgets again in the WP Admin > Plugins > SiteOrigin Widgets page.
As of this fix, I am using SiteOrigin Widgets Bundle 1.8.2. So if you are using a later version, hopefully SiteOrigin would have this fix by then.
Hi Bangwei,
Thanks for letting me know the solution. I’m going to log this as a bug and we’ll look to resolve this soon.