Could you find out the solution? I have the same problem but being stuck at version 4.5.6, saying it is the last version and up to date.
Workaround:
If you mark out line 6 in header.php it works.
/**$avia_config[‘use_standard_lightbox’] = empty( avia_get_option( ‘lightbox_active’ ) ) || ( ‘lightbox_active’ == avia_get_option( ‘lightbox_active’ ) ) ? ‘lightbox_active’ : ‘disabled’;
* Allow to overwrite the option setting for using the standard lightbox
* Make sure to return ‘disabled’ to deactivate the standard lightbox – all checks are done against this string
*
* @added_by Günter
* @since 4.2.6
* @param string $use_standard_lightbox ‘lightbox_active’ | ‘disabled’
* @return string ‘lightbox_active’ | ‘disabled’
*/
$avia_config[‘use_standard_lightbox’] = apply_filters( ‘avf_use_standard_lightbox’, $avia_config[‘use_standard_lightbox’] );
Hello,
I have the same error message:
Fatal error: Can’t use function return value in write context in /var/www/web96/html/cms/wp-content/themes/enfold/header.php on line 6
With ftp I deleted the Enfold folder and uploaded the newest version, but still the same error message.
Can you please post the solution,
Thx,
Andreas