Title: T_STRING issue
Last modified: August 20, 2016

---

# T_STRING issue

 *  Resolved [filpass](https://wordpress.org/support/users/filpass/)
 * (@filpass)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/t_string-issue/)
 * Hi
 * I just got the following message on my webpage: Parse error: syntax error, unexpected
   T_STRING, expecting ‘,’ or ‘;’
 * in web/wp-content/plugins/video-embed-thumbnail-generator/video-embed-thumbnail-
   generator.php on line 1889
 * I checked line 1889 but the ‘;’ is there.
 * My whole blog is now blocked, no one can access it. HELP!
 * Does anyone have any idea where this T_STRING suddenly came from, and how to 
   fix this bug?
 * Thanks a lot for your help!
 * [http://wordpress.org/extend/plugins/video-embed-thumbnail-generator/](http://wordpress.org/extend/plugins/video-embed-thumbnail-generator/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/t_string-issue/#post-3493487)
 * Start by disabling the plugin. That will enable access to your blog. Have you
   recently modified your template or installed another plugin? I suspect something
   has changed in wp_head() which is on the line before it.
 *  Thread Starter [filpass](https://wordpress.org/support/users/filpass/)
 * (@filpass)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/t_string-issue/#post-3493654)
 * Hi Kyle
 * thanks a lot for your advice! By disabling and re-enabling the plugin, everything
   works now.
 * Just before this issue appeared, I had indeed made a general update of all my
   plugins as well as WordPress.
 * I am currently using WP 3.5.1.
 *  Thread Starter [filpass](https://wordpress.org/support/users/filpass/)
 * (@filpass)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/t_string-issue/#post-3493710)
 * Dear Kyle,
 * I am really sorry, but the same issue is now back, with exactly the same error
   message, and my blog is again not accessible.
 * Would you have maybe another idea how to fix this bug?
 * Thanks again for your help!
 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/t_string-issue/#post-3493711)
 * Does it make a difference if you change line 1888 to
    `echo (wp_head());`
 *  Thread Starter [filpass](https://wordpress.org/support/users/filpass/)
 * (@filpass)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/t_string-issue/#post-3493712)
 * I had uninstalled and reinstalled the plugin, so I do not know if the change 
   to echo (wp_head()); made a difference.
 * I will see if the blog can “hold” a few days, and then it will mean that you 
   fixed the bug!
 * I will keep you posted on that.
 * The error message actually came back only about 2 days after I uninstalled and
   re-installed the plugin, and not immediately afterwards.
 *  Thread Starter [filpass](https://wordpress.org/support/users/filpass/)
 * (@filpass)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/t_string-issue/#post-3493735)
 * Dear Kyle
 * unfortunately my blog is down again. The modification I made in line 1889 from
   echo wp_head(); to echo(wp_head()); did apparently not fix the problem.
 * The curious thing is also that this problem occurs approximately two days after
   I uninstall-reinstall the plugin, and not straight after I reinstall it.
 * In your previous message you mentioned line 1888 echo “<html>\n<head>”; and I
   changed line 1889 echo wp_head();
 * Maybe I made a mistake here?
 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/t_string-issue/#post-3493736)
 * Line 1888 in version 3.1 is `echo wp_head();` [http://plugins.trac.wordpress.org/browser/video-embed-thumbnail-generator/tags/3.1/video-embed-thumbnail-generator.php#L1888](http://plugins.trac.wordpress.org/browser/video-embed-thumbnail-generator/tags/3.1/video-embed-thumbnail-generator.php#L1888)
 * and line 1889 is `echo "</head>\n<body>";`
    [http://plugins.trac.wordpress.org/browser/video-embed-thumbnail-generator/tags/3.1/video-embed-thumbnail-generator.php#L1889](http://plugins.trac.wordpress.org/browser/video-embed-thumbnail-generator/tags/3.1/video-embed-thumbnail-generator.php#L1889)
 * It’s strange that the code in your plugin is one line off. Have you tried completely
   removing all the plugin files and reinstalling? (note that there’s a bug in this
   version that will give you an error if you try to uninstall through WordPress)

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘T_STRING issue’ is closed to new replies.

 * ![](https://ps.w.org/video-embed-thumbnail-generator/assets/icon.svg?rev=2965979)
 * [Videopack](https://wordpress.org/plugins/video-embed-thumbnail-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/video-embed-thumbnail-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/t_string-issue/#post-3493736)
 * Status: resolved