Joomla - jcomments - решение ошибки plgContentJComments has a deprecated constructor in: различия между версиями
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Admin iph (обсуждение | вклад) |
Admin iph (обсуждение | вклад) |
||
Строка 5: | Строка 5: | ||
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentJComments has a deprecated constructor in /home/user12/public_html/site.com/plugins/content/jcomments/jcomments.php on line 25 | Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentJComments has a deprecated constructor in /home/user12/public_html/site.com/plugins/content/jcomments/jcomments.php on line 25 | ||
− | Код JComments 3.0.5 не адаптирован под PHP 7.x, поэтому '''нужно обновить JComments до 3.0.7.5'''. Скачать плагин Jcomments 3.0.7 + Recaptcha 2 можно по ссылке: | + | Код JComments 3.0.5 не адаптирован под PHP 7.x, поэтому '''нужно обновить JComments до 3.0.7.5'''. Скачать плагин '''Jcomments 3.0.7 + Recaptcha 2''' можно по ссылке: |
*https://github.com/exstreme/Jcomments-Recaptcha2 | *https://github.com/exstreme/Jcomments-Recaptcha2 | ||
Протестирован на Joomla 3.8.12 + PHP 7.2 | Протестирован на Joomla 3.8.12 + PHP 7.2 |
Текущая версия на 20:48, 19 мая 2020
Joomla - jcomments - решение ошибки plgContentJComments has a deprecated constructor in
Ошибка в админ панели и на сайте при использовании JComments 3.0.5 Stable + PHP 7.x:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentJComments has a deprecated constructor in /home/user12/public_html/site.com/plugins/content/jcomments/jcomments.php on line 25
Код JComments 3.0.5 не адаптирован под PHP 7.x, поэтому нужно обновить JComments до 3.0.7.5. Скачать плагин Jcomments 3.0.7 + Recaptcha 2 можно по ссылке:
Протестирован на Joomla 3.8.12 + PHP 7.2