mercredi 19 juin 2019

Deprecated: Methods with the same name as their class will not be constructors

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_Reader has a deprecated constructor in /public_html/administrator/components/com_uniterevolution2/inc_php/framework/pomo/streams.php on line 12

i tried renaming the class function with

class (); , i also tried changing the PHP version but nothing so far.

if ( !class_exists( 'POMO_Reader' ) ): class POMO_Reader {

var $endian = 'little';
var $_post = '';

function POMO_Reader() {
    $this->is_overloaded = ((ini_get("mbstring.func_overload") & 2) != 0) && function_exists('mb_substr');
    $this->_pos = 0;
}




Aucun commentaire:

Enregistrer un commentaire