• Resolved coldrealms65

    (@coldrealms65)


    Adding the plugin and attempting to activate it and I am presented with the following error: “The plugin does not have a valid header.”

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Hasan CALISIR

    (@psauxit)

    Hello @coldrealms65

    The error “The plugin does not have a valid header” is likely caused by a corrupt main plugin file in 2.0.7, incorrect line endings (LF vs CRLF), or character encoding issues. To resolve this:

    1. Update to Version 2.0.8: Ensure you’re using the latest version, which fixes this issue.
    2. Deactivate and Reactivate: Try deactivating and reactivating the plugin after the update.
    3. Uninstall and Reinstall: If the issue persists, uninstall and reinstall the plugin to remove any corrupted files.

    This should resolve the problem. If it doesn’t, let me know, and we can explore further.

    Thread Starter coldrealms65

    (@coldrealms65)

    That worked, thanks.
    Messed around with the regex for my unusual key setup and couldn’t get it to work, but then even after resetting it to default and changing the keys on the test site to the default format –

        fastcgi_cache_key "$scheme$request_method$host$request_uri";

    It still shows an error. Can we move this to email so I can shoot you some images and chat privately?

    Plugin Author Hasan CALISIR

    (@psauxit)

    Hello @coldrealms65

    I’m glad the initial issue was resolved! I’ll go ahead and mark this topic as resolved now.

    As for the new issue with the regex, I recommend starting a new topic so we can focus on it separately. This way, others facing similar issues can also benefit from the solution.

    For the new regex issue, please follow the steps below and share the results:

    1. Restore your original custom fastcgi_cache_key
    2. Restart both the Nginx and PHP-FPM services.
    3. Restore plugin options to Default.
    4. Preload All cache.
    5. Clear the plugin cache from the “Status” tab, and then share a screenshot of the “Status” tab.
    6. Navigate to your Nginx cache path, and provide the KEY: line value inside one of the cache files. To find your exact KEY: line follow below steps.

    For example I assume your cache path is –> /dev/shm/fastcgi-cache-psauxit-npp/

    cat /dev/shm/fastcgi-cache-psauxit-npp/0/49/19b0a92c9fab36cc6d326b68fd8f0490
    KEY: httpsGETwww.psauxit.com/tag/npp-wordpress/

    This will help in diagnosing the issue further. I look forward to helping you in the new topic!

    Please hide sensetive informations like you website URL!

    Best~Hasan

    • This reply was modified 3 months, 1 week ago by Hasan CALISIR.
    • This reply was modified 3 months, 1 week ago by Hasan CALISIR. Reason: typo
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.