I want to unzip more than 2 folders in plugin folder by word press functions, and i got succeed to do that and with extraction of the plugin i wanted to activate that so i used activate_plugin() function, but getting The plugin does not have a valid header error.

Read more here: The plugin does not have a valid header on activate plugin by code


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: