ZC 1.5.5f
PHP 7.1.33
MySQL 5.7.23-23
Square 0.97
I've got a cron job that runs on odd numbered days to refresh OAuth. It's been running quietly for months. A bit over a week ago, it's been triggering the following error:
I've verified that the cron is running PHP 7.1.33.Code:[19-Dec-2019 00:00:02 America/Los_Angeles] PHP Fatal error: Uncaught Error: Class 'square' not found in /*****/********/public_html/mystoredomain/square_handler.php:21 Stack trace: #0 {main} thrown in /*****/********/public_html/mystoredomain/square_handler.php on line 21
My host changed how they serve up PHP on December 17 that bumped the PHP version my cart used to 7.3, which triggered numerous errors/warnings. I went into the control panel and backed PHP down to 7.1.33. I've been getting the cron triggered errors since then.
I haven't done any significant changes to the cart in this time frame. Square payments are being processed normally.
I would appreciate any thoughts and suggestions on how to fix this.


Reply With Quote
