I am trying to: Just make my solution work with 7.2
Link to a page where the issue can be seen: The site is now running in php 7.0 to make sure customers can use the website.
I expected to see: No error
Instead, I got:
FILE: /customers/5/b/6/m4arkitekter.dk/httpd.www/wp-content/plugins/layouts-customiser/library/toolset-site-installer/library/otgs/installer/includes/installer.class.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2465 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /customers/5/b/6/m4arkitekter.dk/httpd.www/wp-content/plugins/layouts-customiser/library/toolset-site-installer/installer/library/wordpress-importer/wordpress-importer.php
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
884 | ERROR | Indirect access to variables, properties and methods will be evaluated strictly in left-to-right order since PHP 7.0. Use curly braces to remove ambiguity.
I don't understand what you mean with - an old site. Every thing is updated - but I am having trouble updating Toolset.
If you need access to the site I would like to provide that.
I was looking for your debug info to confirm what plugins you are using on the site (it seems like you are using the old Layouts customiser integration plugin from the error message).
It is helpful—meaning we can provide quicker support—if you provide the debug info when you create a forum thread.
I'll set your next reply as private and I can look directly.
You may want to create a temporary admin user for me to use that you can later delete. And be sure to have a current backup of your site, even though I don't intend to make any changes other than possibly to temporarily add a backup plugin to take a snapshot of the site.
The error occurs on the plugin page when updating plugins, is that correct?
So I tried to go from php 7 to 7.2 after a PHP Compatibility check.
But I still have issues. This is waht I got:
JQMIGRATE: Migrate is installed, version 1.4.1
jquery.js?ver=1.12.4:2 Uncaught Error: Syntax error, unrecognized expression: {"status":"Nothing found"}
at Function.fa.error (jquery.js?ver=1.12.4:2)
at fa.tokenize (jquery.js?ver=1.12.4:2)
at fa.select (jquery.js?ver=1.12.4:2)
at Function.fa (jquery.js?ver=1.12.4:2)
at Function.a.find (jquery-migrate.min.js?ver=1.4.1:2)
at n.fn.init.find (jquery.js?ver=1.12.4:2)
at n.fn.init.a.fn.find (jquery-migrate.min.js?ver=1.4.1:2)
at a.fn.init.n.fn.init (jquery.js?ver=1.12.4:2)
at new a.fn.init (jquery-migrate.min.js?ver=1.4.1:2)
at n (jquery.js?ver=1.12.4:2)
I have deactivated the Genises template to see if that changed something. Still testing.
_function() is deprecated in /customers/5/b/6/m4arkitekter.dk/httpd.www/wp-content/plugins/php-code-widget/execphp.php on line 62 Warning: Cannot modify header information - headers already sent by (output started at /customers/5/b/6/m4arkitekter.dk/httpd.www/wp-content/plugins/php-code-widget/execphp.php:62) in /customers/5/b/6/m4arkitekter.dk/httpd.www/wp-admin/includes/misc.php on line 1126
I am lost here - really hope you can see a connection between the errors.
That error says the problem occurs with a plugin called PHP code widget, disable that plugin and the error should disappear (but so too, of course, will the plugin functionality).