Title: Error
Last modified: August 20, 2016

---

# Error

 *  [Jo Mendes](https://wordpress.org/support/users/jo-mendes/)
 * (@jo-mendes)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/error-64/)
 * Fatal error: Uncaught exception ‘Exception’ with message ‘Facebook needs the 
   CURL PHP extension.’ in C:\xampp\htdocs\classificados\wp-content\themes\ClassiPress
   v3.1.4\classipress-314\includes\lib\fb\facebook.php:20 Stack trace: #0 C:\xampp\
   htdocs\classificados\wp-content\themes\ClassiPress v3.1.4\classipress-314\includes\
   theme-facebook.php(61): require_once() #1 [internal function]: cp_facebook_instance(”)#
   2 C:\xampp\htdocs\classificados\wp-includes\plugin.php(405): call_user_func_array(‘
   cp_facebook_ins…’, Array) #3 C:\xampp\htdocs\classificados\wp-settings.php(302):
   do_action(‘init’) #4 C:\xampp\htdocs\classificados\wp-config.php(90): require_once(‘
   C:\xampp\htdocs…’) #5 C:\xampp\htdocs\classificados\wp-load.php(29): require_once(‘
   C:\xampp\htdocs…’) #6 C:\xampp\htdocs\classificados\wp-blog-header.php(12): require_once(‘
   C:\xampp\htdocs…’) #7 C:\xampp\htdocs\classificados\index.php(17): require(‘C:\
   xampp\htdocs…’) #8 {main} thrown in C:\xampp\htdocs\classificados\wp-content\
   themes\ClassiPress v3.1.4\classipress-314\includes\lib\fb\facebook.php on line
   20

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

 *  Thread Starter [Jo Mendes](https://wordpress.org/support/users/jo-mendes/)
 * (@jo-mendes)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/error-64/#post-2323664)
 * line 20 is –
 * if (!function_exists(‘curl_init’)) {
    throw new Exception(‘Facebook needs the
   CURL PHP extension.’); } if (!function_exists(‘json_decode’)) { throw new Exception(‘
   Facebook needs the JSON PHP extension.’); }
 *  [Ryan Yu](https://wordpress.org/support/users/geeksfolder/)
 * (@geeksfolder)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/error-64/#post-2323683)
 * Hi Jo,
 * Check your server if it allows CURL.
    If not, ask your hosting company to enable
   CURL.

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

The topic ‘Error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Ryan Yu](https://wordpress.org/support/users/geeksfolder/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/error-64/#post-2323683)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
