A PHP Error was encountered

Severity: Notice

Message: Undefined variable: pageLimit

Filename: controllers/PortfolioDetail.php

Line Number: 112

Backtrace:

File: /home/u525702473/domains/weblance.co.in/public_html/application/controllers/PortfolioDetail.php
Line: 112
Function: _error_handler

File: /home/u525702473/domains/weblance.co.in/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'id' of non-object

Filename: models/Front_model.php

Line Number: 505

Backtrace:

File: /home/u525702473/domains/weblance.co.in/public_html/application/models/Front_model.php
Line: 505
Function: _error_handler

File: /home/u525702473/domains/weblance.co.in/public_html/application/controllers/PortfolioDetail.php
Line: 112
Function: getProjectBySubCategoryCheck

File: /home/u525702473/domains/weblance.co.in/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 'NULL' at line 1

SELECT * FROM `wb_projects` WHERE sub_category = NULL ORDER BY ID DESC LIMIT NULL

Filename: models/Front_model.php

Line Number: 513