joomla errors, joomla 3.9.16

mneese

New member
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
 

WebSupport

Active member
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:
function plgContentWebRotate360(&$subject, $config)
to this:

Code:
function __construct(&$subject, $config)

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