Keyword

Warning on line 390 - Error

More
11 years 7 months ago - 11 years 7 months ago #53361 by Ace22
Warning on line 390 - Error was created by Ace22
Hello, All of a sudden I got this error:

Warning: preg_replace(): Unknown modifier '1' in /var/www/vhosts/*myurl*.nl/httpdocs/plugins/content/jw_allvideos/jw_allvideos.php on line 390

This is the website page where the error occurs: tinyurl.com/opau456
It has always worked fine, so it must be something that can be solved. Thanks!

AllVideos V4.5.0
Joomla V2.5.11

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

More
11 years 7 months ago #53362 by Ace22
Replied by Ace22 on topic Re: Warning on line 390 - Error
Anyone?? please??

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

More
11 years 7 months ago #53363 by Ace22
Replied by Ace22 on topic Re: Warning on line 390 - Error
Thanks people, for nothing!  :(

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

More
11 years 7 months ago #53364 by Katia
Replied by Katia on topic Re: Warning on line 390 - Error
I cannot see any error in this link.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
10 years 11 months ago #55330 by Meacreasoft
Replied by Meacreasoft on topic Warning on line 390 - Error
Hello !

I have found a solution for this error in that file : httpdocs/plugins/content/jw_allvideos/jw_allvideos.php on line 390

compare your file with this code and replace it :
// Do the element replace
					$output->player = JFilterOutput::ampReplace(str_replace($findAVparams, $replaceAVparams, $tagReplace[$plg_tag]));

					// Fetch the template
					ob_start();
					$getTemplatePath = $AllVideosHelper->getTemplatePath($this->plg_name,'default.php',$playerTemplate);
					$getTemplatePath = $getTemplatePath->file;
					include($getTemplatePath);
					$getTemplate = $this->plg_copyrights_start.ob_get_contents().$this->plg_copyrights_end;
					ob_end_clean();					
					$expr = '/{'.$plg_tag.'}'.str_replace('/', '\/', $tagcontent).'{\/'.$plg_tag.'}/s';
					// Output
					$row->text = preg_replace($expr, $getTemplate , $row->text);
				} // End second foreach

			} // End if

		} // End first foreach

	} // End function

} // End class

Have a nice day :)

The French Team

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


Powered by Kunena Forum