Fatal error after pro update to 4.0.1 (Soliloquy)

hi,

thats weird because i did a reinstall allready. that was the first thing what i did…
so there was another error?

cheers

Hi @deranaloge,

It’s great that it is resolved now. We are still investigating compatibility between the theme and other plugins and will fix it if anything is found.

Thanks

Hi, I can report the same issue occured when updating from Pro 4.0.4 to 4.0.5. Installing 4.0.6 and the issue persists.

Thanks @rrhode for the code - edting the soliloquy plugin shortcode.php file as shown fixed the issue for us (for now).

hi,

i updated to the latest version and the error is back.
i deactivated the plugin, did a reinstall of the plugin still the same issue.
so will there be a fix?
i used @rrhode code for now. i need the site running.

thanks

Hello @deranaloge,

It’s good to know that you have applied the fix from the response above. Our developers are already investigating this as well.

Best Regards.

thanks. one more note:
the fix DOES work for the frontend, but in the backend the sliders does not show, there are several fatal errors on that pages where the slider shortcode is placed. sometimes i have to efresh the site 5 times before i can see the editor.
is there any fix soon?
cheers

I have the same error:

#0 /srv/users/usern/apps/username/public/wp-content/plugins/soliloquy/includes/global/shortcode.php(1847): Soliloquy_Shortcode->__construct()
#1 /srv/users/usern/apps/username/public/wp-content/plugins/soliloquy/includes/global/shortcode.php(1857): Soliloquy_Shortcode::get_instance()
#2 /srv/users/usern/apps/username/public/wp-content/plugins/soliloquy/soliloquy.php(452): require(’/srv/users/rikk…’)
#3 /srv/users/usern/apps/username/public/wp-content/plugins/soliloquy/soliloquy.php(398): Soliloquy->_get_sliders(true)
#4 /srv/users/usern/apps/username/public/wp-content/themes/pro/cornerstone/includes/elements/classic/_alternate/soliloquy.php(24): Soliloquy->get_sliders()
#5 /srv/users/usern/apps/username/public/wp-content/themes/pro/cornerstone/includes/classes/classic/elements/class-element-bas in /srv/users/usern/apps/username/public/wp-content/plugins/soliloquy/includes/global/shortcode.php on line 153

The code workaround won’t work for me, hoping for a fix;

Thanks for reporting, Stefan. I have replicated the issue in one of my test sites but Soliloquy works on others so there must be some server configuration that’s causing this.

Let me know if there’s anything i can do. I’m hoping this can get resolved soon.
I’m on pro Versie: 4.0.7 and i’m using a child theme.

I updated wp-rocket, and pro 4.06 to 4.07 before that (i have wp-rocket deactivated, didn’t help. I reinstalled soliloquy too, also didn’t help.)

Hi Stefan,

A few hours ago, we have released another version 4.0.8, it has some issues fixed already. Please update your theme to that version.
If you are still experiencing the same issues, please open a new ticket and provide login credentials for your site in a secure note to examine it further, including:

– WordPress Site URL & Login URL
– WordPress Admin username/password

To create a secure note, click the key icon underneath any of your posts.

Thanks

Reporting the same issue here on pro v 4.08. Are you guys running another update?

@rrhode I have this same issue - logged in a separate ticket - Fatal error: Soliloquy - where another user pointed me in the direction of your fix here.

I have added the code - but I’m still seeing the error. Please could you confirm if this is how it’s supposed to be added:

public function __construct() {
    
    if ( ! class_exists( 'Soliloquy_Common' ) && file_exists( ABSPATH . 'wp-content/plugins/soliloquy/includes/global/common.php' ) ) {
		require_once ABSPATH . 'wp-content/plugins/soliloquy/includes/global/common.php';

	// Load the base class object.
	$this->base   = Soliloquy::get_instance();
	$this->common = Soliloquy_Common::get_instance();

	// Register the main slider style.
	$this->stylesheets[] = array(
		'id'   => 'soliloquy-style-css',
		'href' => esc_url( add_query_arg( 'ver', $this->base->version, plugins_url( 'assets/css/soliloquy.css', $this->base->file ) ) ),
	);

	// Register main slider script.
	wp_register_script( $this->base->plugin_slug . '-script', plugins_url( 'assets/js/min/soliloquy-min.js', $this->base->file ), array( 'jquery' ), $this->base->version, true );

	// Load hooks and filters.
	add_shortcode( 'soliloquy', array( $this, 'shortcode' ) );
	add_filter( 'widget_text', 'do_shortcode' );

	add_action('wp_footer', array( $this, 'remove_no_js' ), 100 );

}

Many thanks in advance.

@markwest you did forget the closing }
with this it works:

	public function __construct() {

    if ( ! class_exists( 'Soliloquy_Common' ) && file_exists( ABSPATH . 'wp-content/plugins/soliloquy/includes/global/common.php' ) ) {
		require_once ABSPATH . 'wp-content/plugins/soliloquy/includes/global/common.php';
	}
	// Load the base class object.
	$this->base   = Soliloquy::get_instance();
	$this->common = Soliloquy_Common::get_instance();

Hi Everyone,

We’ve corrected this for the next version that we will release after looking into a few more potential issues.

Is that version 4.0.9?

Hi Alexander,

the Version 4.0.9 fixed the fatal crash with soliloquy. Thank you!
Btw. really really great update!

cheers

Hi Alexander,
i dont know what happened, but the error is back again. the update 4.0.9 does not fix the error.
can you investigate it?

thanks in advance

Same thing here. Updating didn’t do anything. https://prof-rauch-hs-regensburg.de/
I had to manually disable the plugin for the time being. Can you please take a look at this.
Thank you very much.

Can confirm, soliloqui is working (for me) with 4.0.9! (php7.4 and php8.0 tested)

my config : (here it does not work)

Server-Architektur Linux 2.6.32-openvz-042stab127.2-amd64 x86_64
Webserver nginx/1.19.6
PHP-Version 7.4.13 (Unterstützt 64bit-Werte)
PHP-SAPI fpm-fcgi
Erweiterung mysqli
Server-Version 10.2.17-MariaDB-10.2.17+maria~stretch
Client-Version mysqlnd 7.4.13

i also tried it nowq on a second server with this config, here it works:

Server-Architektur Linux 5.4.41-1-pve x86_64
Webserver Apache
PHP-Version 7.3.13 (Unterstützt 64bit-Werte)
PHP-SAPI cgi-fcgi
Erweiterung mysqli
Server-Version 5.7.25
Client-Version mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $