Title: Includes disappearing
Last modified: August 21, 2016

---

# Includes disappearing

 *  Resolved [doclalor](https://wordpress.org/support/users/doclalor/)
 * (@doclalor)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/includes-disappearing/)
 * This is a great plugin – it’s the first javascript/css plugin in WP 3.5.2 that
   I have found to be compatible with the “Shortcode Exec PHP” plugin. I am very
   pleased about that!
 * But… once I have my css & javascript includes saved with my page, each time I“
   Update” that page, one of the includes disappears. I just add it again (after
   each change to the page’s content).
 * Any idea why?
 * Thanks for the plugin!
    ~Brendan
 * [http://wordpress.org/plugins/post-head-includes/](http://wordpress.org/plugins/post-head-includes/)

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

 *  Thread Starter [doclalor](https://wordpress.org/support/users/doclalor/)
 * (@doclalor)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/includes-disappearing/#post-3974528)
 * The plugin let go of my post head includes again (one css and one js file). When
   I got to the relevant page on my site today, I received this error message:
 *     ```
       Warning: implode(): Invalid arguments passed in [my site root]/plugins/post-head-includes/item.php on line 93
   
       Warning: implode(): Invalid arguments passed in [my site root]/plugins/post-head-includes/item.php on line 93
       ```
   
 * When I went to edit the page, the previously attached files were missing. Once
   I explicitly reattached them, it worked fine.
 * Does the above error provide a clue as to why the plugin drops the files?
 * Line 93 is the second line of the following function:
 *     ```
       public function getDeps() {
               if((implode(',',$this->getData('deps')))=='')
                   return false;
   
               return $this->getData('deps');
           }
       ```
   
 * Thanks! Its functionality is great, and will hopefully be made smooth.
    ~Brendan
 *  Plugin Author [Rick Buczynski](https://wordpress.org/support/users/rbuczynski/)
 * (@rbuczynski)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/includes-disappearing/#post-3974563)
 * Brendan, Thanks for the good feedback. I’m thankful that you appreciate my work.
 * Sorry you’re experiencing some issues, though. I can see the problem with that
   line of code. I guess I was lazily combining operations.
 * I’ll add it to my to-do list for this Friday, and so you should hopefully see
   a fix by the weekend.
 *  Plugin Author [Rick Buczynski](https://wordpress.org/support/users/rbuczynski/)
 * (@rbuczynski)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/includes-disappearing/#post-3974590)
 * Getting back to you, I wasn’t able to reproduce your problem. But I looked over
   the code, and found some potential issues with how it saves the includes to the
   database. So I corrected them. Try it now by upgrading your plugin to the latest(
   0.2.1).
 * If that doesn’t help, please open a new support thread and give me more information;
   specifically, the entire configuration for each of these files (paths, dependencies,
   version, in footer, etc …).

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

The topic ‘Includes disappearing’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/post-head-includes_363843.svg)
 * [Post Head Includes](https://wordpress.org/plugins/post-head-includes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-head-includes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-head-includes/)
 * [Active Topics](https://wordpress.org/support/plugin/post-head-includes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-head-includes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-head-includes/reviews/)

## Tags

 * [compatibility](https://wordpress.org/support/topic-tag/compatibility/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [data-loss](https://wordpress.org/support/topic-tag/data-loss/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 3 replies
 * 2 participants
 * Last reply from: [Rick Buczynski](https://wordpress.org/support/users/rbuczynski/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/includes-disappearing/#post-3974590)
 * Status: resolved