Hi,
I have Phoca Gallery 4.1.2 and Joomla 3.4.3.
I upgraded a NoNumber extension on my site today and noticed a PHP error on the Phoca Gallery Details View pages. The NoNumber dev looked into it and told me the following:
Looks like that gallery page is not initializing the plugins correctly. It isn't only Snippets that will throw that error.
Best to ask the devs of the gallery extension for support on this.
Dev info: The plugin is trying to reference a class variable set in the __construct. Which should be available and initialized, but isn't on that page.
When I looked at the site frontend after clearing my cache I got an error. Here are the steps to replicate this using one of my testing sites:
1) Go to this URL: http://2test-directory.nemmar.net/anima ... s-pictures
2) Click any of the photo gallery thumbnails.
3) Click any of the gallery thumbnails again to view the details view with one photo.
4) You will get a white screen with the photo and the following PHP error above it:
Fatal error: Call to a member function get() on a non-object in /xxxxx/xxxxx/xxxxx/plugins/system/snippets/helper.php on line 63
Can you tell me if there will be an update of Phoca Gallery that will fix this? Or is there an edit I can make to correct this?
Thanks.
Gallery Detail page not initializing the plugins correctly.
-
nemmar
- Phoca Enthusiast

- Posts: 63
- Joined: 13 Mar 2014, 18:55
-
christine
- Phoca Hero

- Posts: 2938
- Joined: 28 Nov 2010, 17:20
Re: Gallery Detail page not initializing the plugins correct
Hi nemmar,
Before checking your URL (I didn't yet). Try first of all:
regards, christine
Before checking your URL (I didn't yet). Try first of all:
Update to: 4.2.0. Whether or not it will fix the problem, I don't know.Can you tell me if there will be an update of Phoca Gallery that will fix this? Or is there an edit I can make to correct this?
regards, christine