arning: Parameter 3 to showItem() expected to be a reference
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Security and Performance FAQs
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Security and Performance FAQs
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Apprentice
- Posts: 34
- Joined: Thu Apr 01, 2010 9:10 am
arning: Parameter 3 to showItem() expected to be a reference
guys how to solve this problem
- dhuelsmann
- Joomla! Master
- Posts: 19659
- Joined: Sun Oct 02, 2005 12:50 am
- Location: Omaha, NE
- Contact:
Re: arning: Parameter 3 to showItem() expected to be a refer
Joomla 1.0.x is no longer supported. Looks like you are using php 5.3.x which the 1.0.x series doesn't work on. Downgrade your php to 5.2.x or migrate to Joomla 1.5.18.
Regards, Dave
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org
-
- Joomla! Fledgling
- Posts: 1
- Joined: Mon Jan 03, 2011 1:13 pm
Re: arning: Parameter 3 to showItem() expected to be a refer
In case you haven't solved this...
Try to modify following things in the /includes/Cache/Lite/Function.php:
1.
from: $result = call_user_func_array(array($class, $method), $arguments);
to:$result = call_user_func_array(array($class, $method), &$arguments);
2.
from: $result = call_user_func_array(array($$object_123456789, $method), $arguments);
to: $result = call_user_func_array(array($$object_123456789, $method), &$arguments);
3.
from: $result = call_user_func_array($target, $arguments);
to: $result = call_user_func_array($target, &$arguments);
The difference is not that big, it's just a matter of adding a ampersand before the arguments parameter, &$arguments, in all cases for php to realize that things are being passed by reference.
Try to modify following things in the /includes/Cache/Lite/Function.php:
1.
from: $result = call_user_func_array(array($class, $method), $arguments);
to:$result = call_user_func_array(array($class, $method), &$arguments);
2.
from: $result = call_user_func_array(array($$object_123456789, $method), $arguments);
to: $result = call_user_func_array(array($$object_123456789, $method), &$arguments);
3.
from: $result = call_user_func_array($target, $arguments);
to: $result = call_user_func_array($target, &$arguments);
The difference is not that big, it's just a matter of adding a ampersand before the arguments parameter, &$arguments, in all cases for php to realize that things are being passed by reference.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Dec 28, 2010 11:55 am
Re: arning: Parameter 3 to showItem() expected to be a refer
Thanks swedish_zorro work perfect!!
Gracias funciona perfecto!!
Gracias funciona perfecto!!
-
- Joomla! Intern
- Posts: 66
- Joined: Mon Dec 17, 2007 11:04 am
Re: arning: Parameter 3 to showItem() expected to be a refer
HI,
Thanks for solution, this worked with php 5.3.5 & joomla 1.0
Regards,
Pritam
Thanks for solution, this worked with php 5.3.5 & joomla 1.0
Regards,
Pritam
-
- Joomla! Apprentice
- Posts: 6
- Joined: Tue Mar 18, 2008 4:53 pm
Re: arning: Parameter 3 to showItem() expected to be a refer
Thanks saved my life worked a treat.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Mon Apr 13, 2009 10:55 pm
Re: arning: Parameter 3 to showItem() expected to be a refer
Hi all,
I'm getting a similar error with Joomla 1.5.8. I didn't change any settings to my server or Joomla build, then all of the sudden, one day all these errors showed up:
I tried turning off some of the plugins, but the problem remained the same.
I also tried looking for the "/includes/Cache/Lite/Function.php" but wasn't able to find it in my server.
Any help or direction? These errors show up on all of my pages as seen here http://preview.tiny url.com/3h3bl7w
Thanks!
I'm getting a similar error with Joomla 1.5.8. I didn't change any settings to my server or Joomla build, then all of the sudden, one day all these errors showed up:
I tried turning off some of the plugins, but the problem remained the same.
I also tried looking for the "/includes/Cache/Lite/Function.php" but wasn't able to find it in my server.
Any help or direction? These errors show up on all of my pages as seen here http://preview.tiny url.com/3h3bl7w
Thanks!
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun Jun 19, 2011 7:08 pm
Re: arning: Parameter 3 to showItem() expected to be a refer
Hi guys,
The solution is working good with php 5.3 & joomla 1.0. Thanks!
But I have one more problem with my website after upgrading of PHP version untill 5.3. The Contact component have stoped to work normally. Instead contact information on the site, it shows a white page. The same white page is in the backend when I try to go into the settings of this component.
Has anyone encountered a similar problem?
Maybe someone knows the solution?
The solution is working good with php 5.3 & joomla 1.0. Thanks!
But I have one more problem with my website after upgrading of PHP version untill 5.3. The Contact component have stoped to work normally. Instead contact information on the site, it shows a white page. The same white page is in the backend when I try to go into the settings of this component.
Has anyone encountered a similar problem?
Maybe someone knows the solution?
-
- Joomla! Fledgling
- Posts: 1
- Joined: Thu Sep 29, 2011 1:26 am
Re: arning: Parameter 3 to showItem() expected to be a refer
Guys,
I see you guys posted on how to fix this problem (below) this is all greek to me, can one of you experts do a step by step on how to fix this issue, starting where to go first. I would deeply appreciate it.
Thanks in advance.
Warning: Parameter 3 to showItem() expected to be a reference, value given in /home/newark/www/www/joomla/includes/Cache/Lite/Function.php on line 100
I see you guys posted on how to fix this problem (below) this is all greek to me, can one of you experts do a step by step on how to fix this issue, starting where to go first. I would deeply appreciate it.
Thanks in advance.
Warning: Parameter 3 to showItem() expected to be a reference, value given in /home/newark/www/www/joomla/includes/Cache/Lite/Function.php on line 100
- beededea
- Joomla! Hero
- Posts: 2809
- Joined: Wed Oct 31, 2007 3:48 pm
- Location: Victorian England 1885
Re: arning: Parameter 3 to showItem() expected to be a refer
It sounds like your host has upgraded PHP, breaking your site, find a new host that runs a compatible version of PHP
Yereverluvinunclebert
Steampunk widgets. Platforms of choice: Joomla 1.0/1.5, Joostina 1.2, OSCommerce
Site aims: Optimisation, Security and Solidity
http://widgets.yahoo.com/widgets/steamp ... k-calendar
Steampunk widgets. Platforms of choice: Joomla 1.0/1.5, Joostina 1.2, OSCommerce
Site aims: Optimisation, Security and Solidity
http://widgets.yahoo.com/widgets/steamp ... k-calendar
- tcjay
- Joomla! Intern
- Posts: 60
- Joined: Tue Oct 23, 2007 7:20 pm
- Contact:
Re: arning: Parameter 3 to showItem() expected to be a refer
I am using Joomla 1.5 an
Joomla 1.5 require php version 5.2 + My ISP uses 5.3.6.
It looks like the php version matches the technical requirements for Joomla 1.5. Any further suggestions?
http://www.tillitomas.com/index.php?opt ... mid=100078
TIA Tom
Oh..... This is the error message that I am receiving.
Warning: Parameter 3 to botCBprofile() expected to be a reference, value given in ........./libraries/joomla/event/dispatcher.php on line 136
Joomla 1.5 require php version 5.2 + My ISP uses 5.3.6.
It looks like the php version matches the technical requirements for Joomla 1.5. Any further suggestions?
http://www.tillitomas.com/index.php?opt ... mid=100078
TIA Tom
Oh..... This is the error message that I am receiving.
Warning: Parameter 3 to botCBprofile() expected to be a reference, value given in ........./libraries/joomla/event/dispatcher.php on line 136
Live free or die
- beededea
- Joomla! Hero
- Posts: 2809
- Joined: Wed Oct 31, 2007 3:48 pm
- Location: Victorian England 1885
Re: arning: Parameter 3 to showItem() expected to be a refer
@tcjay -as you say you are using J1.5, which part of the forum is this? would it be joomla 1.0? Yes. Please post elsewhere if you want relevant answers.
Yereverluvinunclebert
Steampunk widgets. Platforms of choice: Joomla 1.0/1.5, Joostina 1.2, OSCommerce
Site aims: Optimisation, Security and Solidity
http://widgets.yahoo.com/widgets/steamp ... k-calendar
Steampunk widgets. Platforms of choice: Joomla 1.0/1.5, Joostina 1.2, OSCommerce
Site aims: Optimisation, Security and Solidity
http://widgets.yahoo.com/widgets/steamp ... k-calendar
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Nov 30, 2011 10:07 pm
- Contact:
Re: arning: Parameter 3 to showItem() expected to be a refer
Thanks a lot for the solution, work for me.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Mon Dec 12, 2011 6:44 pm
Re: arning: Parameter 3 to showItem() expected to be a refer
I'm just starting with joomla(and english, by the way), and swedish_zorro's answer was the solution to my "welcome problem". Thanks.
Joomla 1.0.15 and php5
Joomla 1.0.15 and php5
-
- Joomla! Apprentice
- Posts: 29
- Joined: Tue Feb 13, 2007 7:41 pm
Re: arning: Parameter 3 to showItem() expected to be a refer
Thanks swedish_zorro, your solution works like a charme !!!
swedish_zorro wrote:In case you haven't solved this...
Try to modify following things in the /includes/Cache/Lite/Function.php:
1.
from: $result = call_user_func_array(array($class, $method), $arguments);
to:$result = call_user_func_array(array($class, $method), &$arguments);
2.
from: $result = call_user_func_array(array($$object_123456789, $method), $arguments);
to: $result = call_user_func_array(array($$object_123456789, $method), &$arguments);
3.
from: $result = call_user_func_array($target, $arguments);
to: $result = call_user_func_array($target, &$arguments);
The difference is not that big, it's just a matter of adding a ampersand before the arguments parameter, &$arguments, in all cases for php to realize that things are being passed by reference.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Sat Jun 02, 2012 4:43 pm
Re: arning: Parameter 3 to showItem() expected to be a refer
Thanks, works like a charm ! problem occurred after a transferred a client's site from another host to my hosting account , but it is now fixed, by following your solutionswedish_zorro wrote:In case you haven't solved this...
Try to modify following things in the /includes/Cache/Lite/Function.php:
1.
from: $result = call_user_func_array(array($class, $method), $arguments);
to:$result = call_user_func_array(array($class, $method), &$arguments);
2.
from: $result = call_user_func_array(array($$object_123456789, $method), $arguments);
to: $result = call_user_func_array(array($$object_123456789, $method), &$arguments);
3.
from: $result = call_user_func_array($target, $arguments);
to: $result = call_user_func_array($target, &$arguments);
The difference is not that big, it's just a matter of adding a ampersand before the arguments parameter, &$arguments, in all cases for php to realize that things are being passed by reference.
-
- Joomla! Apprentice
- Posts: 11
- Joined: Sun May 26, 2013 10:54 pm
Re: arning: Parameter 3 to showItem() expected to be a refer
HI
the site I'm tryng to fix has this error message Warning: Parameter 3 to showItem() expected to be a reference, value given in /home/smacdorg/public_html/includes/Cache/Lite/Function.php on line 100.
I can see people have fixed this error by modifying the /includes/Cache/Lite/Function.php: where can i find that?
I am still learning about Jommla, is it in the cpanel, the joomla administrator page or is it found elsewhere?
I have found cache in the Global Configuration configuration.php but there is no obvious way that i can change settings there?
In the cpanel i can see php configuration link but nothing again seems obvious as how to change settings. I have also found the php my admin in the cpanel but it doens't look right either.
In my admin page i can see that PHP Version 5.3.25 is the one running and the website runs Joomla 1.0.15 stable but i cannot find the section /includes/Cache/Lite/Function.php:
Any help would be great
the site I'm tryng to fix has this error message Warning: Parameter 3 to showItem() expected to be a reference, value given in /home/smacdorg/public_html/includes/Cache/Lite/Function.php on line 100.
I can see people have fixed this error by modifying the /includes/Cache/Lite/Function.php: where can i find that?
I am still learning about Jommla, is it in the cpanel, the joomla administrator page or is it found elsewhere?
I have found cache in the Global Configuration configuration.php but there is no obvious way that i can change settings there?
In the cpanel i can see php configuration link but nothing again seems obvious as how to change settings. I have also found the php my admin in the cpanel but it doens't look right either.
In my admin page i can see that PHP Version 5.3.25 is the one running and the website runs Joomla 1.0.15 stable but i cannot find the section /includes/Cache/Lite/Function.php:
Any help would be great
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sat Aug 17, 2013 5:39 pm
Re: arning: Parameter 3 to showItem() expected to be a refer
Julie70,
public_html/includes/Cache/Lite/Function.php ---
public_html - le fichier du serveur dans lequel sont hébergés les fichiers de ton site.
Tu vas dans le fichier includes, puis Cache et ensuite Lite pour ouvrir le fichier Function.php et fais les modifications nécessaires
Bonne chance
public_html/includes/Cache/Lite/Function.php ---
public_html - le fichier du serveur dans lequel sont hébergés les fichiers de ton site.
Tu vas dans le fichier includes, puis Cache et ensuite Lite pour ouvrir le fichier Function.php et fais les modifications nécessaires
Bonne chance
-
- Joomla! Fledgling
- Posts: 2
- Joined: Fri Sep 06, 2013 1:29 pm
Re: arning: Parameter 3 to showItem() expected to be a refer
Hi,
I've just had the same problem with joomla 1.0 and PHP 5.4.19 and the solution given by swedish_zorro doesn't work for me.
Does anyone have another solution ?
Thanks
Phil
I've just had the same problem with joomla 1.0 and PHP 5.4.19 and the solution given by swedish_zorro doesn't work for me.
Does anyone have another solution ?
Thanks
Phil
-
- Joomla! Fledgling
- Posts: 2
- Joined: Fri Sep 06, 2013 1:29 pm
Re: arning: Parameter 3 to showItem() expected to be a refer
I fond a solution which solve my problem here in the forum:
http://forum.joomla.org/viewtopic.php?f=35&t=462814
Thanks
http://forum.joomla.org/viewtopic.php?f=35&t=462814
Thanks
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Feb 05, 2014 9:46 am
Re: arning: Parameter 3 to showItem() expected to be a refer
I'm in training session and i have this problem. I don't know why but your solution is not ok for me.
Other solutions ?
Other solutions ?
- pe7er
- Joomla! Master
- Posts: 24927
- Joined: Thu Aug 18, 2005 8:55 pm
- Location: Nijmegen, Netherlands
- Contact:
Re: arning: Parameter 3 to showItem() expected to be a refer
Joomla 1.0 is very outdated and I hope your training session is not about Joomla 1.0maxime45000 wrote:I'm in training session and i have this problem. I don't know why but your solution is not ok for me.
Other solutions ?
The current Joomla versions are Joomla 2.5 & Joomla 3.2.
If you have a problem with those versions, please post your question in the right forum.
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
-
- Joomla! Fledgling
- Posts: 2
- Joined: Mon Nov 10, 2014 4:48 pm
Re: arning: Parameter 3 to showItem() expected to be a refer
im a complete noob w/ joomla. how do i navigate to the file below? thx.
/includes/Cache/Lite/Function.php:
/includes/Cache/Lite/Function.php: