Title: Not working when using shared plugin folder
Last modified: August 20, 2016

---

# Not working when using shared plugin folder

 *  Resolved [Vincent Mimoun-Prat](https://wordpress.org/support/users/vprat/)
 * (@vprat)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/not-working-when-using-shared-plugin-folder/)
 * Hi,
 * The plugin fails to include the widget and functions php files when WordPress
   is configured to use a shared wp-content folder.
 * Here is the fix (lines 32/33 of the plugin php file):
 *     ```
       require(plugin_dir_path( __FILE__ ) . '/widget.php');
         require(plugin_dir_path( __FILE__ ) . '/functions.php');
       ```
   
 * [http://wordpress.org/extend/plugins/user-files/](http://wordpress.org/extend/plugins/user-files/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Scriptonite](https://wordpress.org/support/users/scriptonite/)
 * (@scriptonite)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/not-working-when-using-shared-plugin-folder/#post-3637409)
 * Thanks for sharing this, this coding oversight has been corrected in the upcoming
   release.

Viewing 1 replies (of 1 total)

The topic ‘Not working when using shared plugin folder’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/user-files.svg)
 * [user files](https://wordpress.org/plugins/user-files/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-files/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-files/)
 * [Active Topics](https://wordpress.org/support/plugin/user-files/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-files/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-files/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Scriptonite](https://wordpress.org/support/users/scriptonite/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/not-working-when-using-shared-plugin-folder/#post-3637409)
 * Status: resolved