pietpetoors Posted 3 hours ago Share Posted 3 hours ago (edited) I used the service of Prestashop to help me upgrade from 1.7.8.7 to 8.2 . I use WebService to connect my accounting software to sync orders , stock and products with Prestashop. Prestashop upgraded my site to 8.2 and also upgraded the server php to 8.1.30 WebService was working 100% for several years on the old setup. After the upgrade everything was fine until the first sync between Accounting Software and Presta. All our products' names, short and long descriptions were deleted. All the data is still in the accounting software, Smart-It , but when I sync it does not write the data back to Prestashop and Webservice. My server support tried hard to help but says everything is fine on their side. For some reason it cannot write to Prestashop. Anyone encountered this before? Do you know what this is, was also one of the errors? connect() to unix:/var/www/vhosts/system/4x4direct.co.za/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client what is php-fpn.sock ? These are some of the errors and do not worry I changed the key. I've increased the max_children to 80. In terms of server capabilities, GET, POST, PUT, PATCH, DELETE and HEAD are supported. The 40 max_children was reached. There is also a PHP error seen in the PHP error log: [27-Nov-2024 20:00:44] WARNING: [pool 4x4direct.co.za] server reached max_children setting (40), consider raising it [27-Nov-2024 20:00:53] WARNING: [pool 4x4direct.co.za] child 29725 said into stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined method Attribute::getAttributes() in /var/www/vhosts/4x4direct.co.za/httpdocs/override/classes/WebserviceSpecificManagementSi.php:198" [27-Nov-2024 20:00:53] WARNING: [pool 4x4direct.co.za] child 29725 said into stderr: "Stack trace:" [27-Nov-2024 20:00:53] WARNING: [pool 4x4direct.co.za] child 29725 said into stderr: "#0 /var/www/vhosts/4x4direct.co.za/httpdocs/classes/webservice/WebserviceRequest.php(622): WebserviceSpecificManagementSiCore->manage()" [27-Nov-2024 20:00:53] WARNING: [pool 4x4direct.co.za] child 29725 said into stderr: "#1 /var/www/vhosts/4x4direct.co.za/httpdocs/webservice/dispatcher.php(98): WebserviceRequestCore->fetch()" [27-Nov-2024 20:00:53] WARNING: [pool 4x4direct.co.za] child 29725 said into stderr: "#2 {main}" [27-Nov-2024 20:00:53] WARNING: [pool 4x4direct.co.za] child 29725 said into stderr: " thrown in /var/www/vhosts/4x4direct.co.za/httpdocs/override/classes/WebserviceSpecificManagementSi.php on line 198" proxy_access_ssl_log:41.***.***.101 - EAE1AIMIZ46UGA6IT3H431PHKEGTEZJ1 [27/Nov/2024:17:41:58 +0200] "PUT /api/stock_availables/682 HTTP/1.1" 200 640 "-" "-" proxy_access_ssl_log:41.***.***.101 - EAE1AIMIZ46UGA6IT3H431PHKEGTEZJ1 [27/Nov/2024:17:41:59 +0200] "PUT /api/stock_availables/232 HTTP/1.1" 200 640 "-" "-" proxy_access_ssl_log:41.***.***.101 - EAE1AIMIZ46UGA6IT3H431PHKEGTEZJ1 [27/Nov/2024:17:41:59 +0200] "PUT /api/stock_availables/864 HTTP/1.1" 200 640 "-" "-" proxy_access_ssl_log:41.***.***.101 - EAE1AIMIZ46UGA6IT3H431PHKEGTEZJ1 [27/Nov/2024:17:41:59 +0200] "PUT /api/stock_availables/1570 HTTP/1.1" 200 643 "-" "-" proxy_access_ssl_log:41.***.***.101 - EAE1AIMIZ46UGA6IT3H431PHKEGTEZJ1 [27/Nov/2024:17:41:59 +0200] "PUT /api/stock_availables/1272 HTTP/1.1" 200 643 "-" "-" proxy_access_ssl_log:41.***.***.101 - EAE1AIMIZ46UGA6IT3H431PHKEGTEZJ1 [27/Nov/2024:17:42:00 +0200] "PUT /api/stock_availables/1122 HTTP/1.1" 200 643 "-" "-" proxy_access_ssl_log:41.***.***.101 - EAE1AIMIZ46UGA6IT3H431PHKEGTEZJ1 [27/Nov/2024:17:42:00 +0200] "PUT /api/stock_availables/1499 HTTP/1.1" 200 643 "-" "-" proxy_access_ssl_log:41.***.***.101 - EAE1AIMIZ46UGA6IT3H431PHKEGTEZJ1 [27/Nov/2024:17:42:01 +0200] "PUT /api/stock_availables/1071 HTTP/1.1" 200 641 "-" "-" proxy_access_ssl_log:41.***.***.101 - EAE1AIMIZ46UGA6IT3H431PHKEGTEZJ1 [27/Nov/2024:17:42:01 +0200] "PUT /api/stock_availables/1523 HTTP/1.1" 200 643 "-" "-" proxy_access_ssl_log:41.***.***.101 - EAE1AIMIZ46UGA6IT3H431PHKEGTEZJ1 [27/Nov/2024:17:42:01 +0200] "PUT /api/stock_availables/279 HTTP/1.1" 200 640 "-" "-" proxy_access_ssl_log:41.***.***.101 - R91TH6YKB6V2F8US4Q82SVMBY2FQGBEN [27/Nov/2024:14:08:48 +0200] "DELETE /api/categories/1069 HTTP/1.1" 404 238 "-" "-" proxy_access_ssl_log:41.***.***.101 - R91TH6YKB6V2F8US4Q82SVMBY2FQGBEN [27/Nov/2024:14:08:48 +0200] "DELETE /api/categories/1070 HTTP/1.1" 200 5 "-" "-" proxy_access_ssl_log:41.***.***.101 - R91TH6YKB6V2F8US4Q82SVMBY2FQGBEN [27/Nov/2024:14:08:48 +0200] "DELETE /api/categories/1111 HTTP/1.1" 200 5 "-" "-" proxy_access_ssl_log:41.***.***.101 - R91TH6YKB6V2F8US4Q82SVMBY2FQGBEN [27/Nov/2024:14:08:49 +0200] "DELETE /api/categories/1181 HTTP/1.1" 404 238 "-" "-" proxy_access_ssl_log:41.***.***.101 - R91TH6YKB6V2F8US4Q82SVMBY2FQGBEN [27/Nov/2024:14:08:49 +0200] "DELETE /api/categories/1182 HTTP/1.1" 404 238 "-" "-" Edited 3 hours ago by pietpetoors typo (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now