• Resolved meshsmith

    (@meshsmith)


    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

    (@htmlburger)

    Hi @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

    (@meshsmith)

    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://www.ads-software.com/plugins/svgility-gallery-basic-version/

    • This reply was modified 8 years, 1 month ago by meshsmith.
    Thread Starter meshsmith

    (@meshsmith)

    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

    (@htmlburger)

    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.