Jump to content
EvolveWebHosting

cPanel Application Links and Critical Error

Recommended Posts

Using WHMCS 7.7.1 and cPanel v80.0.18 and I'm getting the following error when clicking any of the application links from within cPanel. The username is filled in on the admin side and Single Sign On is turned on within the clients account.

Critical Error

Instance-Of Container cannot be redefined

We do use an add on from SupportPal but I don't think that's the issue here since none of the links back to billing, placing orders, etc work either. Has anyone else run into this issue? I saw one community post about it with no reply.

Share this post


Link to post
Share on other sites

Hi @EvolveWebHosting,

We've seen this error caused by various after-market customisations several times, and once by changing the server hostname (on the server) after activating Application Links.

 

May I suggest disabling Application Links, and then trying to re-activate it. Keep an eye on the log for any errors.

If it re-enables successfully without error, and the problem persists, then the next step would be to remove after-market customisations one-by-one until the problem stops.

 

 

 

Share this post


Link to post
Share on other sites

Hi @WHMCS John,

Thanks for the quick response. I've disabled the links and then re activated them which hasn't fixed them. Unfortunately, nothing in the logs.

The only customization I had that I thought might cause this is the SupportPal add on but it's only for support and knowledgebase. All links are showing this error (billing, order, etc).

I may need to open a support ticket with you guys and let you investigate.

Share this post


Link to post
Share on other sites

Hi @EvolveWebHosting,

Before contacting technical support, please try removing all customisations present on your installation as these can often change the way WHMCS operates.
These are typically located in the /includes/hooks and /modules/ directories.

If this resolves the issue, you can add them back one-by-one until the problem begins again - at which point you have identified the troublesome customisation and can contact the vendor directly for assistance resolving the problem in their code.

If the problem persists with all addons removed, then please do open a support ticket and we can investigate further.

Share this post


Link to post
Share on other sites
1 hour ago, DennisHermannsen said:

Was this ever resolved? I've tried disabling Application Links, disable all hooks and then enable Application Links again, but I still get the same error.

It hasn't been. I have learned that even when you de activate an addon, it's likely still executing the hook(s).

Share this post


Link to post
Share on other sites
On 1/12/2020 at 4:19 PM, EvolveWebHosting said:

It hasn't been. I have learned that even when you de activate an addon, it's likely still executing the hook(s).

Generally if you re-name a module it will disable it until re-named back e.g change:

/modules/addons/custommodule/

to:

/modules/addons/custommodule1/

That should disable it until you re-name it back.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated