Parse error PHP
-
Dear all,
I have a parse error occuring, this is the error message.
Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’ in /customers/5/9/f/anyidea.nl/httpd.www/wordpress/wp-content/themes/reactive1.2.4/theme-functions/thshpr_social_media.php on line 27
The line of code that it is referring to is this one:
if($GLOBALS['social_facebook'] ){ echo'<li><a href="'.$GLOBALS['social_facebook'] .'" target="_blank" class="social_link" id="facebook"> <img src="'.THSHPR_DIRECTORY.'/images/social/facebook.png" border="0" alt="facebook" class="a"/><img src="'.THSHPR_DIRECTORY.'/images/social/facebook_color.png" border="0" alt="facebook" class="b"/></a></li>';}
It’s part of a built-in social media widget that I tried to fix. The other buttons for skype etc. have exactly the same code, and they work. So I don’t know where the requested , or ; needs to go. Any leads are much appreciated.
Kind regards,
Sophie
- The topic ‘Parse error PHP’ is closed to new replies.