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!!!
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
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!!!