ionCube Fatal Decoding Errors

Problem

You see the following error:

Fatal error: The file /home/username/public_html/whmcs/modules/gateways/ewayuk.php was encoded by the ionCube Encoder for PHP 5.3 and cannot run under PHP 7.0. Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 5.6. in Unknown on line 0

Cause

This error indicates a PHP version encoding error due to outdated file for a previous WHMCS version.

This issue may initially display as a blank or partially-formatted page.

Solution

To resolve this error:

  1. In your preferred FTP client, go to the location that displays in the error message (in the above example, /home/username/public_html/whmcs/modules/gateways/).
  2. Delete the file that displays in the error message (in this example, ewayuk.php).
  3. Reload the page.
  4. If reloading displays the same error for a different file, repeat this process for each file until the page loads correctly.

Last modified: May 28, 2024