Odd WP Plugin Error - Only on cPanel installs
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).
-
Hey there! Is the 500 error coming from Apache? If so, do you see anything in the logs at /etc/apache2/logs/error_log while you reproduce this error on the system? 0 -
I don't believe the 500 error is coming from Apache. I'm picking it up in the DevTools display in the browser only. 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. 0 -
I'm not sure what could be leading to that. It might be best to create support ticket with our ream so we can troubleshoot that for you live on the system, since the issue is easy to reproduce. 0 -
Thanks for help. I have created a ticket. 0 -
Can you post the ticket number here so I can follow along? 0
Please sign in to leave a comment.
Comments
5 comments