lennmedia / crisp-whmcs

Add Crisp to your WHMCS installation and chat live with your customers from your website.
GNU General Public License v3.0
2 stars 3 forks source link

PHP 8.1 / ionCube 12 Support #4

Closed macaws closed 1 year ago

macaws commented 1 year ago

Currently, the addon does not work when running WHMCS on PHP 8.1/ionCube 12. The following error is produced

`Whoops\Exception\ErrorException: The file /.../modules/addons/crisp/crisp.php encoded as type [1/71] cannot be decoded by this version of the ionCube Loader. in Unknown:0 Stack trace:

0 /.../vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError()

1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown()

2 {main}`

lennarttd commented 1 year ago

Hi macaws,

We are aware of this issue and expect to release a PHP 8.1 compatible version within 1-2 weeks.

notjoshmiles commented 1 year ago

Hi @lennarttd, any update on this?

lennarttd commented 1 year ago

Hi Josh. We expect to release an updated version including new functionality and PHP 8.1 support by end of next month. Thanks for your patience!

lennarttd commented 1 year ago

Hi guys. Just wanted to give you a heads up that the PHP 8.1 support has just been released with v2.12 🚀

notjoshmiles commented 1 year ago

Hey! Thanks for this - although this error seems to be showing in the Addon Modules page of WHMCS after replacing it image

lennarttd commented 1 year ago

Updated downloads for v2.12 including encodings for both PHP 7.x and PHP 8.x versions.