Urgent Support Needed: Server Errors (502 & Communication Issues) After Plugin Deactivation

This topic has 3 replies, 2 voices, and was last updated 3 weeks, 3 days ago ago by Officina 2.0

  • Avatar: Officina 2.0
    Officina 2.0
    Participant
    April 28, 2025 at 19:46

    Dear Support Team,

    I am writing to request urgent assistance regarding a persistent issue on my website, [Your Website URL], which is using your theme.

    My website is hosted on a server running Nginx with Plesk as the control panel.

    I have been experiencing unusual server errors, particularly a 502 Bad Gateway Nginx error, which sometimes occurs when I am trying to manage or deactivate plugins. While typically deactivating plugins is a troubleshooting step, in my case, it seems to sometimes trigger or coincide with these server issues.

    Furthermore, I am encountering a specific error within the WordPress admin area on the “Appearance > Themes > Add New” page. As shown in the attached screenshot [mention if you can attach it or describe it, e.g., “similar to the one I can provide”], it states: “Si è verificato un errore inaspettato. C’è qualche cosa di sbagliato con WordPress.org o con la configurazione di questo server.” (An unexpected error has occurred. There is something wrong with WordPress.org or the configuration of this server). This indicates a problem with my server’s ability to communicate with WordPress.org’s API.  

    It’s important to note that I host other websites on the same Plesk server, and they are not experiencing these 502 errors or the communication issue with WordPress.org, suggesting the problem is specific to this particular website’s environment or configuration.

    Given that the issues seem to appear or be related to plugin deactivation and there’s a general indication of a server communication problem, I’m struggling to understand what might be causing this, especially since it’s isolated to this site.

    Could you please provide guidance or support in diagnosing this issue? Could there be a known conflict with specific server configurations (Nginx/Plesk) or a particular interaction with other plugins that could lead to this behavior when plugins are deactivated or the site’s communication is stressed?

    I can provide access to error logs (Nginx, PHP) if that would be helpful for your investigation.

    Thank you for your time and assistance.

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    2 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    April 29, 2025 at 08:17

    Hello @Officina 2.0,

    Thank you for reaching out to us and for providing detailed information regarding the issues you are experiencing.

    We understand how frustrating it can be to encounter persistent server errors, especially when they interfere with essential WordPress functionality. Based on your description, the 502 Bad Gateway error and the unexpected error message on the “Appearance > Themes > Add New” page may indeed be related to server configuration.

    Here are a few suggestions to help diagnose and potentially resolve the issue:

    1. Server Communication with WordPress.org
    The error message you are seeing typically indicates that your server is unable to connect to the WordPress.org API. This could be due to firewall restrictions, DNS misconfiguration, or cURL-related issues on the server. We recommend checking the following:
    – Ensure that outbound connections to api.wordpress.org are allowed.
    – Verify that the server’s DNS settings are correctly configured.
    – Confirm that the cURL PHP extension is enabled and functioning properly.

    2. 502 Bad Gateway Error
    This error is often related to server overload, PHP-FPM misconfiguration, or timeouts. Since the issue occurs when deactivating plugins, it may be that a specific plugin is causing a high memory or CPU load during the deactivation process. We suggest:
    – Reviewing the Nginx and PHP error logs at the time the error occurs.
    – Increasing the PHP max_execution_time and memory_limit values temporarily to see if this mitigates the issue.
    – Deactivating plugins one at a time to identify if a specific plugin is triggering the error.

    3. Theme and Plugin Conflicts
    Although the issue appears to be isolated to this particular website, it may still be helpful to perform a conflict test:
    – Switch to a default WordPress theme (e.g., Twenty Twenty-Four) and check if the issue persists.
    – Disable all plugins and then reactivate them one by one to identify any conflicts.

    4. Plesk/Nginx Configuration
    Since your server uses Nginx with Plesk, please ensure that the Nginx configuration for this domain is not overriding or conflicting with PHP-FPM settings. Also, check if any custom Nginx directives are applied to this domain that may affect plugin or theme operations.

    Since they’re all related to the server side, could you kindly reach out to your hosting provider and request a more in-depth investigation into the following aspects of your hosting plan?

    – Storage capacity
    – Memory allocation
    – RAM/CPU resources
    – Bandwidth limits

    We have already reviewed the error_log on our side. However, we also recommend asking your hosting provider to check their server logs to help identify the root cause of the issue, whether it may be related to plugins, the theme, or any custom code.

    Thank you very much for your cooperation and understanding.

    Best regards,
    The 8Theme Team

    Avatar: Officina 2.0
    Officina 2.0
    Participant
    May 12, 2025 at 10:38

    Thanks for the support! My topic “Urgent Support Needed: Server Errors (502 & Communication Issues) After Plugin Deactivation” has been successfully resolved.

  • Viewing 3 results - 1 through 3 (of 3 total)

The issue related to '‘Urgent Support Needed: Server Errors (502 & Communication Issues) After Plugin Deactivation’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.