4. Extensions : Fatal error: The file /.../.../... was encoded by the ionCube Encoder for PHP 5.x an

Problem

The following error is caused by PHP version upgrade on the server. At the time the extensions were installed, they were encoded for specific version of PHP. Now that it has changed, it can not read the files anymore.

Fatal error: The file /var/www/.....VTEStore/models/Module.php was encoded by the ionCube Encoder for PHP 5.6 and cannot run under PHP 7.1 or later. Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 7.1. in Unknown on line 0

Solution

Here’s how to fix this:

  1. Rename all VTE Extension folders in /your_vtiger_folder/modules/. For example, if you have /modules/VTEStore/ you rename VTEStore to VTEStore2, etc... You need to do it for VTE Extensions only.

  2. Download extension pack install from: https://www.vtexperts.com/premium/instructions/

  3. Install extension pack on your vtiger

  4. Upgrade all extensions to latest version. Here's how:https://www.vtexperts.com/helpdesk/vtiger-extension-pack-upgrade-extension/

Last updated