Issues with php version upgrade
-
gma13
- Phoca Newbie

- Posts: 2
- Joined: 03 Jul 2019, 17:10
Issues with php version upgrade
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?
-
christine
- Phoca Hero

- Posts: 2938
- Joined: 28 Nov 2010, 17:20
Re: Issues with php version upgrade
Hi,
Phoca Gallery works also with 7.2./7.3. Which Joomla version & template are you using?
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
Phoca Gallery works also with 7.2./7.3. Which Joomla version & template are you using?
we have to find out the reason for:"0 error - Using $this when not in object context"
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