• Hi! Thank you for your plugin. I use it in several websites and it is doing a great job!

    Anyway I ran a test for php7 compatibility, since I need to move to a new server and I got several issues with your plugin.

    Are you planning an update to make it php7 compliant shortly or should I consider a new plugin?

    Thanks
    mirko

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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 7 years, 10 months ago by Diego.
    • This reply was modified 7 years, 10 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).

    Thread Starter acmemediakits

    (@acmemediakits)

    Thank you Diego for your answer.
    Good to know php7 is supported

    Take care
    mirko

    Plugin Author Diego

    (@daigo75)

    You’re welcome. ??

    Thread Starter acmemediakits

    (@acmemediakits)

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘php7 compatibility’ is closed to new replies.