Title: Fatal error: can not create folder
Last modified: August 22, 2016

---

# Fatal error: can not create folder

 *  [Joanne](https://wordpress.org/support/users/bluejpro/)
 * (@bluejpro)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-can-not-create-folder/)
 * Hello – I would love to use your plugin.
 * I’ve also got Easy Mailchimp Forms installed.
 * [https://wordpress.org/plugins/yikes-inc-easy-mailchimp-extender/](https://wordpress.org/plugins/yikes-inc-easy-mailchimp-extender/)
 * I can activate your plugin with that one disabled.
 * But if I enable the Eas Maichimp Forms plugin, I can not activate yours. Here
   is the error:
 * Fatal Error: Cannot redeclare class Mailchimp_Folders in [path]
 * Is there a way to check whether the class is declared, and activate accordingly?
 * Thanks for the very cool looking plugin. I wish I could try it!
 * [https://wordpress.org/plugins/contact-form-7-autoresponder-addon-plugin/](https://wordpress.org/plugins/contact-form-7-autoresponder-addon-plugin/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [wpsolutions](https://wordpress.org/support/users/wpsolutions/)
 * (@wpsolutions)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-can-not-create-folder/#post-5581881)
 * Hi,
 * > Is there a way to check whether the class is declared, and activate accordingly?
 * I’m using a PHP wrapper library for the MailChimp API and am checking if the 
   main library class is already declared – if it is I do not load the file.
 * This would also be a great question to ask of the developer of the “Easy Maichimp
   Forms plugin” too 🙂
 * For instance I would ask them if they could apply some checks inside the following
   file of their plugin:
    **classes\MCAPI_2.0.class.php**
 * See below for example code of the types of checks I mean:
 *     ```
       if (!class_exists('Mailchimp_Folders')) {
       	require_once YKSEME_PATH.'/Mailchimp/Folders.php';
       }
   
       if (!class_exists('Mailchimp_Templates')) {
       	require_once YKSEME_PATH.'/Mailchimp/Templates.php';
       }
   
       if (!class_exists('Mailchimp_Users')) {
       	require_once YKSEME_PATH.'/Mailchimp/Users.php';
       }
       ......
       etc
       ```
   
 * The above checks will prevent an error such as the one you are seeing.

Viewing 1 replies (of 1 total)

The topic ‘Fatal error: can not create folder’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/contact-form-7-autoresponder-addon-
   plugin.svg)
 * [CF7 AutoResponder Addon](https://wordpress.org/plugins/contact-form-7-autoresponder-addon-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-autoresponder-addon-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-autoresponder-addon-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-autoresponder-addon-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-autoresponder-addon-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-autoresponder-addon-plugin/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [wpsolutions](https://wordpress.org/support/users/wpsolutions/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-can-not-create-folder/#post-5581881)
 * Status: not resolved