I created a plugin in WordPress and then encrypted it using IonCube 11.0.1, after running this plugin in my website I got this error (My PHP version is 7.4, The Ioncube version installed on my server is 11.0.1):
Fatal error: This version of ionCube Loader cannot decode file /home/bestelement/public_html/wp-content/plugins/best-element/best-element-codes.php encoded to type [1/74] . At unknown line 0
Do you know how I can solve this problem?
This may be caused by one of the following reasons:
1- There is a ionCube loader version mismatch between your plugin and your web server.
2- The web server's PHP version is too old or too new.
Assuming that your web server may be using the latest version of ionCube, you must check the ionCube versions on your local machine and check if they match. If this doesn't help, then change the PHP version on your web server (downgrading will do the trick in most cases) (or ask your host to do this) and find out which PHP version works for you.