A PHP Error was encountered

Severity: Notice

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

Filename: controllers/News.php

Line Number: 39

Backtrace:

File: /home/villame1/public_html/application/controllers/News.php
Line: 39
Function: _error_handler

File: /home/villame1/public_html/index.php
Line: 1
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/News.php

Line Number: 39

Backtrace:

File: /home/villame1/public_html/application/controllers/News.php
Line: 39
Function: _error_handler

File: /home/villame1/public_html/index.php
Line: 1
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: libraries/Data_halaman.php

Line Number: 61

Backtrace:

File: /home/villame1/public_html/application/libraries/Data_halaman.php
Line: 61
Function: _error_handler

File: /home/villame1/public_html/application/controllers/News.php
Line: 39
Function: datahalaman

File: /home/villame1/public_html/index.php
Line: 1
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: libraries/Data_halaman.php

Line Number: 70

Backtrace:

File: /home/villame1/public_html/application/libraries/Data_halaman.php
Line: 70
Function: _error_handler

File: /home/villame1/public_html/application/controllers/News.php
Line: 39
Function: datahalaman

File: /home/villame1/public_html/index.php
Line: 1
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: libraries/Data_halaman.php

Line Number: 71

Backtrace:

File: /home/villame1/public_html/application/libraries/Data_halaman.php
Line: 71
Function: _error_handler

File: /home/villame1/public_html/application/controllers/News.php
Line: 39
Function: datahalaman

File: /home/villame1/public_html/index.php
Line: 1
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: libraries/Data_halaman.php

Line Number: 72

Backtrace:

File: /home/villame1/public_html/application/libraries/Data_halaman.php
Line: 72
Function: _error_handler

File: /home/villame1/public_html/application/controllers/News.php
Line: 39
Function: datahalaman

File: /home/villame1/public_html/index.php
Line: 1
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: libraries/Data_halaman.php

Line Number: 73

Backtrace:

File: /home/villame1/public_html/application/libraries/Data_halaman.php
Line: 73
Function: _error_handler

File: /home/villame1/public_html/application/controllers/News.php
Line: 39
Function: datahalaman

File: /home/villame1/public_html/index.php
Line: 1
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/News.php

Line Number: 40

Backtrace:

File: /home/villame1/public_html/application/controllers/News.php
Line: 40
Function: _error_handler

File: /home/villame1/public_html/index.php
Line: 1
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/News.php

Line Number: 42

Backtrace:

File: /home/villame1/public_html/application/controllers/News.php
Line: 42
Function: _error_handler

File: /home/villame1/public_html/index.php
Line: 1
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/News.php

Line Number: 54

Backtrace:

File: /home/villame1/public_html/application/controllers/News.php
Line: 54
Function: _error_handler

File: /home/villame1/public_html/index.php
Line: 1
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/News.php

Line Number: 62

Backtrace:

File: /home/villame1/public_html/application/controllers/News.php
Line: 62
Function: _error_handler

File: /home/villame1/public_html/index.php
Line: 1
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: A non-numeric value encountered

Filename: libraries/Halaman.php

Line Number: 27

Backtrace:

File: /home/villame1/public_html/application/libraries/Halaman.php
Line: 27
Function: _error_handler

File: /home/villame1/public_html/application/controllers/News.php
Line: 75
Function: datahalaman

File: /home/villame1/public_html/index.php
Line: 1
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/villame1/public_html/application/models/Crud_model.php
Line: 25
Function: get

File: /home/villame1/public_html/application/models/Crud_model.php
Line: 30
Function: bacaData

File: /home/villame1/public_html/application/controllers/News.php
Line: 89
Function: bacaBanyakData

File: /home/villame1/public_html/index.php
Line: 1
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 '-9, 9' at line 5

SELECT `tb_news`.`name`, `tb_news`.`url`, `tb_news`.`img`, `tb_news`.`tayang`, `tb_news`.`date`, `tb_content`.`description`, `tb_content`.`summary` FROM `tb_news`, `tb_news_cat`, `tb_content` WHERE `tb_news`.`cat` = `tb_news_cat`.`id` AND `tb_news`.`id` = `tb_content`.`cat` AND `tb_content`.`type` = 2 AND `tb_news`.`type` = 1 AND `tb_news`.`publish` = 1 AND `tb_news`.`tayang` < '2024-03-29 16:42:58'AND tb_news_cat.id IS NULL ORDER BY `tayang` DESC LIMIT -9, 9

Filename: models/Crud_model.php

Line Number: 25