Title: Parse error: syntax error, unexpected
Last modified: January 5, 2023

---

# Parse error: syntax error, unexpected

 *  Resolved [matteo raggi](https://wordpress.org/support/users/whichtransfers/)
 * (@whichtransfers)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-282/)
 * Hi, I just moved the website from fastomet to a2hosting and now I have this error
   in home:
 * **Parse error**: syntax error, unexpected ‘[‘ in **/WEBSITEROOT/wp-content/plugins/
   related-posts-thumbnails/related-posts-thumbnails.php** on line **768**
 * Critial error in the website. the strange is that I tryed to enable the debug
   and deleted the plugin but I still see the same error. I am using php 7.4.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fparse-error-syntax-error-unexpected-282%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Zainab Afaq](https://wordpress.org/support/users/wpzainab/)
 * (@wpzainab)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-282/#post-16357833)
 * Hi [@whichtransfers](https://wordpress.org/support/users/whichtransfers/) ,
   Thank
   you for bringing this to us. Please know the issue is fixed and released in 2.1.0.
   You are requested to give it a check and ping us back for further assistance 
   if needed. Happy New Year!
 *  Thread Starter [matteo raggi](https://wordpress.org/support/users/whichtransfers/)
 * (@whichtransfers)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-282/#post-16358519)
 * yes ativating the plugin no errors appears now, thanks, using php 8.0

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

The topic ‘Parse error: syntax error, unexpected’ is closed to new replies.

 * ![](https://ps.w.org/related-posts-thumbnails/assets/icon-256x256.png?rev=1602092)
 * [Related Posts Thumbnails Plugin for WordPress](https://wordpress.org/plugins/related-posts-thumbnails/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/related-posts-thumbnails/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/related-posts-thumbnails/)
 * [Active Topics](https://wordpress.org/support/plugin/related-posts-thumbnails/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/related-posts-thumbnails/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/related-posts-thumbnails/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [matteo raggi](https://wordpress.org/support/users/whichtransfers/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-282/#post-16358519)
 * Status: resolved