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

LitServ
LitServ
  • LitServ
  • 8 months ago

After switching from PHP 5.6 to PHP 7 I get the following error message (in the backend):

 

"
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentCjblog has a deprecated constructor in /www/htdocs/w00bea54/i-p-p/plugins/content/cjblog/cjblog.php on line 21

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentArticleSuggestions has a deprecated constructor in /www/htdocs/w00bea54/i-p-p/plugins/content/articlesuggestions/articlesuggestions.php on line 24
"

Going back to PHP 5.6 the error disappears. But this cannot be the solution.

How can you help me?

 


Access to viewing replies is restricted.
Showing 11 of 11 replies
You do not have permissions for replying to this topic.
Loading...
Confirm delete? This action is irreversible and the data will be deleted permanently. Do you want to continue? Confirm Add New Delete Unpublish Cancel Import Uninstall The selected item successfully deleted.
Shondalai