A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "num_rows" on bool

Filename: hooks/Rediect_301_Hook.php

Line Number: 20

Backtrace:

File: /home/haarway/public_html/business.haarway.com/application/app_user/hooks/Rediect_301_Hook.php
Line: 20
Function: _error_handler

File: /home/haarway/public_html/business.haarway.com/index.php
Line: 321
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/haarway/public_html/business.haarway.com/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 578

Backtrace:

File: /home/haarway/public_html/business.haarway.com/application/app_user/models/Blog_model.php
Line: 78
Function: get

File: /home/haarway/public_html/business.haarway.com/application/app_user/controllers/Blog.php
Line: 128
Function: get_filter_data

File: /home/haarway/public_html/business.haarway.com/index.php
Line: 321
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1242

Subquery returns more than 1 row

SELECT `b`.*, ( SELECT seo_url FROM haarway_blog_category WHERE `blogcatID` = `b`.`blogcatID`) cat_seo_url, ( SELECT category_title FROM haarway_blog_category WHERE `blogcatID` = `b`.`blogcatID`) category_title, ( SELECT CONCAT(first_name, " ", last_name) FROM haarway_admin_user WHERE `admin_id` = `b`.`admin_id`) posted_by, ( SELECT count(blogcommentID) FROM haarway_blog_comments WHERE `blogID` = `b`.`blogID`) total_comments FROM `haarway_blog` as `b` WHERE `b`.`blog_status` = 1 ORDER BY `b`.`create_date` DESC LIMIT 9

Filename: models/Blog_model.php

Line Number: 78