Page 1 of 1

joomla errors, joomla 3.9.16

Posted: Fri Mar 13, 2020 1:03 pm
by mneese
hi, i have hundreds of these server errors:

13-Mar-2020 20:10:29 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; PlgContentWebRotate360 has a deprecated constructor in /home/rbyqdtpn/public_html/plugins/content/webrotate360/webrotate360.php on line 13

Re: joomla errors, joomla 3.9.16

Posted: Fri Mar 13, 2020 10:50 pm
by WebSupport
Hi, yes... we need to update the plugin asap! :!: In the meantime, please update /plugins/content/webrotate360/webrotate360.php around line 35 and change this:

Code: Select all

function plgContentWebRotate360(&$subject, $config)

to this:

Code: Select all

function __construct(&$subject, $config)


This should resolve the warnings I believe. Let us know if not.