Imprimer
Catégorie : Joomla World 3.x
Affichages : 4055
1 1 1 1 1 100%/5 (1 Vote)

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; JCommentsACL has a deprecated constructor in

english

this error appears when upgrade to PHP 7.3 or higher. To fix this issue, edit the components/com_jcomments/classes/acl.php file and replace :

function JCommentsACL()

by

function __construct()

 

french

l'erreur apparaît lors d'un upgrade de PHP 7.3 ou plus grand. Pour corriger cette erreur modifiez le fichier components/com_jcomments/classes/acl.php et remplacez remplacez l'instruction :

function JCommentsACL() 

par

function __construct()