Title: Using framework in plugin in my plugin
Last modified: October 17, 2016

---

# Using framework in plugin in my plugin

 *  Resolved [meshsmith](https://wordpress.org/support/users/meshsmith/)
 * (@meshsmith)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/using-framework-in-plugin-in-my-plugin/)
 * I had to delete your frameworks header information because it was causing a PHP
   not valid error whenever I tried to activate via the repository or directly upload
   from desktop.
 * Are you guys okay with removing the header from your framework? If not, do you
   have a solution for this?

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

 *  Plugin Author [htmlBurger](https://wordpress.org/support/users/htmlburger/)
 * (@htmlburger)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/using-framework-in-plugin-in-my-plugin/#post-8322711)
 * Hi [@meshsmith](https://wordpress.org/support/users/meshsmith/)!
 * Can you please provide a little bit more information about the error you got?
   Please include the exact error message.
 * Also, please let us know what PHP version you’re using.
 * Thanks!
 *  Thread Starter [meshsmith](https://wordpress.org/support/users/meshsmith/)
 * (@meshsmith)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/using-framework-in-plugin-in-my-plugin/#post-8323108)
 * I’m between 5.3 and 5.6 PHP between WAMP and Web host.
 * The error I was getting was the: “This plugin does not have a valid header”.
 * The solution I found was that it was apparently reading both headers in my plugin’s
   folder.
    Header 1: Top-level folder -> My plugin.php Header 2: Top-level folder-
   > Carbon Fields Folder -> carbon-fields-plugin.php
 * I deleted the header for carbon-fields-plugin.php and no more error. You can 
   download my plugin and add the header back to your plugin file and see what happens
   when you try to activate it after using WordPress’s autouploader.
 * [https://wordpress.org/plugins/svgility-gallery-basic-version/](https://wordpress.org/plugins/svgility-gallery-basic-version/)
    -  This reply was modified 9 years, 7 months ago by [meshsmith](https://wordpress.org/support/users/meshsmith/).
 *  Thread Starter [meshsmith](https://wordpress.org/support/users/meshsmith/)
 * (@meshsmith)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/using-framework-in-plugin-in-my-plugin/#post-8347833)
 * Hello,
 * Checking to see if you guys have had time to look into the issue. If is not okay
   with what I did then please let me know because I would need to build away the
   areas supported by the framework.
 *  Plugin Author [htmlBurger](https://wordpress.org/support/users/htmlburger/)
 * (@htmlburger)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/using-framework-in-plugin-in-my-plugin/#post-8497245)
 * Hey@meshsmith,
 * Unfortunately I can’t reproduce this issue. What I did:
 *  1. installed your plugin
    2. added the CF plugin headers to carbon-fields-plugin.
   php 3. activated the plugin
 * The plugin activation was successful.
 * Can you please give a step by step guide how it can be reproduced? Thanks.

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

The topic ‘Using framework in plugin in my plugin’ is closed to new replies.

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

 * 4 replies
 * 2 participants
 * Last reply from: [htmlBurger](https://wordpress.org/support/users/htmlburger/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/using-framework-in-plugin-in-my-plugin/#post-8497245)
 * Status: resolved