A PHP Error was encountered

Severity: Warning

Message: array_key_exists() expects parameter 2 to be array, bool given

Filename: controllers/ProductController.php

Line Number: 56

Backtrace:

File: /home/ugyismegveszel/public_html/back/app/controllers/ProductController.php
Line: 56
Function: array_key_exists

File: /home/ugyismegveszel/public_html/index.php
Line: 363
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/ugyismegveszel/public_html/back/system/core/Exceptions.php:283)

Filename: libraries/Product.php

Line Number: 1771

Backtrace:

File: /home/ugyismegveszel/public_html/back/app/libraries/Product.php
Line: 1771
Function: setcookie

File: /home/ugyismegveszel/public_html/back/app/controllers/ProductController.php
Line: 79
Function: addProductToLastViewed

File: /home/ugyismegveszel/public_html/index.php
Line: 363
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/ugyismegveszel/public_html/back/system/core/Exceptions.php:283)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/ugyismegveszel/public_html/back/app/models/Productmodel.php
Line: 524
Function: query

File: /home/ugyismegveszel/public_html/back/app/libraries/Product.php
Line: 1448
Function: getRelatedProducts

File: /home/ugyismegveszel/public_html/back/app/libraries/Product.php
Line: 1180
Function: getRelatedProducts

File: /home/ugyismegveszel/public_html/back/app/controllers/ProductController.php
Line: 85
Function: getParsedProductData

File: /home/ugyismegveszel/public_html/index.php
Line: 363
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND ptvo_product_id IS NULL' at line 12

SELECT * FROM sm_shop_related_products JOIN sm_shop_products ON product_id = rp_related_product_id LEFT JOIN sm_shop_product_to_variation_options ON ptvo_product_id = rp_related_product_id WHERE product_status = 1 AND product_trashed IS NULL AND ( ( product_stock > 0 OR product_stock_out > 0 ) OR ( product_stock_manager IS NULL ) ) AND rp_product_id = AND ptvo_product_id IS NULL

Filename: models/Productmodel.php

Line Number: 524