Page 1 of 1

Bug: Phoca site Plugin

Posted: 06 Oct 2012, 13:01
by 810
Fatal Error: Call to undefined method JDocumentRaw::addCustomTag() in plugins/system/phocasite/phocasite.php on line 38


regards
810
Kunena Team

Re: Bug: Phoca site Plugin

Posted: 06 Oct 2012, 23:27
by Jan
Hi, which plugin version and Joomla! version you are running?

Re: Bug: Phoca site Plugin

Posted: 07 Oct 2012, 14:41
by 810
Joomla 2.5.7

Phoca Site Plugin 1.0.1 11/01/2012

Re: Bug: Phoca site Plugin

Posted: 10 Oct 2012, 22:41
by Jan
Hi, try to change:

Code: Select all

if ($format=='feed') {
			return true;
		}
to:

Code: Select all

if ($format=='feed' || $format=='raw') {
			return true;
		}
in the plugin code, this should help.

Jan

Re: Bug: Phoca site Plugin

Posted: 13 Oct 2012, 00:13
by 810
yes, thats fixed the issue.

Re: Bug: Phoca site Plugin

Posted: 14 Oct 2012, 21:38
by Jan
Ok, I will add this to next version of this plugin.

Thank you for the info.
Jan

Re: Bug: Phoca site Plugin

Posted: 30 Jan 2013, 14:37
by freeferrell
Phocasite plugin will get the fatal error for other JDocument calls - I was getting this the same fatal on a JDocumentOpenSearch.

Jan, I would include this in newest release of phocasite as it will fix all future problems :)

Right after you call the $document instance simply add this:

if (!method_exists($document, 'addCustomTag')) { return true; }

This solves any future conflicts. ;)

Re: Bug: Phoca site Plugin

Posted: 30 Jan 2013, 23:37
by Jan
Hi, thank you. Jan

Re: Bug: Phoca site Plugin

Posted: 04 Mar 2014, 00:16
by careyb
Hi - as far as I can see this was never fixed in a new version of Phocasite. Is there any chance of a newer version that fixes this bug or maybe some more details instructions on how to fix it by hand?
thanks

Re: Bug: Phoca site Plugin

Posted: 07 Mar 2014, 02:09
by Jan
Hi, do you get any error message on your site caused by the Site plugin?

Jan