Hi,
I am having troubles with enabled "Phoca Gallery Plugin" with Joomla's Finder component. Finder indexing is cancelled after some time with the "error": "Undefined null" in the finder indexing status window.
Firefox network analysis shows a HTTP 500 error (no details) and PHP log is empty.
As stated here (github.com/joomlaworks/k2/issues/5) it helps to unpublish "Phoca Gallery Plugin" (other Phoca (Gallery) related plugins may remain published).
It does not matter, if "Phoca Gallery Finder Plugins" are installed or not.
It's just "Phoca Gallery Plugin" that causes the problem.
Version details:
Joomla 3.4.3
PHP 5.6.11
Phoca Gallery Component 4.2.0
Phoca Gallery Plugin 4.1.2
Phoca Gallery Finder Plugin (Files and Categories) 3.0.1
Phoca Galerie Slideshow Plugin 4.1.2
German language files for Joomla and all Phoca extensions, resp. are installed.
Any help on this would be greatly appreciated! Thanks!
Joomla finder error "undefined null" (Phoca Gallery Plugin)
-
- Phoca Member
- Posts: 17
- Joined: 25 Jul 2015, 15:46
- Location: Austria
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Joomla finder error "undefined null" (Phoca Gallery Plug
Hi, which plugin did you disabled (or user has disabled) exactly?
Phoca Gallery Content Plugin does not run in backend, so no idea how it can influence another extension - in case it is a frontend plugin and is not active in backend?
Jan
Phoca Gallery Content Plugin does not run in backend, so no idea how it can influence another extension - in case it is a frontend plugin and is not active in backend?
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 17
- Joined: 25 Jul 2015, 15:46
- Location: Austria
Re: Joomla finder error "undefined null" (Phoca Gallery Plug
Hi Jan,
yes, it is the Phoca Gallery Content Plugin. This issue is reproduceable at any time: If it's published, manual indexing is cancelled with above message. If it's unpublished, indexing is working until it's finished.
yes, it is the Phoca Gallery Content Plugin. This issue is reproduceable at any time: If it's published, manual indexing is cancelled with above message. If it's unpublished, indexing is working until it's finished.
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Joomla finder error "undefined null" (Phoca Gallery Plug
Hmm, can you describe the steps you do so I can test it.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 17
- Joined: 25 Jul 2015, 15:46
- Location: Austria
Re: Joomla finder error "undefined null" (Phoca Gallery Plug
I just click "Indexieren" in Joomla's finder component to recreate the index. It's indexing for some time, but then it cancels.
Most of the articles are already indexed then. Others are not.
If Joomla's own content finder plugin is unpublished, it's working of course. After reporting this in Joomla.de forum I could hunt it down to Phoca Gallery Content Plugin.
Most of the articles are already indexed then. Others are not.
If Joomla's own content finder plugin is unpublished, it's working of course. After reporting this in Joomla.de forum I could hunt it down to Phoca Gallery Content Plugin.
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Joomla finder error "undefined null" (Phoca Gallery Plug
Hi, this seems to be similar issue like this:
viewtopic.php?f=1&t=24600&p=92275#p92275
Please, try to edit the plugin code like described in the post and let me know. If this will be Ok, I will set it in plugin.
Jan
viewtopic.php?f=1&t=24600&p=92275#p92275
Please, try to edit the plugin code like described in the post and let me know. If this will be Ok, I will set it in plugin.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 17
- Joined: 25 Jul 2015, 15:46
- Location: Austria
Re: Joomla finder error "undefined null" (Phoca Gallery Plug
Hi Jan,
thank you for this fix. I can confirm that finder is running well after hacking the file.
Steps I did:
thank you for this fix. I can confirm that finder is running well after hacking the file.
Steps I did:
- In /plugins/content/phocagallery/phocagallery.php I added your code right after onPrePareContent:
Code: Select all
public function onContentPrepare($context, &$article, &$params, $page = 0) { // Don't run this plugin when the content is being indexed if ($context == 'com_finder.indexer') { return true; }
- I published Phoca Gallery Content Plugin again.
- I manually triggered indexing in Joomla's finder: It successfully created the index.
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Joomla finder error "undefined null" (Phoca Gallery Plug
Ok, thank you very much for the info, will be set in next version of the plugin.
Jan
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Joomla finder error "undefined null" (Phoca Gallery Plug
Added to 4.2.1
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 17
- Joined: 25 Jul 2015, 15:46
- Location: Austria
Re: Joomla finder error "undefined null" (Phoca Gallery Plug
Hi Jan,
thank you very much. Which extension did you update?
I see Phoca Gallery Component on version 4.2.0 that is close to 4.2.1 and Phoca Gallery Plugin on version 4.1.2 (the latter was affected by this issue) on the download pages.
thank you very much. Which extension did you update?
I see Phoca Gallery Component on version 4.2.0 that is close to 4.2.1 and Phoca Gallery Plugin on version 4.1.2 (the latter was affected by this issue) on the download pages.