A PHP Error was encountered

Severity: Notice

Message: Undefined index: row

Filename: controllers/Pages.php

Line Number: 36

Backtrace:

File: /home/sasaco/public_html/application/modules/pages/controllers/Pages.php
Line: 36
Function: _error_handler

File: /home/sasaco/public_html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: row

Filename: controllers/Pages.php

Line Number: 44

Backtrace:

File: /home/sasaco/public_html/application/modules/pages/controllers/Pages.php
Line: 44
Function: _error_handler

File: /home/sasaco/public_html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/sasaco/public_html/application/modules/pages/models/M_pages_site.php
Line: 109
Function: query

File: /home/sasaco/public_html/application/modules/pages/models/M_pages_site.php
Line: 120
Function: _get_kategori_by_gridstatus

File: /home/sasaco/public_html/application/modules/pages/controllers/Pages.php
Line: 44
Function: get_pagecontent_by_id

File: /home/sasaco/public_html/index.php
Line: 316
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 MySQL server version for the right syntax to use near 'AND `pages`.`page_lang` = `category`.`kategori_lang` AND `category`.`kateg' at line 7

SELECT `category`.`kategori_url` FROM `tbl_content_category` `category` LEFT JOIN `tbl_pages` `pages` ON `pages`.`id_pageOri` = `category`.`kategori_page_id` JOIN `tbl_pages_content` `c` ON `category`.`id_kategori` = `c`.`page_content_categoryid` JOIN `tbl_content_article` `d` ON `c`.`page_content_contentId` = `d`.`tc_contentId` WHERE `pages`.`id_page` = AND `pages`.`page_lang` = `category`.`kategori_lang` AND `category`.`kategori_lang` = 'id' AND `d`.`tc_contentFlag` = 1 GROUP BY `category`.`id_kategori` LIMIT 1

Filename: modules/pages/models/M_pages_site.php

Line Number: 109