W
W
Wizlake2021-08-20 01:38:55
Joomla
Wizlake, 2021-08-20 01:38:55

How to solve this error in Joomla?

Tell me, please, everything seems to be connected, the site can be said to work, but it gives this error. How to solve it?
611edd601cf27511882727.jpeg

Error text:

Deprecated: Non-static method modFlexiCustomCode::parsePHPviaFile() should not be called statically in C:\OpenServer\domains\nk\modules\mod_flexi_customcode\tmpl\default.php on line 55

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Pavel-ww, 2021-08-20
@Pavel-ww

Remove the mod flexi customcode module and use something else like Sourcerer from Regular lab. This module is outdated, has vulnerabilities and bugs, and has even been removed from the JED.
When installing an extension, make sure it is up to date, do not download it anywhere. Only from developer sites. Otherwise, your site will be hacked.

P
partisan42, 2021-08-20
@partisan42

Please provide either the full text of the C:\OpenServer\domains\nk\modules\mod_flexi_customcode\tmpl\default.php file, or lines 45-65. It is necessary to look what exactly he does not like in this file. And there can be anything.
The Joomla version and the PHP version would also help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question