lazy-blocks
lazy-blocks copied to clipboard
Error on Pro plugin activation: The plugin does not have a valid header.
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.
Looks like when we just uploaded zip file, WP determine the wrong file of the plugin.
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)