Title: PHP Error
Last modified: November 23, 2016

---

# PHP Error

 *  Resolved [steviedeeee](https://wordpress.org/support/users/steviedeeee/)
 * (@steviedeeee)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/php-error-213/)
 * Hello,
 * I am unable to install this plugin due to a fatal error.
 * Fatal error: Uncaught exception ‘Exception’ with message ‘The Facebook SDK requires
   PHP version 5.4 or higher.’ in /home/xxx/facebook-auto-publish/api/Facebook/autoload.
   php:32 Stack trace: #0 /home/xxx/wp-content/plugins/facebook-auto-publish/facebook-
   auto-publish.php(53): require_once() #1 /home/xxx/wp-admin/includes/plugin.php(
   1943): include(‘/home/langua22/…’) #2 /home/xxx/wp-admin/plugins.php(164): plugin_sandbox_scrape(‘
   facebook-auto-p…’) #3 {main} thrown in /home/xxx/wp-content/plugins/facebook-
   auto-publish/api/Facebook/autoload.php on line 32
 * A quick google search “Facebook Auto Publish Fatal error: Uncaught exception ‘
   Exception’ with message ‘The Facebook SDK requires PHP version 5.4 or higher”
   lists many websites with the same problem that haven’t been noticed or fixed.
   Any suggestion on what to do to fix this?
 * Your plugin is really great, and I would like to keep using it.
 * Thanks!

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

 *  [aarclay](https://wordpress.org/support/users/aarclay/)
 * (@aarclay)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/php-error-213/#post-8480004)
 * Your PHP is out of date. Ask your hosting to update PHP to version 5.6 or 7.
 *  Thread Starter [steviedeeee](https://wordpress.org/support/users/steviedeeee/)
 * (@steviedeeee)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/php-error-213/#post-8483496)
 * Yes, that’s correct. My server was reporting that I had 5.6 installed, when in
   fact it was still at 5.3. The hosting has fixed this and now the plugin works
   perfectly. 🙂
 * Thank you!

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

The topic ‘PHP Error’ is closed to new replies.

 * ![](https://ps.w.org/facebook-auto-publish/assets/icon-128x128.png?rev=2124304)
 * [WP2Social Auto Publish](https://wordpress.org/plugins/facebook-auto-publish/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/facebook-auto-publish/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-auto-publish/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-auto-publish/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-auto-publish/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-auto-publish/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [steviedeeee](https://wordpress.org/support/users/steviedeeee/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/php-error-213/#post-8483496)
 * Status: resolved