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

Phoca Download - download manager
tschoch
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 07 Feb 2018, 21:03

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

Post 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...
tschoch
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 07 Feb 2018, 21:03

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

Post by tschoch »

Additional note, it appears to be in the phocal download file module display rather than the component display.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48550
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Hi, can you add here the exact message to see where the problem occurs?

Thank you, Jan
If you find Phoca extensions useful, please support the project
Post Reply