Keyword

Fatal error in search function plugins/content/jw_allvideos.php on line 59

  • Sverre
  • Sverre's Avatar Topic Author
  • Offline
  • New Member
More
14 years 3 months ago #38224 by Sverre
Hello everyone,
I have searched the www and of course this forum, but I couldn't find anything like this.

Allvideos is a super plugin and I use it in some articles on my website.
WHen someone tries to search with the standard joomla search function, he will see the following error:
Fatal error: Call to a member function get() on a non-object in **plugins/content/jw_allvideos.php on line 59

I am using the latest version of allvideos and joomla 1.5.22, latest version too.

I am using raf cloud since the beginning of the site. When you click on a tag, you will be redirected to the search page with all the found articles. But when you enter your own searchstring, the above error appears.

I hope someone can help me here!
Thank you very much,
Sverre

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #38225 by emagin
I too am getting constant fatal errors, same line and setup
J1.5.22

Please Log in or Create an account to join the conversation.

  • Sverre
  • Sverre's Avatar Topic Author
  • Offline
  • New Member
More
14 years 1 month ago #38226 by Sverre
As nobody can help us, I will post a solution.

Remove this plugin is the best option. It's nice but when other important components will fail due to this plugin, it's bad.

You can use jplayer or something like that, works very good without problems with for example the search component.

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #38227 by Katia
Please provide us a url to your site.

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #38228 by Georgios Papadakis
I am still learning Joomla Framework, but i know a little PHP.

Try replacing line 52 of the plugin:
if(!$params) $params = new JParameter(null);

with:

if(!$params || gettype($params )!=='object' || !method_exists($params , $method_name="get")) $params = new JParameter(null);

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum