• Resolved kivvi72

    (@kivvi72)


    Hello guys,
    First time I got such an error while trying to convert images:

    Wyst?pi? nieznany b??d podczas po??czenia z REST API. Spróbuj ponownie.
    404 – Not Found (https://localhost/###/wp-json/webp-converter/v1/paths?_wpnonce=541275d7ca)

    I was struggling with gzip compression in xampp and I destroyed plenty of stuff in my project. Seems that this plugin is next one.

    Anyway this is what I got in debug.log:

    [22-Nov-2021 09:05:02 UTC] PHP Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in C:\xampp\htdocs\###\wp-includes\functions.php on line 5107
    [22-Nov-2021 09:05:02 UTC] PHP Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in C:\xampp\htdocs\###\wp-includes\functions.php on line 5107

    Any help would be much appreciated!

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

    (@mateuszgbiorczyk)

    Hello @kivvi72,

    Thanks for your message.

    In the admin, go to “Settings -> Permalinks”. Make sure you have an option other than “Plain” selected there, and then click “Save Changes”.

    Which image loading mode do you use? If you are using Pass Thru then use the via .htaccess method.

    Best,
    Mateusz

    Thread Starter kivvi72

    (@kivvi72)

    Thank you for your quick reply!

    In “Settings -> Permalinks” I use “Post name”.

    I have tried both options and I still have this error.
    Before this problem occured I used “Pass Thru” because only this metod generated webp images.

    Best regards

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @kivvi72 If you have an error despite these permalink settings, it means that some other plugin or theme is blocking the REST API.

    Why only Pass Thru method generated WebP files? What do you mean?

    Thread Starter kivvi72

    (@kivvi72)

    My first course of action was disabling and uninstalling plugins and I still have this issue.

    Well, when I set .htaccess method I got jpeg images.
    As per your directions (I’m not sure where I found it, FAQ or plugin main site) I went to developer tools > network > type and I saw jpegs only.
    When I changed to “Pass Thru”, jpegs were replaced by webps (excluding few ones, which were bigger than jpeg source).

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @kivvi72 How can I help you?

    Thread Starter kivvi72

    (@kivvi72)

    Problem still exist…

    EDIT:
    Alright, some magic happen or I messed up something, idk.

    In this plugin configuration:
    W3 Cache – OFF
    Force Regenerate Thumbnails – OFF
    ACF – ON
    WebP Converter for Media – ON

    your plugin converted all media. I will tell you more, I turned on all other plugins again and your plugin is still working! Strange, but problem dissappered!

    Thanks for your help!
    All the best!

    • This reply was modified 3 years, 3 months ago by kivvi72.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘REST API 404 – Not Found’ is closed to new replies.