Muncul error mohon solusi

Ditanyakan pada tanggal 5 November 2019 oleh Maria Agustinus Hamengku Wicaksono

A PHP Error was encountered Severity: Notice

Message: Undefined property: welcome::$welcome

Filename: controllers/Welcome.php

Line Number: 24

Backtrace:

File: D:\xampp\htdocs\deashop.j\application\controllers\Welcome.php Line: 24 Function: _error_handler

File: D:\xampp\htdocs\deashop.j\index.php Line: 294 Function: require_once

=====================================================================

An uncaught Exception was encountered Type: Error

Message: Call to a member function method() on null

Filename: D:\xampp\htdocs\deashop.j\application\controllers\Welcome.php

Line Number: 24

Backtrace:

File: D:\xampp\htdocs\deashop.j\index.php Line: 294 Function: require_once

BUAT KOMENTAR

1 JAWABAN / 0 KOMENTAR

Generic placeholder image
Ahmad Oriza Sahputra menjawab 5 hari yang lalu

Hai,

Sepertinya ketika membuka halaman, paramater pada controller Welcome tidak terpassing. Makanya ada pesan Call to a member function method() on null . Bisa tolong sertakan kode Welcome.php kesini?

BUAT KOMENTAR