Jordan Jordan - 1 month ago 21
PHP Question

Undefined property: core::#$_news

Hello i'm trying to fix my website but i am receiving

Notice: Undefined property: core::$_news in C:\xampp\htdocs\library\class\core.oraios.class.php on line 79

This is the code at line 79:
$this->_news.="";

Answer

It seems $this->_news was not yet initialized before you did $this->_news.=""; .
You may initialize it like so: $this->_news = "";
And, afterwards you may append to it.