Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Plugins stop working after upgrade to cPanel & WHM version 76

Discussion in 'cPanel Developers' started by Islandhosting, Nov 7, 2018.

  1. Islandhosting

    Islandhosting Member

    Joined:
    May 15, 2015
    Messages:
    14
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    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?
     
  2. WebworxAus

    WebworxAus Registered

    Joined:
    Nov 14, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  3. Takumi80

    Takumi80 Member

    Joined:
    Nov 7, 2015
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Milan
    cPanel Access Level:
    Root Administrator
    Have the same Issue for Cloudflare plugin
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,555
    Likes Received:
    2,182
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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:

    I'll monitor the status of this issue in each plugin and update this post with more information as it becomes available.

    Thank you.
     
    #4 cPanelMichael, Nov 8, 2018
    Last edited: Nov 13, 2018
  5. Islandhosting

    Islandhosting Member

    Joined:
    May 15, 2015
    Messages:
    14
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    Canada
    cPanel Access Level:
    Root Administrator
    Twitter:
    That's it... plugins were encoded using ionCube for PHP 5.6. Reencoding our internal plugins and contacting third parties for updates. Thanks!
     
    cPanelMichael likes this.
  6. mr_xero

    mr_xero Registered

    Joined:
    Nov 13, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  7. Lee Mason

    Lee Mason Registered

    Joined:
    Nov 13, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  8. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,555
    Likes Received:
    2,182
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    @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.
     
  9. Wabun

    Wabun Well-Known Member

    Joined:
    Oct 6, 2012
    Messages:
    89
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    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!!!
     
  10. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,555
    Likes Received:
    2,182
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
  11. 3awh

    3awh Active Member

    Joined:
    Sep 1, 2008
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    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?
     
  12. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,555
    Likes Received:
    2,182
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice