Plugin Author
Diego
(@daigo75)
The plugin itself has always been compatible with PHP 7, ever since we wrote it. One of the external libraries it uses was not compatible, so we updated it in version 1.6.10.161104, using a PHP 7-compatible version. That update was released in November 2016.
As of today, the EU VAT Assistant should work fine with PHP 7. If you run a plugin to test the compatibility, you might get a few warnings about deprecated class constructors, but you can ignore them. They warnings are still related to en external library that the plugin uses, and they refer to code that is no longer used. The affected library is going to be updated by its maintained to remove those warnings, they will disappear over time.
-
This reply was modified 9 years, 5 months ago by
Diego.
-
This reply was modified 9 years, 5 months ago by
Diego.
Plugin Author
Diego
(@daigo75)
For completeness, here’s a summary of the report for the PHP7 compatibility check.
The warnings and errors indicated in it are all false positives, as the affected code won’t run on PHP 5 and higher. Also, note that they all refer to the PHP NuSOAP library, even though we use a PHP7-compatible version of that library.
INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4.
Found in:
– /vendor/codecasts/nusoap-php7/lib/class.soap_transport_http.php
The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found ‘$HTTP_SERVER_VARS’
Found in:
– /vendor/codecasts/nusoap-php7/lib/class.wsdl.php
– /vendor/codecasts/nusoap-php7/lib/class.soap_server.php
As I mentioned in my previous reply, you can ignore these warnings. The plugin should work fine with PHP 7 (it runs smoothly on our PHP 7 servers).
Thank you Diego for your answer.
Good to know php7 is supported
Take care
mirko
Hi Diego.
I upgraded to PHP7 and I can confirm your plugin is working fine.
Take care
Plugin Author
Diego
(@daigo75)
Thanks for the confirmation. I reckon that the code that triggers false positive will be removed in the future (it’s to support PHP 4, which is beyond obsolete). It will be just a matter of time.