Severity: Warning
Message: Missing argument 1 for Shop::cart_add()
Filename: controllers/shop.php
Line Number: 171
Severity: Notice
Message: Undefined variable: id
Filename: controllers/shop.php
Line Number: 173
Severity: Notice
Message: Undefined variable: id
Filename: controllers/shop.php
Line Number: 174
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/energywo/public_html/3Rsystem/core/Exceptions.php:185)
Filename: core/Common.php
Line Number: 439
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND active = 1' at line 1
SELECT * FROM products WHERE id = AND active = 1
Filename: /home/energywo/public_html/models/shop_model.php
Line Number: 371