We have prepared the store globally first and wanted to delete the demo items today.
Excerpt from the URL
route=catalog/product&user_token=xxxxxxxx
1. checkbox clicked to the left of Apple Cinema 30".
2. top right of product overview page "trash" clicked for delete.
Response page - error message:
Warning: googleshopping\Googleshopping::integer(): Argument #1 ($product_id) must be passed by reference, value given in /www/htdocs/w01ce98c/Online-Musikunterricht/system/library/googleshopping/googleshopping.php on line 583Warning: googleshopping\Googleshopping::integer(): Argument #1 ($product_id) must be passed by reference, value given in /www/htdocs/w01ce98c/Online-Musikunterricht/system/library/googleshopping/googleshopping.php on line 583Warning: googleshopping\Googleshopping::integer(): Argument #1 ($product_id) must be passed by reference, value given in /www/htdocs/w01ce98c/Online-Musikunterricht/system/library/googleshopping/googleshopping.php on line 583Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w01ce98c/Online-Musikunterricht/admin/controller/startup/error.php:34) in /www/htdocs/w01ce98c/Online-Musikunterricht/system/library/response.php on line 36
If we want to delete 2 or 3 items, the error message will be displayed 2 or 3 times accordingly.
What can we do now?
Does anyone have a solution?
Probably done and solved.
It may be that I have discovered the error.
The store runs with OpenCart version 3.0.3.8
I have changed the PHP version from 8.0 to 7.4. at the host in the server management.
After that I could - for whatever reason - delete the demo articles completely.
Do I now have to expect other restrictions because of the PHP version 7.4?
It may be that I have discovered the error.
The store runs with OpenCart version 3.0.3.8
I have changed the PHP version from 8.0 to 7.4. at the host in the server management.
After that I could - for whatever reason - delete the demo articles completely.
Do I now have to expect other restrictions because of the PHP version 7.4?
Yes, 3.x was not made for php-versions > 7.3.xLMP wrote: ↑Fri Jun 03, 2022 2:33 pm..
The store runs with OpenCart version 3.0.3.8
..
I have changed the PHP version from 8.0 to 7.4. at the host in the server management.
After that I could - for whatever reason - delete the demo articles completely.
Do I now have to expect other restrictions because of the PHP version 7.4?
And especially not for php 8.x !
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
See https://github.com/opencart/opencart/pull/10836 for a solution. However, there will probably be other issues with PHP 8. You can find some fixes in the 3.x branches on GitHub.
It also looks like you have display errors on. If your site is a live site you need to switch off displaying of errors.
You need make sure display errors in set to off in all 3 places. Your PHP settings, in system/config/default.php and in the settings. Not only can this cause minor notices and warnings to cause bigger errors, it can also be a security risk.
1. In your PHP settings make sure display_errors is set to Off. Use phpinfo() to check. It should be off by default, but there are lots of rubbish hosts out there.
2. In system/config/default.php set error_display to false.
3. In your OpenCart Setting on the server tab set Display Errors to No.
It also looks like you have display errors on. If your site is a live site you need to switch off displaying of errors.
You need make sure display errors in set to off in all 3 places. Your PHP settings, in system/config/default.php and in the settings. Not only can this cause minor notices and warnings to cause bigger errors, it can also be a security risk.
1. In your PHP settings make sure display_errors is set to Off. Use phpinfo() to check. It should be off by default, but there are lots of rubbish hosts out there.
2. In system/config/default.php set error_display to false.
3. In your OpenCart Setting on the server tab set Display Errors to No.
Who is online
Users browsing this forum: No registered users and 15 guests