A PHP Error was encountered

Severity: Warning

Message: Undefined array key 0

Filename: controllers/Home.php

Line Number: 60

Backtrace:

File: /home/unisports/domains/unitedsportsemporium.com/public_html/application/controllers/Home.php
Line: 60
Function: _error_handler

File: /home/unisports/domains/unitedsportsemporium.com/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Trying to access array offset on value of type null

Filename: controllers/Home.php

Line Number: 60

Backtrace:

File: /home/unisports/domains/unitedsportsemporium.com/public_html/application/controllers/Home.php
Line: 60
Function: _error_handler

File: /home/unisports/domains/unitedsportsemporium.com/public_html/index.php
Line: 315
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 MariaDB server version for the right syntax to use near '' at line 1

SELECT subcategories.*, categories.category_name FROM subcategories left join categories on categories.id = subcategories.category WHERE (subcategories.status = 0 AND categories.status = 0) AND subcategories.category =

Filename: models/Product_model.php

Line Number: 32