• Resolved nobo73

    (@nobo73)


    Hi, I am testing free version of this plugin.
    I noticed that a new medias is not converted automatically.
    I’ve searched this support forum, but I don’t konw what to do.

    Now, I enabled debug option for WordPress, but there are no log yet.

    Here are a part of error information from Help Center page of this plugin.
    I see “curl_error”. What should I do fo it?
    If it is necessary, I can provide whole information of this page.

    Error detection logs:
    {“context”:”if_redirects_are_works”,”url”:”https:\/\/test.jiyu-minamisawa.jp\/wp-content\/uploads\/webp-converter-for-media-test.png?ver=651230fdead02″,”is_webp”:true,”http_code”:200,”response”:4534,”curl_error”:null}
    {“context”:”if_redirects_are_cached”,”url”:”https:\/\/test.jiyu-minamisawa.jp\/wp-content\/uploads\/webp-converter-for-media-test.png?ver=651230fdee29e”,”is_webp”:true,”http_code”:200,”response”:4534,”curl_error”:null}
    {“context”:”if_redirects_are_cached”,”url”:”https:\/\/test.jiyu-minamisawa.jp\/wp-content\/uploads\/webp-converter-for-media-test.png?ver=651230fdee29e”,”is_webp”:false,”http_code”:200,”response”:21586,”curl_error”:null}

    Thank you for your support.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter nobo73

    (@nobo73)

    In addition, here is the plugin settings from Help Center Page.

    Plugin settings:
    {“quality”:”85″,”output_formats”:[“webp”],”dirs”:[“cache”,”plugins”,”themes”,”uploads”],”image_resize”:[“”,””,””],”auto_conversion”:”yes”,”access_token”:””,”extensions”:[“jpg”,”png”,”webp”,”jpeg”,”jpeg”],”method”:”gd”,”loader_type”:”htaccess”,”rewrite_inherit_disabled”:””,”excluded_dirs”:””,”features”:[“only_smaller”,”cron_enabled”],”media_stats”:”yes”,”cloudflare_zone_id”:””,”cloudflare_api_token”:””}

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hi @nobo73,

    Thank you for your message.

    I’ll try to diagnose it. Please follow these steps:

    • Activate the “Enable the service mode” option in the plugin settings (in the Advanced tab).
    • Add an image to the Media Library.
      Once the file is added, go back to the plugin settings.
    • Send me a screenshot of the Help Center tab in the plugin settings (the important part for me is “webpc_cron_request_response” visible in this tab).
    • Best,
      Mateusz

    Thread Starter nobo73

    (@nobo73)

    Thanks for your prompt reply!
    Well, here is the information. I see the REST API is not working.. That’s th
    Please check what is wrong.


    webpc_cron_request_response:
    {“headers”:{},”body”:”{\”code\”:\”rest_disabled\”,\”message\”:\”The REST API on this site has been disabled.\”,\”data\”:{\”status\”:401}}”,”response”:{“code”:401,”message”:”Unauthorized”},”cookies”:[{“name”:”__wpdm_client”,”value”:”b3b6270c57bb108f76beb3b7b5c877cd”,”expires”:null,”path”:”\/”,”domain”:”staging.jiyu-minamisawa.jp”,”port”:null,”host_only”:true},{“name”:”anspress_session”,”value”:”186ddd2a30c009fe23d06423bb08c35a”,”expires”:1695801427,”path”:”\/”,”domain”:”staging.jiyu-minamisawa.jp”,”port”:null,”host_only”:true}],”filename”:null,”http_response”:{“data”:null,”headers”:null,”status”:null}}

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @nobo73 That’s right – this means that the REST API on your website has been disabled. I don’t know what the reason is – this should be seen by you or the administrator of your website. REST API is needed for my plugin and many other plugins.

    Thread Starter nobo73

    (@nobo73)

    Thanks, I found the reason. The “SiteGuard” plugin has option to disable REST API.
    Now, I have this result, I will keep watching the behavior.
    Thank you very much for your support!!

    webpc_cron_request_response:
    {“headers”:{},”body”:””,”response”:{“code”:200,”message”:”OK”},”cookies”:[{“name”:”__wpdm_client”,”value”:”b3b6270c57bb108f76beb3b7b5c877cd”,”expires”:null,”path”:”\/”,”domain”:”staging.jiyu-minamisawa.jp”,”port”:null,”host_only”:true},{“name”:”anspress_session”,”value”:”b86746ef95f9dcae9f0321033372b50f”,”expires”:1695808353,”path”:”\/”,”domain”:”staging.jiyu-minamisawa.jp”,”port”:null,”host_only”:true}],”filename”:null,”http_response”:{“data”:null,”headers”:null,”status”:null}}

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @nobo73 Now everything works properly!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘A New Media is not coverted automatically’ is closed to new replies.