Page 1 of 1
I'm getting the
Posted: 30 May 2008, 23:56
by lcdservices
I'm getting the following error:
Missing argument 3 for plgContentPhocaGallery:nPrepareContent() in /home/.../p
lugins/content/phocagallery.php
The line in question is:
function onPrepareContent( &$article, &$params, $limitstart )
any ideas?
It looks like you ge
Posted: 31 May 2008, 13:39
by Jan
It looks like you get no pagination data into the plugin ?
Re: missing argument error
Posted: 29 Jan 2011, 08:51
by lammetje
Hi there, I know this is an old post, but I ran into the same problem so I'm just posting the solution here for future reference.
1. In phocagallery.php (in Plugins > Content), look for
function onPrepareContent
2. Change
Code: Select all
function onPrepareContent( &$article, &$params, $limitstart )
to:
Code: Select all
function onPrepareContent( &$article, &$params, $limitstart = null )
Save and refresh. It fixed the error for me.
cheers
Lam
Re: missing argument error
Posted: 27 Mar 2011, 08:50
by walker
LOTTA THANX, lammetje!
com_phocagallery_v2.7.6
plg_content_phocagallery_2.7.2 (I have not found plugin with version 2.7.6)
I've encountered with the same problem. Your solution helped me too. Thank you very much!!!
Re: missing argument error
Posted: 30 Mar 2011, 18:04
by Jan