Error Log: Undefined property Joomla\CMS\Table\Module::$element

#1
Hi all, in my err_log file,
i found this error:

PHP Warning: Undefined property: Joomla\CMS\Table\Module::$element in /plugins/system/lscache/lscache.php on line 721

At line 721 there is this code: if ($this->settings->get('beforeRender', 0) == 1)

The entire lines of code are:


PHP:
public function onBeforeRender() {

        if ($this->settings->get('beforeRender', 0) == 1) {

            $this->onAfterRender();

            define('LSCACHE_RENDERED',true);

        }

    }
From line 719 to 729

I have installed the plugin in Joomla 4. Sorry.

Any suggestion?
Thanks
Floyd611
 
Top