Hello,
I’ve been trying to use the SiteOrigin Widget Bundle framework to create a new widget and I keep getting a fatal error from the /wp-includes/widgets.php file. This either happens immediately when activating the new plugin or sometimes it doesn’t occur until enabling it on the SiteOrigin Widget Bundle ‘manage widgets’ screen. This error pretty much breaks the whole site until you disable the plugin by deleting or moving it from the plugins directory.
I figured I may have done something wrong initially so I downloaded and installed the so-dev-bundle examples from github: https://github.com/siteorigin/so-dev-examples
Here is a copy of the exact error I’m getting:
Fatal error: Class ‘SiteOrigin_Widget_HelloWorldWidget_Widget’ not found in /var/www/salvado.re/wp-includes/widgets.php on line 560
This was tested on:
– Clean install of WordPress 4.1
– Using the Twenty Fifteen Theme
With only the following plugins installed and activated:
– Black Studio TinyMCE Widget
– Page Builder by SiteOrigin
– SiteOrigin Widgets Bundle
– SiteOrigin Extend Widgets Bundle Plugin
My main interest is using the SiteOrigin Widget Bundle to write new widgets and extend the functionally of the Page Builder plugin. So any help to get this working would be greatly appreciated.
I’d also be happy to provide access to my host and wordpress install to debug this problem if need be.
Thanks in advance!
Figured out what was causing the error on my own and was going to submit an issue only to find someone found the same solution a few days ago. They also wrote a great explanation of the issue: https://github.com/siteorigin/docs/issues/3
So to fix the problem I downloaded the latest version of the widget bundle from the master branch on github and everything seems to be working now: https://github.com/siteorigin/so-widgets-bundle
Thanks for reporting Mark, apologies for the hassle. Glad to hear the guys have patched it for the next version.
Hi all, i’m new to the site, i have an issue with the SO Bundle widgets
After installation and activation, when i go to edit a page i get the following errors:
( ! ) Warning: sprintf(): Too few arguments in F:\wamp\www\web project\wine\wp-content\plugins\siteorigin-panels\inc\widgets.php on line 120
Call Stack
# Time Memory Function Location
1 0.0021 343104 {main}( ) ..\post.php:0
2 2.9868 35104416 include( ‘F:\wamp\www\web project\wine\wp-admin\edit-form-advanced.php’ ) ..\post.php:211
3 3.0930 36126520 require_once( ‘F:\wamp\www\web project\wine\wp-admin\admin-header.php’ ) ..\edit-form-advanced.php:400
4 3.1169 36161896 do_action( ) ..\admin-header.php:101
5 3.1170 36163424 call_user_func_array ( ) ..\plugin.php:496
6 3.1170 36163456 siteorigin_panels_admin_enqueue_scripts( ) ..\plugin.php:496
7 3.1238 36218744 apply_filters( ) ..\siteorigin-panels.php:269
8 3.1239 36221808 call_user_func_array ( ) ..\plugin.php:213
9 3.1239 36221840 siteorigin_panels_add_widgets_dialog_tabs( ) ..\plugin.php:213
10 3.1242 36224144 sprintf ( ) ..\widgets.php:120
I tried the suggestion above to download from github, same error, and it mentions in the plugins page that a new version is available for it 1.2.4 which is the one that is causing the error
I’m not sure if there is a conflict with another plugin.
Here are the list of plugins intalled that are enabled/disabled:
Advanced Code Editor (enabled)
Akismet (disabled)
Beaver Builder Plugin (Lite Version) (disabled)
Black Studio TinyMCE Widget (enabled)
Customizer Export/Import (disabled)
Google Maps Widget (enabled)
Hello Dolly (disabled)
Jetpack by WordPress.com (disabled)
MCE Table Buttons (enabled)
Meta Slider (enabled)
Page Builder by SiteOrigin (enabled)
Simple Custom CSS (enabled)
WP Google Maps (enabled)
Any suggestions please?
Thanks