Severity: Notice
Message: Trying to get property 'id' of non-object
Filename: helpers/global_helper.php
Line Number: 240
Backtrace:
File: /home/wedduiou/surpriseplanner.in/application/helpers/global_helper.php
Line: 240
Function: _error_handler
File: /home/wedduiou/surpriseplanner.in/application/controllers/Categories.php
Line: 18
Function: get_categoryIdBySlug
File: /home/wedduiou/surpriseplanner.in/index.php
Line: 315
Function: require_once
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 * FROM categories where id =
Filename: models/Category_model.php
Line Number: 31