PHP fatal error after update to 1.4.1.1
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from Davide on September 25, 2023, 11:32After updating the plugin to the latest version (1.4.1.1) I'm getting the following error:
PHP Fatal error: Uncaught Error: Class 'Automattic\\WooCommerce\\Utilities\\OrderUtil' not found in /var/www/edizionisns.catbird.it/html/wp-content/plugins/woocommerce-currency-switcher/classes/woocs_hpos.php
I checked the PHP/WP/WC versions and they meet the requirements stated by the plugin:
WP 5.9.7 > 4.9.0
PHP 7.4.3 > 7.2
WC 6.2.2 > 3.6.0
After updating the plugin to the latest version (1.4.1.1) I'm getting the following error:
PHP Fatal error: Uncaught Error: Class 'Automattic\\WooCommerce\\Utilities\\OrderUtil' not found in /var/www/edizionisns.catbird.it/html/wp-content/plugins/woocommerce-currency-switcher/classes/woocs_hpos.php
I checked the PHP/WP/WC versions and they meet the requirements stated by the plugin:
WP 5.9.7 > 4.9.0
PHP 7.4.3 > 7.2
WC 6.2.2 > 3.6.0
Quote from Pablo Borysenco on September 25, 2023, 12:23Hello
What version of woocommerce are you using ?
Hello
What version of woocommerce are you using ?
Quote from Davide on September 25, 2023, 12:58As written above I am using WC 6.2.2
As written above I am using WC 6.2.2
Quote from Pablo Borysenco on September 26, 2023, 10:01Hello
Try in file - wp-content\plugins\woocommerce-currency-switcher\index.php - delete this code - https://c2n.me/4jq8xSq.png
and do a test
Hello
Try in file - wp-content\plugins\woocommerce-currency-switcher\index.php - delete this code - https://c2n.me/4jq8xSq.png
and do a test
Quote from Davide on September 26, 2023, 11:59I tried to comment line 83 in wp-content/plugins/woocommerce-currency-switcher/index.php and the result is that the plugin cannot be activated due to the following fatal error:
Fatal error: Uncaught Error: Class 'WoocsHpos' not found in /var/www/edizionisns.catbird.it/html/wp-content/plugins/woocommerce-currency-switcher/classes/woocs.php:64 Stack trace: #0 /var/www/edizionisns.catbird.it/html/wp-content/plugins/woocommerce-currency-switcher/index.php(168): WOOCS->__construct() #1 /var/www/edizionisns.catbird.it/html/wp-content/plugins/woocommerce-currency-switcher/index.php(189): WOOCS_STARTER->get_actual_obj() #2 /var/www/edizionisns.catbird.it/html/wp-admin/includes/plugin.php(2288): include_once('/var/www/edizio...') #3 /var/www/edizionisns.catbird.it/html/wp-admin/plugins.php(192): plugin_sandbox_scrape() #4 {main} thrown in /var/www/edizionisns.catbird.it/html/wp-content/plugins/woocommerce-currency-switcher/classes/woocs.php on line 64
I tried to comment line 83 in wp-content/plugins/woocommerce-currency-switcher/index.php and the result is that the plugin cannot be activated due to the following fatal error:
Fatal error: Uncaught Error: Class 'WoocsHpos' not found in /var/www/edizionisns.catbird.it/html/wp-content/plugins/woocommerce-currency-switcher/classes/woocs.php:64 Stack trace: #0 /var/www/edizionisns.catbird.it/html/wp-content/plugins/woocommerce-currency-switcher/index.php(168): WOOCS->__construct() #1 /var/www/edizionisns.catbird.it/html/wp-content/plugins/woocommerce-currency-switcher/index.php(189): WOOCS_STARTER->get_actual_obj() #2 /var/www/edizionisns.catbird.it/html/wp-admin/includes/plugin.php(2288): include_once('/var/www/edizio...') #3 /var/www/edizionisns.catbird.it/html/wp-admin/plugins.php(192): plugin_sandbox_scrape() #4 {main} thrown in /var/www/edizionisns.catbird.it/html/wp-content/plugins/woocommerce-currency-switcher/classes/woocs.php on line 64
Quote from Pablo Borysenco on September 26, 2023, 12:34Please drop me wp-admin+FTP access - https://share.pluginus.net/image/i20230222134241.png ->https://share.pluginus.net/image/i20230222134615.png
Please drop me wp-admin+FTP access - https://share.pluginus.net/image/i20230222134241.png ->https://share.pluginus.net/image/i20230222134615.png
Quote from Davide on September 26, 2023, 13:10Dear Pablo, thank you very much for your support but at the moment I cannot give any type of access to the server that hosts the website where I encountered the problem. This is a dev&test server where we test plugin updates before doing them in production. I understand that the problem is with the plugin and not with the specific WordPress installation so I prefer to wait for the new version of the plugin to be available.It seems to me that the plugin requires a minimum version of WooCommerce where the OrderUtils class is defined. I'm right?
Dear Pablo,
thank you very much for your support but at the moment I cannot give any type of access to the server that hosts the website where I encountered the problem.
This is a dev&test server where we test plugin updates before doing them in production.
I understand that the problem is with the plugin and not with the specific WordPress installation so I prefer to wait for the new version of the plugin to be available.It seems to me that the plugin requires a minimum version of WooCommerce where the OrderUtils class is defined. I'm right?Quote from Pablo Borysenco on September 27, 2023, 09:26Hello
Yes, you're right, a new version of the plugin with a fix will be released soon
But I recommend using the latest version woocommercce
Hello
Yes, you're right, a new version of the plugin with a fix will be released soon
But I recommend using the latest version woocommercce
Quote from admin on October 2, 2023, 11:25@davide-3
Hello
Update is done and fix is there
@davide-3
Hello
Update is done and fix is there
Quote from Davide on October 4, 2023, 18:08@realmag777 Thank you very much for alerting me to the availability of the update. Now it works perfectly.
@realmag777 Thank you very much for alerting me to the availability of the update. Now it works perfectly.