• Resolved huseyincet

    (@huseyincet)


    Hello All,

    While regenerating the images, it gives the below error:

    “An error occurred while connecting to REST API. Please try again.”

    I have tried several times but did not help.
    How can I resolve it?

    Thanks in advance

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

    (@mateuszgbiorczyk)

    Hi @huseyincet,

    Thank you for your message. I will try to help you.

    Please enable WP_DEBUG_LOG in your wp-config.php (more about debugging: https://codex.wordpress.org/WP_DEBUG). That’s what you should have in this file:

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);

    Then follow these steps:
    1. Go to administration panel and go to plugin settings page.
    2. Run Google Chrome and enable Dev Tools (F12).
    3. Go to the Network tab and select filtering for XHR (XHR and Fetch).
    4. Click button Regenerate All on the plugin settings page (do not close the console during this time).
    5. Go to Dev Tools and find request that is marked in red. Click on them and go to Preview tab.
    6. Take screenshot of all information presented there.
    7. Please check also if you have any errors in /wp-content/debug.log?

    Send me please also configuration of your server (link to it can be found on the settings page of plugin in the “We are waiting for your message” section) – please take a screenshot of the ENTIRE page and send it to me.

    Directly URL: /wp-admin/options-general.php?page=webpc_admin_page&action=server

    I also need the content of your .htaccess file.

    Thread Starter huseyincet

    (@huseyincet)

    Thanks a lot for your kind and cooperative approach. But this is really too complicated work for me. If I can give you access, can you do this for me dear? Thanks in advance

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    It’s okay, but only if it’s a test environment. I would not like to work on a live site. Please contact me via email.

    Thread Starter huseyincet

    (@huseyincet)

    Hi Mateusz,

    I am really thankful to you.

    How can I arrange a test environment to you?

    I trust in you. I can send you the credentials.

    What is the email, please?

    Thanks a lot in advance

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    On my profile at wordpress.org you will find a link to my website. And there is an e-mail address.

    Thread Starter huseyincet

    (@huseyincet)

    Thanks a lot dear Mateusz,

    I have just sent the details.

    Thanks a lot in advance mate.

    All the best

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Thanks for your trust.

    I checked everything and there was a problem. This was due to an error converting one of the images. It had a resolution of 983 x 24767px.

    I have released an update containing the maximum image resolution limit to protect against these types of errors. Now the limit is 8192 x 8192px.

    I checked that all your images work on your site and are displayed in WebP format.

    Thread Starter huseyincet

    (@huseyincet)

    Dear Mateusz,

    Not at all.

    I appreciate your perfect friendly support.

    I will recommend you a good review.

    And everyone should review this plugin positively as well.

    All the best with your efforts.

    Thanks a lot again

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @huseyincet, thank you very much.

    You can add your opinion here. Thank you in advance!

    Thread Starter huseyincet

    (@huseyincet)

    Thanks a lot again. I just reviewed positively. Thanks a lot for your priceless efforts. All the best

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Plugin Gives Error while regenerating images’ is closed to new replies.