A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Router::$uri is deprecated

Filename: core/Router.php

Line Number: 127

Backtrace:

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

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Berita::$benchmark is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Berita::$hooks is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Berita::$config is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Berita::$log is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Berita::$utf8 is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Berita::$uri is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Berita::$router is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Berita::$exceptions is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Berita::$output is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Berita::$security is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Berita::$input is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Berita::$lang is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Berita::$load is deprecated

Filename: core/Controller.php

Line Number: 78

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Berita::$db is deprecated

Filename: core/Loader.php

Line Number: 390

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_DB_mysqli_driver::$failover is deprecated

Filename: database/DB_driver.php

Line Number: 371

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 132

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 290

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::read($session_id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 164

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::write($session_id, $session_data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 233

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::destroy($session_id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 313

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 354

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Berita::$session is deprecated

Filename: core/Loader.php

Line Number: 1277

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Berita::$form_validation is deprecated

Filename: core/Loader.php

Line Number: 1277

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Berita::$pagination is deprecated

Filename: core/Loader.php

Line Number: 1277

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Berita::$agent is deprecated

Filename: core/Loader.php

Line Number: 1277

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 6
Function: __construct

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

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Berita::$umum_model is deprecated

Filename: core/Loader.php

Line Number: 353

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 7
Function: model

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

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Berita::$menu_model is deprecated

Filename: core/Loader.php

Line Number: 353

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 8
Function: model

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

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Berita::$berita_model is deprecated

Filename: core/Loader.php

Line Number: 353

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 9
Function: model

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

Filename: core/Common.php

Line Number: 570

Backtrace:

An uncaught Exception was encountered

Type: TypeError

Message: Unsupported operand types: string - int

Filename: /home/peterlay/public_html/application/models/Berita_model.php

Line Number: 114

Backtrace:

File: /home/peterlay/public_html/application/controllers/Berita.php
Line: 166
Function: get_posts_by_category

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