This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Creating a Custom Widget

9 years ago · Last reply by Alex S 9 years ago

Warnig Missing argument 1 for SiteOrigin_Widget::__construct(), called in /Applications/XAMPP/xamppfiles/htdocs/insurance-wp-local/wp-includes/class-wp-widget-factory.php on line 106 and defined in /Applications/XAMPP/xamppfiles/htdocs/insurance-wp-local/wp-content/plugins/so-widgets-bundle/base/siteorigin-widget.class.php on line 53

Warning: Missing argument 2 for SiteOrigin_Widget::__construct(), called in /Applications/XAMPP/xamppfiles/htdocs/insurance-wp-local/wp-includes/class-wp-widget-factory.php on line 106 and defined in /Applications/XAMPP/xamppfiles/htdocs/insurance-wp-local/wp-content/plugins/so-widgets-bundle/base/siteorigin-widget.class.php on line 53

Warning: Missing argument 1 for SiteOrigin_Widget::__construct(), called in /Applications/XAMPP/xamppfiles/htdocs/insurance-wp-local/wp-content/plugins/so-widgets-bundle/so-widgets-bundle.php on line 614 and defined in /Applications/XAMPP/xamppfiles/htdocs/insurance-wp-local/wp-content/plugins/so-widgets-bundle/base/siteorigin-widget.class.php on line 53

Warning: Missing argument 2 for SiteOrigin_Widget::__construct(), called in /Applications/XAMPP/xamppfiles/htdocs/insurance-wp-local/wp-content/plugins/so-widgets-bundle/so-widgets-bundle.php on line 614 and defined in /Applications/XAMPP/xamppfiles/htdocs/insurance-wp-local/wp-content/plugins/so-widgets-bundle/base/siteorigin-widget.class.php on line 53

These are the Errors i have been getting When trying to make a custom widget
I have structured my files in this exact same way. https://siteorigin.com/thread/creating-a-widget/

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Alex S Staff 9 years, 2 months ago

    Hi Michael,

    Ideally, I would recommend following the documentation over that thread as the documentation has been updated while that thread – according to the logs, has only been updated once. Please give this page a read:

    https://siteorigin.com/docs/widgets-bundle/getting-started/creating-a-widget/

    If this doesn’t work, can you please send me a copy of your widget so I can take a quick look over it?

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread