Home>Support>Creating a Custom Widget

Creating a Custom Widget

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

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. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 6 months ago Alex S
    Hi, I Work Here

    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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More