PHP不推荐的错误

PHP不推荐的错误,php,joomla,k2,Php,Joomla,K2,这是第16行: [22-Apr-2018 17:36:22 Europe/London] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgK2FbComments_K2 has a deprecated constructor in `/home/dailydealsblogco/public_html/plugin

这是第16行:

[22-Apr-2018 17:36:22 Europe/London] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; plgK2FbComments_K2 has a deprecated constructor in `/home/dailydealsblogco/public_html/plugins/k2/fbcomments_k2/fbcomments_k2.php on line 16`

谁能帮我找钱吗?在谷歌上搜索了几个小时,仍然没有人知道。我想消除其中的错误。

将构造函数重命名为
\uu construct

class plgK2FbComments_K2 extends K2Plugin {
var $pluginName = 'fbcomments_k2';
var $pluginNameHumanReadable = 'DISQUS for K2 plugin';

public function plgK2FbComments_K2(& $subject, $params) {
    parent::__construct($subject, $params);
    // JPlugin::loadLanguage('plg_k2_fbcomments_k2');
}

哇…这个代码库有多老了?如果可以的话,你可能想升级它。是的,我知道-这是一个Joomla插件,很久没有更新过,但没有其他插件与K2 atm兼容。@ClaireRoach,堆栈溢出。事实上,这些评论通常会被版主(官方用户以及获得一定收益的普通用户)删除。(和/或在你获得15个声誉点后投票选出有用的答案),这是表达感激之情的最佳方式。
public function __construct(& $subject, $params) {
    parent::__construct($subject, $params);
    // JPlugin::loadLanguage('plg_k2_fbcomments_k2');
}