• Resolved Pierre

    (@ierpe)


    Hi there, I hope you’re well !

    I’ve successfully installed and used your plugin on various sites, but I’m having a problem on one site.

    The conversion is starting successfully, I can see the webp files being created, but then at some point I am getting the error : “There is a critical error on your site”

    I’ve turned on debug display and debug log, but no error concerning your plugin (or no fatal error actually) is being showed.

    Since it’s working to some point, I’m guessing it could be a problematic image or other file…?

    Do you have an idea of what could be the problem or if there’s a way to display the error ?

    Cheers

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hello @ierpe,

    Thanks for your message.

    What exactly is the error message displayed?

    Best,
    Mateusz

    Thread Starter Pierre

    (@ierpe)

    “There is a critical error on your site”

    Screenshot

    Just like when there’s a 500 server error, but once again, the site is working, the conversion is starting fine. I’m guessing for a file error but without an error message it’s hard to identify the problem…

    In the screenshot there’s a 0% conversion progression because I just relaunched it, but if I force it for all files, the conversion is running fine for a while

    • This reply was modified 3 years, 8 months ago by Pierre.
    • This reply was modified 3 years, 8 months ago by Pierre.
    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @ierpe Usually the problem is low memory on the server (memory_limit). This may have to do with a specific image that is large and requires a large amount of memory to be converted.

    Thread Starter Pierre

    (@ierpe)

    thanks, I will try this and will let you know how it went !

    Thread Starter Pierre

    (@ierpe)

    Hi, I’ve tried raising PHP and WP memory limits (up to 1GB…) but I still have the error and no error message.

    I’ve check php and nginx access and error logs but there’s no message anywhere… I’m at loss.

    Is there a way to trigger conversion in verbose mode ? With WP-CLI for example ?
    If I could identify the problematic file or folder I could debug further but right now I cannot think of anything else…

    Cheers

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hello @ierpe,

    Thanks for your message.

    Forgive me for the long waiting time for a response. You can check it using Dev Tools in the Network tab. All connections to the REST API are visible there. By clicking on the details of such a request, you will be able to check the paths to which this query relates.

    Did you find something?

    Best,
    Mateusz

    Thread Starter Pierre

    (@ierpe)

    Hi, thanks for your answer.

    There was nothing in the DevTools either.

    In the end, I pulled everything locally and on my local server the error was displayed and the conversion wen through.

    The problem was that some files were invalid (0kb).

    Not sure why the error showed on my local server and not on the production server, but maybe because the production server was an nginx server … ?

    I solved it by uploading all converted files back on the production server so now the problem is solved.

    Best

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @ierpe Could you please send me examples of such original files?

    Thread Starter Pierre

    (@ierpe)

    Where can I send you a file ? The image uploader services won’t take it

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @ierpe Use e.g. WeTransfer.

    Thread Starter Pierre

    (@ierpe)

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @ierpe Your image is empty. Therefore, the plugin was unable to convert it. It’s normal. Delete this file.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Conversion working to a point, then failing with no clear error message’ is closed to new replies.