Page 1 of 1

Issues with php version upgrade

Posted: 30 Jan 2020, 21:54
by gma13
When I upgraded my php version from 7.0 to 7.2.27, Phoca Gallery no longer works. On my website, clicking on the photos menu tab gives a page that says - "0 error - Using $this when not in object context". My hosting service recommends using php 7.2 or higher. I am using Phoca Gallery version 4.3.18. How do I fix this?

Re: Issues with php version upgrade

Posted: 31 Jan 2020, 00:40
by christine
Hi,

Phoca Gallery works also with 7.2./7.3. Which Joomla version & template are you using?
"0 error - Using $this when not in object context"
we have to find out the reason for:

System > Global configuration > System > Debug Settings > Debug System > Yes
System > Global configuration > Server > Error reporting > Maximum

or via FTP, to change following lines of configuration.php:

public $error_reporting = 'maximum';
public $debug = '1';

In some cases, it's necessary to re-name (temporary) the error.php of Template, to provide us with the correct error-list > Call Stack.
Please write these informations from the "Call Stack".

Kind regards
Christine