Odd WP Plugin Error - Only on cPanel installs

Cityhues

Member
Jun 24, 2014
9
1
53
Alberta
cPanel Access Level
Root Administrator
I have solo cPanel installation (only myself on the VPS - which is hosted on AWS Lightsail). Have several wordpress sites on the server, for various personal projects.

Recently installed a new payment plugin that integrates with WooCommerce and is used to make payments in Kinesis currencies (Gold and Silver). I have been unable to get this plugin to function on any cPanel installation. But, oddly - the plugin functions properly for other users and I have tested it on other server platforms with success.

To test this, I spun up new test servers on AWS lightsail - including a Bitnami WP install and a Plesk install. I added a new test site (only WP+WooCommerce + Payment plugin) Tested. All good for those. The plugin worked properly.

I figured the issue must be with my main cPanel server - so to test, I spun up a new cPanel install on Lightsail - grabbed a trial cPanel lic and installed new site with only WP+WooCommerce + Payment plugin. Tested. - no go - same error as on my main cPanel server.

The error that occurs is a 500 internal server error - according to Devtools - The "post" call to the remote payment provider fails and Devtools reports 500 internal server error on admin-ajax.php. I am not seeing any log files that report this problem.

Based on this, I suspected that I may have an issue with mod_security so disabled that on my test domain. No luck. Same problem remains. Also thought I might have a php misconfiguration - but reinstalled php 8.1 (by EasyApache) and matched up php settings with the other (non cPanel) servers that the plugin worked on.

In an effort to resolve this issue - I upgraded to AlmaLinux8 - all good on upgrade - but problem persists.

I also reached out to the plugin developers - they cannot see any issue as it works on their platforms and for others.

At this point, I'm not sure where to go with this issue. This particular plugin is a "must have" for projects I have underway. Short of migrating to another platform, which I am not keen to do, I can't see a path forward.

Recap:
This failure DOES NOT occur on other new test platforms that I can spin up on AWS. (Bitnami+WP, Plesk)
This failure DOES occur on a new cPanel test install. (As well as my existing main cPanel server).
 
Last edited:

Cityhues

Member
Jun 24, 2014
9
1
53
Alberta
cPanel Access Level
Root Administrator
I don't believe the 500 error is coming from Apache. I'm picking it up in the DevTools display in the browser only.

Screenshot 2023-03-09 at 10.01.03 AM.png
and then generate the failure - nothing displays in the tail display.

(Note: Had to screenshot that code snippet above because I kept getting an "Oops! We ran into some problems. Please try again later." error trying to post here.

Screenshot 2023-03-09 at 9.38.47 AM.png