Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on Pro plugin activation: The plugin does not have a valid header. #290

Closed
gettonet opened this issue Jul 5, 2023 · 1 comment
Closed
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@gettonet
Copy link

gettonet commented Jul 5, 2023

Issue description:

After installing and clicking Activate, Wordpress reports error: "The plugin does not have a valid header."
After returning to plugins page, clicking on "Activate" activates plugin and all is fine.

Lazy Blocks Version:

3.4.2

WordPress Version:

6.2.2.

@nk-o
Copy link
Collaborator

nk-o commented Jul 10, 2023

Looks like when we just uploaded zip file, WP determine the wrong file of the plugin.

Shot 2023-07-10 at 09 19 10

This button contains this URL:

https://example/wp-admin/plugins.php?action=activate&plugin=lazy-blocks-pro%2Fcore-plugin%2Flazy-blocks.php

While the correct one is:

https://example/wp-admin/plugins.php?action=activate&plugin=lazy-blocks-pro%2Flazy-blocks-pro.php

I'm not sure how to fix this correctly. Maybe we have to remove the header comment from the core plugin php file (lazy-blocks-pro/core-plugin/lazy-blocks.php)

@nk-o nk-o added bug Something isn't working help wanted Extra attention is needed labels Jul 10, 2023
@nk-o nk-o closed this as completed May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants