• Hi

    We just wanted to know if the latest version of this plugin is tested and compatible with PHP 7. There were some errors when we tested with the compatibility plugin but they might be false positives. Thanks

    Jared

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WebCodin

    (@webcodin)

    Hi Jared,

    We’ve tested our plugin for PHP7 and everything is working properly, however you can have warning “INI directive ‘mbstring.internal_encoding’ is deprecated from PHP 5.6″ for following file:

    – ./vendor/oyejorge/less.php/lib/Less/Parser.php

    This is file from third-party library /”oyejorge/less.php” (https://github.com/oyejorge/less.php), that used in the plugin.We’re not able to change source code of this library, because we’ll have issues with updates of this library for future.

    Also you can have error “Extension ‘mysql_’ is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 – use mysqli instead.” for following file:

    – ./vendor/agp/agp-core/src/classes/Database/MySqlDb.php

    This file is a part of core library of our plugin. We use it for other projects on PHP below 7 version where “mysql_” is not deprecated yet. So we’re not able change or remove this code now. However, we want to note, that module (MySqlDb.php) is not used within this plugin, so this error is “potential” and will not occur.

    In case if you have other issues, please send additional information about it.

    Thread Starter jjshih

    (@jjshih)

    Thanks for the information. We’ll see how it goes

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Compatibility with PHP 7’ is closed to new replies.