The plugin does not have a valid header.
-
Hi,
I’ve just installed the Content Control plugin and when trying to activate it I get this message:The plugin does not have a valid header.
I turned on WP_DEBUG and immediately try to activate the Content Control plugin. I get a number of instances of the message below (about 7 or 8) followed by the “The plugin does not have a valid header.” message.
Notice: WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.) in /home/c1racing/public_html/dev/wp-includes/functions.php on line 5313
The plugin does not have a valid header.On the basis that nothing else is going on in the website (I’m trying this on a copy of my live site) these DEBUG messages must be generated by the code that is activating the Content Control plugin. I’m running WordPress 5.7 and PHP 7.3.
The topic ‘The plugin does not have a valid header.’ is closed to new replies.