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: 103
Function: get

File: /home/haarway/public_html/business.haarway.com/application/app_user/controllers/Blog_details.php
Line: 15
Function: get_row_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 *, ( SELECT CONCAT(first_name, " ", last_name) FROM haarway_admin_user WHERE `admin_id` = `b`.`admin_id`) `posted_by`, ( 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 count(blogcommentID) FROM haarway_blog_comments WHERE `blogID` = `b`.`blogID`) `total_comments` FROM `haarway_blog` as `b` WHERE `b`.`seo_url` = 'top-6-free-local-business-listing-sites-in-india'

Filename: models/Blog_model.php

Line Number: 103