I broke twitter.php, and it broke my site
-
I was trying to add a line break to a string in twitter.php to seperate the tweets in my sidebar. I could swear I put the code back exaclty the way it was (haven’t coded in 8 years so I’m rusty), but my site is dead and I can’t login. Unfortunately, I didn’t back up twitter.php (I know, I know…).
The error: Parse error: syntax error, unexpected ‘$’ in /home/content/67/4892967/html/wp-content/plugins/twitter-for-wordpress/twitter.php on line 118
This is the line:
$msg = ” “.substr(strstr($message[‘description’],’: ‘), 2, strlen($message[‘description’])).” “;
Anyone see anything wrong?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘I broke twitter.php, and it broke my site’ is closed to new replies.