• Resolved cvrle77

    (@cvrle77)


    So, I’m using Plesk as my panel, and I have a place where I can put Additional nginx directives. So I’ve copy pasted them, and Chrome is reporting that it’s serving webp images. When I try to save image from my website, I get webp image, not jpeg. Which means, configuration that I’ve placed works as intended. Type column in Devtools, shows webp.

    However, I am still seeing error message: Error codes: rewrites_not_executed

    So, eh, not sure if it’s a bug, or ‘feature’ ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter cvrle77

    (@cvrle77)

    I’ve figured it’s because I’ve had ‘Serve static files directly by nginx ‘ and jpg and png in there, and option checked.

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hello @cvrle77,

    Thanks for your message.

    Can I help you somehow or is everything already working?

    Best,
    Mateusz

    Thread Starter cvrle77

    (@cvrle77)

    Yes please, I have completely different issue now…

    05:11:41 – An error occurred while connecting to REST API. Please try again.

    500 – (https://mywebsite.net/wp-json/webp-converter/v1/paths?nonce_token=f27226ba5c)

    Memory limit is 1024M so that’s not an issue.

    this is what debug log captured

    [24-Mar-2022 04:04:33 UTC] PHP Fatal error:  Uncaught TypeError: Argument 1 passed to WebpConverter\Service\NonceManager::verify_nonce() must be of the type string, null given, called in /var/www/vhosts/mywebsite.net/httpdocs/wp-content/plugins/webp-converter-for-media/src/Conversion/Endpoint/EndpointAbstract.php on line 26 and defined in /var/www/vhosts/mywebsite.net/httpdocs/wp-content/plugins/webp-converter-for-media/src/Service/NonceManager.php:44
    Stack trace:
    #0 /var/www/vhosts/mywebsite.net/httpdocs/wp-content/plugins/webp-converter-for-media/src/Conversion/Endpoint/EndpointAbstract.php(26): WebpConverter\Service\NonceManager->verify_nonce()
    #1 /var/www/vhosts/mywebsite.net/httpdocs/wp-content/plugins/webp-converter-for-media/src/Conversion/Endpoint/EndpointIntegration.php(47): WebpConverter\Conversion\Endpoint\EndpointAbstract->is_valid_request()
    #2 /var/www/vhosts/mywebsite.net/httpdocs/wp-includes/rest-api/class-wp-rest-server.php(1108): WebpConverter\Conversion\Endpoint\EndpointIntegration->WebpConverter\Conversion\Endpoint in /var/www/vhosts/mywebsite.net/httpdocs/wp-content/plugins/webp-converter-for-media/src/Service/NonceManager.php on line 44
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error message has an error’ is closed to new replies.