954,178 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Need help with parse error

I am getting this parse error:

Parse error: syntax error, unexpected ';', expecting ')' in /home/freemone/public_html/dofollow-blogs/compiled/arfooo_template/en/c_1_info_whatisdofollow_tpl.php on line 11


And here is the code that somehow contian the error:

<?php 
echo $this->_fetch_compile_include("includes/header.tpl", array('title' => $this->trigger_error("'lang' modifier does not exist", E_USER_NOTICE, __FILE__, __LINE__);));
 ?>"}


Can anyone see whats wrong?

xwishmasterx
Newbie Poster
2 posts since Mar 2010
Reputation Points: 10
Solved Threads: 0
 

I think you want this:

<?php
echo $this->_fetch_compile_include("includes/header.tpl", array('title' => $this->trigger_error("'lang' modifier does not exist", E_USER_NOTICE, __FILE__, __LINE__)));
?>


Second to last semi-colon was unnecessary.

edwinhermann
Junior Poster
141 posts since Sep 2009
Reputation Points: 67
Solved Threads: 29
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You