Title: Theme Generates PHP Errors in Multisite Install
Last modified: August 30, 2016

---

# Theme Generates PHP Errors in Multisite Install

 *  [kalel35](https://wordpress.org/support/users/kalel35/)
 * (@kalel35)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/theme-generates-php-errors-in-multisite-install/)
 * I was just wondering how to determine if a WP Theme is incompatible with Multisite?
   I have a premium theme that I have used several times on single installs without
   any issues.
 * I then installed it on a Mutlisite Network that didn’t have any additional subdomains
   yet. Still no issue, but when I installed it on a Multisite with a couple additonal
   subdomains it started throwing php errors.
 *     ```
       domsin/public_html/wp-content/plugins/js_composer/js_composer.php): failed to open stream: No such file or directory in /home/domain/public_html/wp-includes/functions.php on line 4305
   
       Warning: fread() expects parameter 1 to be resource, boolean given in /home/homeremarkable/public_html/wp-includes/functions.php on line 4308
   
       Warning: fclose() expects parameter 1 to be resource, boolean given in /home/domain/public_html/wp-includes/functions.php on line 4311
   
       Warning: fopen(/home/domain/public_html/wp-content/plugins/js_composer/js_composer.php): failed to open stream: No such file or directory in /home/domain/public_html/wp-includes/functions.php on line 4305
   
       Warning: fread() expects parameter 1 to be resource, boolean given in /home/domain/public_html/wp-includes/functions.php on line 4308
   
       Warning: fclose() expects parameter 1 to be resource, boolean given in /home/domain/public_html/wp-includes/functions.php on line 4311
   
       Warning: fopen(/home/domain/public_html/wp-content/plugins/js_composer/js_composer.php): failed to open stream: No such file or directory in /home/domain/public_html/wp-includes/functions.php on line 4305
   
       Warning: fread() expects parameter 1 to be resource, boolean given in /home/domain/public_html/wp-includes/functions.php on line 4308
   
       Warning: fclose() expects parameter 1 to be resource, boolean given in /home/domain/public_html/wp-includes/functions.php on line 4311
   
       Warning: fopen(/home/domain/public_html/wp-content/plugins/js_composer/js_composer.php): failed to open stream: No such file or directory in /home/domain/public_html/wp-includes/functions.php on line 4305
   
       Warning: fread() expects parameter 1 to be resource, boolean given in /home/domain/public_html/wp-includes/functions.php on line 4308
   
       Warning: fclose() expects parameter 1 to be resource, boolean given in /home/domain/public_html/wp-includes/functions.php on line 4311
   
       Warning: Cannot modify header information - headers already sent by (output started at /home/domain/public_html/wp-includes/functions.php:4305) in /home/domain/public_html/wp-includes/option.php on line 787
   
       Warning: Cannot modify header information - headers already sent by (output started at /home/domain/public_html/wp-includes/functions.php:4305) in /home/domain/public_html/wp-includes/option.php on line 788
       ```
   
 * And it would throw the errors whether the Theme was Network Activated or not.
   All the errors would appear on the dashboard above the screen options.
 * The theme itself will work on the Primary domain…but on the subdomain it throws
   front end errors as well.
 * `Warning: Invalid argument supplied for foreach() in /home/domain/public_html/
   wp-content/themes/LocalBusinessTheme/inc/options_variables.php on line 7`
 * The main URL is [http://remarkablehomeservices.com/](http://remarkablehomeservices.com/)
   
   Subdomain with errors [http://jacksonville.remarkablehomeservices.com/](http://jacksonville.remarkablehomeservices.com/)
 * I have contacted theme developers as well. Just posting here to cover my bases.
   Thanks.

The topic ‘Theme Generates PHP Errors in Multisite Install’ is closed to new replies.

## Tags

 * [multisite](https://wordpress.org/support/topic-tag/multisite/)
 * [PHP errors](https://wordpress.org/support/topic-tag/php-errors/)
 * [theme compatibility](https://wordpress.org/support/topic-tag/theme-compatibility/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 0 replies
 * 1 participant
 * Last reply from: [kalel35](https://wordpress.org/support/users/kalel35/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/theme-generates-php-errors-in-multisite-install/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
