WordPress’ error message: The plugin has no valid header

Marc Wag­ner

June 15, 2021

1 min read|

The error mes­sa­ge is trig­ge­red by Word­Press. It is loca­ted in the file wp-admin/includes/plugin.php at line 1108.

image 58
The plug­in has no valid hea­der — trig­ger

The error is trig­ge­red as soon as the plug­in hea­der requi­re­ments are not given.

image 59
Struc­tu­re of a hea­der, source: wordpress.org

Requi­re­ments for the hea­der can be found in the Word­Press plug­in manu­al.

Solu­ti­on:

First, you should check if the appli­ca­ti­on is a Word­Press plug­in.

If so, it is recom­men­ded that you manu­al­ly re-upload the appli­ca­ti­on to your ser­ver. The best way to do this is to use an FTP cli­ent. In some cases, it can hap­pen that files can­not be writ­ten cor­rect­ly.

If you have pro­grammed the plug­in yours­elf, check if the hea­der in your plug­in file is cor­rect (see abo­ve).

88e86fcb816eff22bc917094df2862d8dd5c0e978b333e6dd5f36f808990c261 96

Arti­kel von:

Marc Wag­ner

Hi Marc here. I’m the foun­der of Forge12 Inter­ac­ti­ve and have been pas­sio­na­te about buil­ding web­sites, online stores, appli­ca­ti­ons and SaaS solu­ti­ons for busi­nesses for over 20 years. Befo­re foun­ding the com­pa­ny, I alre­a­dy work­ed in publicly lis­ted com­pa­nies and acqui­red all kinds of know­ledge. Now I want to pass this know­ledge on to my cus­to­mers.

Hast du eine Fra­ge? Hin­ter­lass bit­te einen Kom­men­tar