Home>Support>Undefined function siteorigin_panels_setting()

Undefined function siteorigin_panels_setting()

By fiorita, 8 years ago. Last reply by fiorita, 8 years ago.

I have this line when I try to go to my website fiorita.cz :

Call to undefined function siteorigin_panels_setting() in /www/doc/www.fiorita.cz/www/wp-content/plugins/siteorigin-panels/siteorigin-panels.php on line 50

How can I fix the problem if I cannot enter the admin dashboart for the very same reason?

Please help!!!

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, 8 months ago fiorita

    So, the code is

    line 47 * Initialize the Page Builder.
    48 */
    49 function siteorigin_panels_init(){
    50 $bundled = siteorigin_panels_setting(‘bundled-widgets’);
    51 if( !$bundled ) return;
    52
    53 if( !defined(‘SITEORIGIN_PANELS_LEGACY_WIDGETS_ACTIVE’) && ( !is_admin() || basename($_SERVER[“SCRIPT_FILENAME”]) != ‘plugins.php’) ) {
    54 // Include the bundled widgets if the Legacy Widgets plugin isn’t active.
    55 include plugin_dir_path(__FILE__).’widgets/widgets.php’;
    56 }
    57 }
    58 add_action(‘plugins_loaded’, ‘siteorigin_panels_init’);

    it works perfecly well on my other websites

    Fiorita

  2. 8 years, 8 months ago fiorita

    I had to switch off all the plugins through FTP and then switch them back on one by one. And guess what? The website works (although poorly, without proper grid and not showing certain elements wothin the grid) UNTIL I switch om the Page Builder 2.2.2. Then, when I activate the PB, the site crashes including WP admin panel, so I have to go back to FTP and start the mess all over again.

    I’ve spent hundreds of hours building the site and now it looks like crap due to the plugin unexpected failure. Please help!!!

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