Hello guys i have installed opencart4 and i notice in error logs i have some type errors
TypeError: Opencart\Catalog\Model\Catalog\Review::getTotalReviewsByProductId(): Argument #1 ($product_id) must be of type int, string given in /www/Store/catalog/model/catalog/review.php on line 24
TypeError: Opencart\Catalog\Model\Catalog\Information::getLayoutId(): Argument #1 ($information_id) must be of type int, string given in /Store/catalog/model/catalog/information.php on line 16
TypeError: Opencart\Catalog\Model\Catalog\Product::getLayoutId(): Argument #1 ($product_id) must be of type int, string given in Store/catalog/model/catalog/product.php on line 343
any recommendation?
Thank in advance
Well, the only advise could be, to better download this Version, and use it 'til OC v.4.x is ready for Production:
https://github.com/opencart/opencart/tr ... aintenance
The latest v.4.x Release can be found here, but it's still not ready to really be called a final 'production' Release:
https://github.com/opencart/opencart
define('VERSION', '4.0.2.0')
https://github.com/opencart/opencart/tr ... aintenance
The latest v.4.x Release can be found here, but it's still not ready to really be called a final 'production' Release:
https://github.com/opencart/opencart
define('VERSION', '4.0.2.0')
Last edited by IP_CAM on Wed Apr 12, 2023 9:08 pm, edited 2 times in total.
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: No registered users and 1 guest