- Posts: 1
 
COMMUNITY FORUM
Error on line 55
- siglr
 - 
				
Topic Author
 - Offline
 - New Member
 
		Less
		More
		
			
	
		
			
	
						16 years 5 months ago				#23369
		by siglr
	
	
		
			
	
			
			 		
													
	
				Error on line 55 was created by siglr			
			
				Hello
I saw this bug on another section of this forum, before realizing that it should be in this section instead, since it's related to AllVideos plugin.
forum.joomlaworks.net/index.php?topic=7364.0
Basically... here's the problem:
Just downloaded today, installed, put the {flv} tags inside one of my article pointing to an existing flash video in my master video folder and bang... same error:
Fatal error: Call to a member function get() on a non-object in /home/xxxxx/public_html/xxxxxxx/plugins/content/jw_allvideos.php on line 55
Any update on how to fix this?
Thanks
And then I found this solution, but I'm really not sure this is the right fix:
Seems like I fixed the problem myself... On line 55 of the jw_allvideos.php file, you have this:
$vfolder = ($params->get('vfolder')) ? $params->get('vfolder') : $pluginParams->get('vfolder','images/stories/videos');
I deleted the first part and the line became this:
$vfolder = $pluginParams->get('vfolder','images/stories/videos');
And the error is now gone... Don't know if this will work for any other folder, but hey... now it works for me!
If there is a more permanent solution, please let us know!
Thanks
					I saw this bug on another section of this forum, before realizing that it should be in this section instead, since it's related to AllVideos plugin.
forum.joomlaworks.net/index.php?topic=7364.0
Basically... here's the problem:
Just downloaded today, installed, put the {flv} tags inside one of my article pointing to an existing flash video in my master video folder and bang... same error:
Fatal error: Call to a member function get() on a non-object in /home/xxxxx/public_html/xxxxxxx/plugins/content/jw_allvideos.php on line 55
Any update on how to fix this?
Thanks
And then I found this solution, but I'm really not sure this is the right fix:
Seems like I fixed the problem myself... On line 55 of the jw_allvideos.php file, you have this:
$vfolder = ($params->get('vfolder')) ? $params->get('vfolder') : $pluginParams->get('vfolder','images/stories/videos');
I deleted the first part and the line became this:
$vfolder = $pluginParams->get('vfolder','images/stories/videos');
And the error is now gone... Don't know if this will work for any other folder, but hey... now it works for me!
If there is a more permanent solution, please let us know!
Thanks
Please Log in or Create an account to join the conversation.
- jdrenken
 - 
				
 - Offline
 - New Member
 
		Less
		More
		
			
	
		- Posts: 3
 
			
	
						16 years 2 months ago				#23370
		by jdrenken
	
	
		
			
	
			
			 		
													
	
				Replied by jdrenken on topic Re: Error on line 55			
			
				I'm having the same problems!  I attempted your fix and it got rid of the error, but the video doesn't play.  Could someone from joomlaworks please post a solution/fix in this thread?			
					Please Log in or Create an account to join the conversation.
- mtif
 - 
				
 - Offline
 - New Member
 
		Less
		More
		
			
	
		- Posts: 12
 
			
	
						16 years 1 month ago		 -  16 years 1 month ago		#23371
		by mtif
	
	
		
			
	
			
			 		
													
	
				Replied by mtif on topic Re: Error on line 55			
			
				I ran into the same problems, its very dissappointing.
Lines, 55, 56, 57, 60 and 61 all had to be hacked to get the plugin to work.
In the end I deleted this version and reverted to the old one!
On further investigation we found a solution to get it to work - but unbelievably one of the key features (dim lights) doesn't work at all in IE browsers !
					Lines, 55, 56, 57, 60 and 61 all had to be hacked to get the plugin to work.
In the end I deleted this version and reverted to the old one!
On further investigation we found a solution to get it to work - but unbelievably one of the key features (dim lights) doesn't work at all in IE browsers !
Please Log in or Create an account to join the conversation.