Plugins stop working after upgrade to cPanel & WHM version 76

Islandhosting

Member
May 15, 2015
23
4
53
Canada
cPanel Access Level
Root Administrator
Twitter
After upgrading from 74.x to 76.x this morning, third party plugins are failing with "Child failed to make LIVEAPI connection to cPanel." Some of these are our own custom plugins (both PHP and Perl) and some are from third parties (including the Cloudflare plugin).

A reinstall of the plugins doesn't help. Restarting cpsrvd doesn't help.

Any thoughts?
 

WebworxAus

Registered
Nov 14, 2017
1
0
1
Australia
cPanel Access Level
DataCenter Provider
We are having exactly the same issue with the cloudflare plugin only on a server that was updated to 76.0.4 today.
We are also having issues with connecting from WHMCS to cpanel. The API is failing with the following in the logs.
{"cpanelresult":{"apiversion":"2","error":"Access denied","data":{"reason":"Access denied","result":"0"},"type":"text"}}

Clicking "login to cPanel" in clients product from whmcs we get:
cPanel API Response: Access denied

Testing connection in the Servers setup in WHMCS where we specify the API key etc results in:
FAILED: Array

Any thoughts would be appreciated.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,225
463
Hello Everyone,

In cPanel & WHM version 76, we upgraded the PHP version used for cPanel & WHM (cpsrvd) from PHP 5.6 to PHP 7.2:

Implemented case CPANEL-22332: Update cPanel internal PHP to upstream version 7.2.7

As part of this change, a different ionCube Loader version is utilized. This change requires plugin developers to publish updates to their plugins that include files re-encoded with the newer ionCube version. Otherwise, the plugin will fail to load and generate error messages like this in /usr/local/cpanel/logs/error_log upon the upgrade to cPanel & WHM version 76:

Code:
PHP Fatal error:  The file /usr/local/cpanel/whostmgr/docroot/cgi/plugin-name/index.php was encoded by the ionCube Encoder for PHP 5.6 and cannot run under PHP 7.1 or later.
Here's a list of third-party cPanel & WHM plugins known to be affected by this issue along with any available workaround instructions:

Softaculous
Workaround: Upgrade Softaculous to version Softaculous 5.1.0. If the issue persists, see the additional workaround instructions on the following page:
Softaculous 5.1.0 Released

CloudFlare
Workaround: Reinstall the CloudFlare plugin using the instructions at:
Child failed to make LIVEAPI connection to cPanel · Issue #174 · cloudflare/Cloudflare-CPanel

WHMAMP
Workaround: Reinstall the plugin using the instructions at:
WHMAMP: Web Host Manager Alpha Master Plugin

AutoInstall SSL - No workaround available at this time.
Restore Manager - No workaround available at this time.
rvglobalsoft - No workaround available at this time.
xvarnish - No workaround available at this time.
ilabs_antimalware - No workaround available at this time.
WebDefender - No workaround available at this time.
CatcheWall- No workaround available at this time.
I'll monitor the status of this issue in each plugin and update this post with more information as it becomes available.

Thank you.
 
Last edited:

mr_xero

Member
Nov 13, 2018
5
0
1
Dhaka
cPanel Access Level
Root Administrator
Hello,

I want to know that is there any way to change WHM internal PHP 7.2 to 5.6?
Cachewall plugin's dashboard not working with latest version of PHP.

Cachewall plugin required Ioncube loader PHP 5.6

Please need urgent concern.
 

Lee Mason

Registered
Nov 13, 2018
1
0
1
UK
cPanel Access Level
Root Administrator
Same here, loved the plugin until now when i cant access any of the settings via the ui.

Id prefer to hear from the cachewall team to release an ioncube 10 release over going backwards with cpanel version though.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,225
463
@mr_xero, @Lee Mason - I've moved your posts into this thread and added CacheWall to the list of plugins that require an update from it's developers. In some cases, reinstalling the plugin addresses the issue, but ultimately developers must update their plugins to support the new PHP/IonCube Loader versions.

Thank you.
 

Wabun

Well-Known Member
Oct 6, 2012
89
5
8
Antwerpen
cPanel Access Level
Root Administrator
Why the hell is this not UPFRONT discussed and mentioned before so we all got time to prepare and disable such foolish cpanel updates. cPanel when are you going to listen to yuor customers and fix issues instead of introducing breaking features!!!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,225
463
Hi @Wabun,

We sent out information and reminders regarding this change to our Plugin developers mailing list, however it's up to the individual third-party plugin developer to implement changes based on the information that's sent out. Can you let me know which particular third-party plugin is not working on your system in version 76? I'll reach out to the individual third-party plugin developer to check on the status of their plugin in cPanel & WHM version 76 and see if they have any updates planned to solve the problem.

Thank you.
 

3awh

Active Member
Sep 1, 2008
37
1
58
WWW
Is there any fix yet I started getting this error : Child failed to make LIVEAPI connection to cPanel.
When clicking on the Cloudflare link.
I reinstalled Cloudflare Didn't work
I'm assuming Cloudflare didn't update their plugin for 7.2?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,225
463