• Resolved kristinubute

    (@kristinubute)


    Hi

    I’m trying to install your plugin and says The plugin does not have a valid head

    What is causing this ?
    Is this an issue with the version ?

    Thanks
    Kristin

Viewing 12 replies - 1 through 12 (of 12 total)
  • MeToo : When activating, it tells “The plugin does not have a valid header”

    WP 6.02
    Code Snippets 3.2.1 (1 week ago) claims to be tested and compliant with my WP version

    Solution:
    A second try in the list of installed plugins worked

    The error continues, it cannot be activated

    Same here, cannot activate from “Add Plugin” but can activate from the plugin list :/

    I had the same problem, but was able to activate it from the Installed Plugins page.

    We have the same problem. Our agency uses about 250 installations of “Code Snippets” in very heterogenous WordPress installations – installed over the last years on different servers and we didn’t see this problem anywhere so far.

    As all of you described before this problem only occurs directly after a new installation of this plugin when we try to activate it right after/from the installation dialog. It doesn’t occur if we activate the plugin from the plugins page.

    It happens with PHP 7.4 and PHP 8.1, too. We guess it should be the last update of this plugin that introduced this bug.

    We would be happy to read something from the plugin author in this 11 days old thread.

    @bungeshea if you wish to reproduce this problem easily just get you a fresh WP installation at wpsandbox.net and only install (and directly activate) your plugin. That’s enough.

    Greetings,
    -doffine

    Plugin Author Shea Bunge

    (@bungeshea)

    Looks like there was a hitch in how it was deployed – should be sorted now for new downloads from www.ads-software.com.

    Well, I’m using the plugin for 2 years now, and today suddenly the code editor did not display the usua; css style, not did it heed the poreferences (like: no line numbers). Then I downloaded the plugin from www.ads-software.com an re?nstalled it over the previous installation. That did not help, because I can’t activate the plugin because of the header issue. Whenlooking at the plugin list I see the plugin is activated already. Then I tried to de-activate and re-activate the plugin. No ‘plugin has no valid header’ this time, it just activated. But the editor still shows no editor styles or preferences, so something is still wrong. Hope you can fix it….

    • This reply was modified 2 years, 1 month ago by hansvannoord.

    i have just downloaded the latest version of the plugin and am still getting the error:
    “The plugin does not have a valid header”
    Can you please provide an answer as what it could be caused by? many thanks

    hansvannoord

    (@hansvannoord)

    To comppount the problems: I just discovered that the codeMirror css is also used by Elementor (for custom code and custom font pages) and also the theme editor uses it, so now when I want to edit functions.php, I get the same white sheet without codeMirror CSS. Very troubling…. I hope you can fix the issue, I’ll cross my fingers and burn an incence ??

    tarekelnemrawy

    (@tarekelnemrawy)

    same problem on local machine

    hansvannoord

    (@hansvannoord)

    Follow up:

    I just discovered that if I make a new user with admin rights (and hence a new user ID), the codeMirror css is loaded as usual.

    Is the problem connected with my main admin user ID (which is ‘1’, as it is by default)??

    Plugin Author Shea Bunge

    (@bungeshea)

    Hi @hansvannoord, can you please make a new thread with this new issue? Things can get confusing otherwise. Thanks!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘error The plugin does not have a valid head’ is closed to new replies.