Title: Parse error: syntax error
Last modified: December 20, 2019

---

# Parse error: syntax error

 *  Resolved [samguy007](https://wordpress.org/support/users/samguy007/)
 * (@samguy007)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-167/)
 * AFter updating the plugin, my website stopped responding with with this error:
 * Parse error: syntax error, unexpected ‘[‘ in /home2/global53/public_html/en/wp-
   content/plugins/blog2social/includes/Tools.php on line 265
 * kindly assist. its urgent
 * 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-167%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Blog2Social-Support](https://wordpress.org/support/users/blog2socialsupport/)
 * (@blog2socialsupport)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-167/#post-12258454)
 * Hello [@samguy007](https://wordpress.org/support/users/samguy007/),
 * Thank you for reaching out.
 * To support you in the best way, could you tell me which PHP version do you use?
 * I am looking forward to your answer.
 * Thanks and kind regards.
 *  Thread Starter [samguy007](https://wordpress.org/support/users/samguy007/)
 * (@samguy007)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-167/#post-12258470)
 * I really don’t know which version it is. how do i check this as i can’t login
   into my WordPress due to the error
 *  [Blog2Social-Support](https://wordpress.org/support/users/blog2socialsupport/)
 * (@blog2socialsupport)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-167/#post-12258557)
 * Hello [@samguy007](https://wordpress.org/support/users/samguy007/),
 * Thank you for your reply.
 * The PHP version is not shown in public. There are 2 ways you can find out which
   version you have:
 * 1. You can find it out on your own. To do this you can follow this link, there
   is explained which steps you can take: [https://www.thoughtco.com/what-version-of-php-running-2694207](https://www.thoughtco.com/what-version-of-php-running-2694207)
 * 2. You can also get in contact with your hoster. The hoster can tell you which
   PHP version you have. We think that this is your hoster: [https://www.bluehost.com/](https://www.bluehost.com/)
 * Let me know if you have new information.
 * Thanks and kind regards.
 *  Thread Starter [samguy007](https://wordpress.org/support/users/samguy007/)
 * (@samguy007)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-167/#post-12259950)
 * i followed the instruction and got this:
 * PHP Version 5.3.29
    -  This reply was modified 6 years, 5 months ago by [samguy007](https://wordpress.org/support/users/samguy007/).
    -  This reply was modified 6 years, 5 months ago by [samguy007](https://wordpress.org/support/users/samguy007/).
 *  Thread Starter [samguy007](https://wordpress.org/support/users/samguy007/)
 * (@samguy007)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-167/#post-12259965)
 * My PHP Version:
 * PHP Version 5.3.29
 *  Thread Starter [samguy007](https://wordpress.org/support/users/samguy007/)
 * (@samguy007)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-167/#post-12260427)
 * this is the code in line 265 of tools.php
 * $ver = ” (Blog2Social ” . esc_html__(‘License’, ‘blog2social’) . “: ” . unserialize(
   B2S_PLUGIN_VERSION_TYPE)[$userDetails[‘B2S_PLUGIN_USER_VERSION’]] . “)”;
 *  Thread Starter [samguy007](https://wordpress.org/support/users/samguy007/)
 * (@samguy007)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-167/#post-12260566)
 * resolved it by removing the plugin folder from /plugins
 *  [Blog2Social-Support](https://wordpress.org/support/users/blog2socialsupport/)
 * (@blog2socialsupport)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-167/#post-12263881)
 * Hello [@samguy007](https://wordpress.org/support/users/samguy007/)
 * Thank you for the information.
 * To run Blog2Social, your blog needs to have at least PHP Version 5.5.3
 * Please make sure that you update this and that your blog also meets the other
   system requirements to run Blog2Social:
    [https://www.blog2social.com/en/faq/index.php?action=artikel&cat=1&id=58&artlang=en](https://www.blog2social.com/en/faq/index.php?action=artikel&cat=1&id=58&artlang=en)
 * Thanks and kind regards.

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

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

 * ![](https://ps.w.org/blog2social/assets/icon-256x256.png?rev=3076476)
 * [Blog2Social: Social Media Auto Post & Scheduler](https://wordpress.org/plugins/blog2social/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/blog2social/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/blog2social/)
 * [Active Topics](https://wordpress.org/support/plugin/blog2social/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/blog2social/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/blog2social/reviews/)

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)
 * [update](https://wordpress.org/support/topic-tag/update/)

 * 8 replies
 * 2 participants
 * Last reply from: [Blog2Social-Support](https://wordpress.org/support/users/blog2socialsupport/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-167/#post-12263881)
 * Status: resolved