File Cannot Be Decoded Errors

Problem

You see an error that resembles the following example:

The file /home/username/public_html/whmcs/modules/gateways/paypalexpress.php encoded as type [1/71] cannot be decoded by this version of the ionCube Loader. in Unknown on line 0

Cause

This error occurs because a file is not compatible with your version of ionCube Loader®.

This issue often happens after you upgrade PHP.

Solution

To resolve this issue:

  1. In your preferred FTP client, go to the location that appears in the error message. In the above example, this is /public_html/whmcs/modules/gateways/.
  2. Delete the file that appears in the error message. In this example, this is paypalexpress.php.
  3. In WHMCS, reload the affected page again.
  4. If you see another error for a different file, repeat the process for each file until the page loads correctly.
  • If the files are part of an outdated module, contact the vendor for an updated version.
  • You can scan for incompatible files by going to Utilities > System > PHP Version Compatibility.

Last modified: September 23, 2024