POS MENGGALEH Error - Severity: 8192 rss has a deprecatedDibuat
Login Terakhir
6 Tahun lalu,
Telah Dilihat 3382 Kali
| |
Free Account |
|
|
Muhammad Irwan Mahfud
Mengatakan :
Free Account
Assalamualaikum Warahmatullahi Wabarakatuh... Ada error saat login Severity: 8192 Message: Methods with the same name as their class will not be constructors in a future version of PHP; rss has a deprecated constructor Filename: helpers/cek_helper.php Line Number: 172 Backtrace: File: C:\xampp\htdocs\manggaleh\index.php Line: 294 Function: require_once |
|
| PHPMU.COM Support commented on 22 Apr 2020 11:31:58 Sultan Account |
|
|
|
Salah satu jawaban terbaik,.. Assalamualaikum,.. buka file : application\libraries\Rss.php
cari : function __construct($feed)
{
$this->feed = $feed;
}
ubah menjadi :
function __construct($feed = null)
{
$this->feed = $feed;
}
Terakhir buka file : index.php pada folder utama
cari kode berikut :
define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development');
dan ubah menjadi :
define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'production');
Simpan dan beres, silahkan di akses lagi. |
|