Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated constructor #4

Open
vasiljevski opened this Issue Aug 14, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@vasiljevski
Copy link
Owner

vasiljevski commented Aug 14, 2017

I'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

@vasiljevski vasiljevski added the bug label Aug 14, 2017

@vasiljevski vasiljevski self-assigned this Aug 14, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.