Warning : Parameter 2 to frontpage () expected to be a refer

General questions relating to Joomla! There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
dkvaseeta
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 141
Joined: Mon Dec 08, 2008 3:03 pm
Location: India

Warning : Parameter 2 to frontpage () expected to be a refer

Post by dkvaseeta » Fri Apr 06, 2012 5:02 am

Hi ,
I have a bug in joomla on home page which is as follows
"

Code: Select all

Warning : Parameter 2 to frontpage () expected to be a reference, Given value in / home / desisbe / public_html / includes / Cache / Lite / Function.php on line 100
"

have anybody idea about that because i am working in joomla1.7 and no idea about Joomla! 1.0.13 Stable.

any help are welcome

thanks

dkvaseeta
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 141
Joined: Mon Dec 08, 2008 3:03 pm
Location: India

[Solved] Warning : Parameter 2 to frontpage () expec

Post by dkvaseeta » Fri Apr 06, 2012 6:59 am

My problem is solved.
if anybody have same problem they also can solved using folling steps :

I have write "

Code: Select all

$arguments = $this->fixCalls($arguments);
" code in following file at following place
/includes/Cache/Lite/Function.php

line no 92 $arguments = $this->fixCalls($arguments);
line no 100 $arguments = $this->fixCalls($arguments);

then create a new funtion
static $newobjCount,$newobj;
function fixCalls($arguments) {
for ($i = 0, $j = count($arguments); $i < $j; $i++) {
if (is_object($arguments[$i])) {
if (!self::$newobjCount) self::$newobjCount = 0;
self::$newobj[++self::$newobjCount] = clone $arguments[$i];

$arguments[$i] = &self::$newobj[self::$newobjCount];
}
}

return $arguments;
}

and wow my problem is solved!!! :) see this http://www.desiervis.be/index.php

for more details you can also visit following url where i get my solution

http://maximilion.wordpress.com/2010/05 ... frontpage/


Locked

Return to “General Questions - 1.0.x”