A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Post.php

Line Number: 214

Backtrace:

File: /home/ppenergy/public_html/application/controllers/Post.php
Line: 214
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Post.php

Line Number: 214

Backtrace:

File: /home/ppenergy/public_html/application/controllers/Post.php
Line: 214
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 1

Filename: controllers/Post.php

Line Number: 217

Backtrace:

File: /home/ppenergy/public_html/application/controllers/Post.php
Line: 217
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Post.php

Line Number: 224

Backtrace:

File: /home/ppenergy/public_html/application/controllers/Post.php
Line: 224
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Post.php

Line Number: 224

Backtrace:

File: /home/ppenergy/public_html/application/controllers/Post.php
Line: 224
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: post/layout.php

Line Number: 5

Backtrace:

File: /home/ppenergy/public_html/application/views/post/layout.php
Line: 5
Function: _error_handler

File: /home/ppenergy/public_html/application/controllers/Post.php
Line: 227
Function: view

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

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: post/layout.php

Line Number: 5

Backtrace:

File: /home/ppenergy/public_html/application/views/post/layout.php
Line: 5
Function: _error_handler

File: /home/ppenergy/public_html/application/controllers/Post.php
Line: 227
Function: view

File: /home/ppenergy/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/ppenergy/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/ppenergy/public_html/application/models/M_post.php
Line: 839
Function: query

File: /home/ppenergy/public_html/application/views/post/layout.php
Line: 6
Function: tambah_view

File: /home/ppenergy/public_html/application/controllers/Post.php
Line: 227
Function: view

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

SELECT * FROM tb_postingan WHERE id_postingan=

Filename: models/M_post.php

Line Number: 839