Title: functions.php errors
Last modified: August 20, 2016

---

# functions.php errors

 *  [noisegate95](https://wordpress.org/support/users/noisegate95/)
 * (@noisegate95)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/functionsphp-errors/)
 * Not being a php person, I come to the web for answers to the “coding and developer”
   issues. My site is [http://blog.noisegate95.com](http://blog.noisegate95.com).
 * All of a sudden I am getting errors at the bottom of the page. I am using the
   latest Mantra theme. Could someone point me in the right direction?
 * ex. Warning: fopen() [function.fopen]: URL file-access is disabled in the server
   configuration
 * Warning: fopen([http://blog.noisegate95.com/wp-content/themes/mantra/style.css](http://blog.noisegate95.com/wp-content/themes/mantra/style.css))[
   function.fopen]: failed to open stream: no suitable wrapper could be found in/
   home/dsdsysn1/public_html/blog/wp-includes/functions.php on line 4452
 * Thanks a million.

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

 *  [farzher](https://wordpress.org/support/users/farzher/)
 * (@farzher)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/functionsphp-errors/#post-2627208)
 * Wow, line 4452 o_o
 * I hate this error… it’s caused by your server because it has allow_url_fopen 
   set to OFF.
 * You could either try not using fopen by commenting out that line if you don’t
   need it, or look up how to set allow_url_fopen to ON, maybe contact your hosting
   for support.
 * I don’t know any simple way of changing it, switching it to on in php.ini or .
   htaccess never seems to work.
 *  Thread Starter [noisegate95](https://wordpress.org/support/users/noisegate95/)
 * (@noisegate95)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/functionsphp-errors/#post-2627228)
 * That seems to have did the trick. Not sure what all he stuff means, but it got
   rid of the errors. Thanks for the quick response.
 * // $fp = fopen( $file, ‘r’ );
 *  // Pull only the first 8kiB of the file in.
    // $file_data = fread( $fp, 8192);
 *  // PHP will close file handle, but we are good citizens.
    // fclose( $fp );
 *  Thread Starter [noisegate95](https://wordpress.org/support/users/noisegate95/)
 * (@noisegate95)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/functionsphp-errors/#post-2627350)
 * Ahhh, maybe not so fast. After doing the changes above, when I go into my plugins,
   each and every one of them are disabled.
    They all have the error: The plugin
   xcloner-backup-and-restore/xcloner.php has been deactivated due to an error: 
   The plugin does not have a valid header. When removing the //, everything comes
   back to normal, and I have to go down the line to activate each one. Not good.

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

The topic ‘functions.php errors’ is closed to new replies.

 * 3 replies
 * 2 participants
 * Last reply from: [noisegate95](https://wordpress.org/support/users/noisegate95/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/functionsphp-errors/#post-2627350)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
