deprecated constructor
deprecated constructorI'm getting this error with the Admiror Columnizer plugin enabled on one of my sites.
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentAdmirorcolumnizer has a deprecated constructor in /home3/wbfbible/public_html/plugins/content/admirorcolumnizer/admirorcolumnizer.php on line 20 Lines 20-29 read: class plgContentAdmirorcolumnizer extends JPlugin { //Constructor function plgContentAdmirorcolumnizer(&$subject) { parent::__construct($subject); $this->plugin = JPluginHelper::getPlugin('content', 'admirorcolumnizer'); $this->params = new JRegistry($this->plugin->params); // load current language $this->loadLanguage(); How do I fix this? Richard
Re: deprecated constructorThanks for reporting, I will probably fix this in the next release.
In the meantime you can apply the fix mentioned here: https://stackoverflow.com/questions/371 ... -same-name I created github issue for this: https://github.com/vasiljevski/admirorc ... r/issues/4 Help Admiror Gallery become even better,
give us a review on JED |