• Resolved chtoller

    (@chtoller)


    Hi there!

    The site in question is running on a Plesk server (therefore using nginx proxy and apache).
    After installing Converter for Media it took me a while to figure out the proper nginx configuration, but in the end I got rid of the server configuration error.

    But when I try to start the mass conversion to webp, not a single file is converted.
    I get an error 405 for every file.

    405 - (https://capricorn-marketing.at/wp-json/webp-converter/v1/regenerate) ["/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/bb-plugin/cache/leila_mahdavian_sommerakademie-circle.jpg", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/bb-plugin/cache/ingrid_sojak_ohne_hg-square.jpg", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/bb-plugin/cache/ingrid_sojak_ohne_hg-portrait.jpg", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/bb-plugin/cache/ingrid_sojak_ohne_hg-circle.jpg", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/bb-plugin/cache/ingrid_sojak_aufgestuetzt-circle-a781be6cf79e18f1a984ce496061a815-8cq72f9xgmw1.jpg", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/bb-plugin/cache/ingrid_sojak_HG_transparent_fullbody-circle.png", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/bb-plugin/cache/daniela_sokyan_tober_sommerakademie-circle.jpg", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/2024/10/weihnachtsstern.png", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/2024/10/meta-Werbebibliothek.jpg", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/2024/10/meta-Werbebibliothek-768x254.jpg"]

    Browser dev tools show the following request:

    The “Response” is:

    {"code":"webpc_rest_api_error","message":"","data":{"status":405}}

    I cannot find anything relevant in the access and error logs on the server.
    Tried disabling W3 Total Cache, switching vom PHP 8.0 to 8.2, disabling the web application firewall, nothing helped.

    Any idea where to look?

    I attach the server configuration as shown by the plugin: screencapture-capricorn-marketing-at-wp-admin-options-general-php-2024-11-25-22_45_39.png

    Thanks,

    Christian

    The page I need help with: [log in to see the link]

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

    (@mateuszgbiorczyk)

    Hi @chtoller,

    Thank you for your message.

    Do you have any plugin or custom code that affects endpoints in the REST API or any security plugin?

    Best,
    Mateusz

    Thread Starter chtoller

    (@chtoller)

    Hi Mateusz,

    thanks for responding so quickly. No, nothing of that sort.
    I just had the idea to save the permalink structure again and to clean the BeaverBuilder cache.
    One of those two must have helped, because now the conversion was successful!

    So the conclusion is: In case of Error 405 during mass conversion, try to save your permalinks again and clear all caches, including the hidden ones of the pagebuilder.

    Thanks!

    Christian

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Thank you for the information @chtoller!

    If you encounter any other problems, please, feel free to reach out to me.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.