Page 1 of 1

PHP 7.2 error: Using $this when not in object context

Posted: 07 Feb 2018, 21:08
by tschoch
Just upgraded to Joomla 3.8.5 and PHP 7.2

We are now getting an error in Joomla: "Using $this when not in object context "

Is there a workaround or fix for this error?

We would prefer to not rollback to PHP 5.6 as we need the performance enhancements in 7.2

Any help you can provide would be greatly appreciated...

Re: PHP 7.2 error: Using $this when not in object context

Posted: 07 Feb 2018, 21:22
by tschoch
Additional note, it appears to be in the phocal download file module display rather than the component display.

Re: PHP 7.2 error: Using $this when not in object context

Posted: 11 Feb 2018, 17:20
by Jan
Hi, can you add here the exact message to see where the problem occurs?

Thank you, Jan