A PHP Error was encountered

Severity: Notice

Message: Undefined index: site_lang

Filename: controllers/Post.php

Line Number: 168

Backtrace:

File: /home/newmb/public_html/application/controllers/Post.php
Line: 168
Function: _error_handler

File: /home/newmb/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: data

Filename: controllers/Post.php

Line Number: 194

Backtrace:

File: /home/newmb/public_html/application/controllers/Post.php
Line: 194
Function: _error_handler

File: /home/newmb/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/newmb/public_html/application/models/M_post.php
Line: 785
Function: query

File: /home/newmb/public_html/application/controllers/Post.php
Line: 209
Function: get_data_postEn

File: /home/newmb/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 '.id.' at line 1

SELECT * FROM tb_postingan_en WHERE id_postingan_en=snmpn.politeknik.or.id.

Filename: models/M_post.php

Line Number: 785