• Resolved emgb_520

    (@emgb_520)


    @millermedianow – on one particular client site, this plugin is causing the main WP Admin dashboard page to not load – it just spins and spins and spins after entering login creds. To access, I have to go to the front end, hover over site name in WP Admin bar, and click any other link that isn’t the main dashboard (Plugins, Themes, Menus, etc.).

    This plugin is installed on SEVERAL other client sites and this is the first time this has ever happened. I disable the plugin and the main Dashboard page loads fine.

    The web host did up the WP MEMORY limit, just in case, but that did not help.

    Any ideas? Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter emgb_520

    (@emgb_520)

    Following up on this – this is a huge problem.

    Thanks.

    Thread Starter emgb_520

    (@emgb_520)

    Anyone??

    Thanks.

    Plugin Author Matt Miller

    (@millermedianow)

    Hi there! We’re looking into it and will let you know when we have an update for you.

    Plugin Author Matt Miller

    (@millermedianow)

    Sorry for the delay on this. I’ve been looking into it and here are some things to try:

    1. Check for a conflict with another plugin’s dashboard widget. The wp-admin dashboard loads all registered dashboard widgets on page load. If Mandrill’s dashboard widget is conflicting with another plugin’s widget, it could cause a hang specifically on the main dashboard while other admin pages work fine. Try adding this to your theme’s functions.php to disable the Mandrill dashboard widget and see if that fixes it:

    php<br>add_action('wp_dashboard_setup', function() {<br> remove_meta_box('mandrill_widget', 'dashboard', 'normal');<br>}, 20);<br>

    2. Check your PHP error log. Even if the page appears to hang rather than error, there may be warnings or fatal errors in your server’s PHP error log (wp-content/debug.log if WP_DEBUG_LOG is enabled, or your host’s error log). Can you share any errors you see?

    3. WordPress and PHP versions? Knowing your exact WP version and PHP version would help me narrow it down.

    Let me know what you find and I’ll keep digging on my end.

    Thread Starter emgb_520

    (@emgb_520)

    Here is what I just did:

    Disabled all plugins but Mandrill and swapped theme from “Hello Elementor” to the generic WordPress “Twenty Twenty Five” theme – the issue still existed with these changes. I reactivated all plugins and swapped the theme back.

    Added the code you stated to the functions.php file and the site immediately threw a critical error: “There has been a critical error on this website”. Error on front and back ends. Had to fix by accessing the file via Filezilla and removing added code.

    I enabled WP_DEBUG and didn’t see anything.

    PHP is 8.4 and WP is 6.9.

    Thanks.

    [ Please do not bump. ]

    Thread Starter emgb_520

    (@emgb_520)

    I ended up swapping the mailer plugin on this particular client’s site.

    Thanks.

    Plugin Author Matt Miller

    (@millermedianow)

    Hi @emgb_520 thanks for the follow up! So sorry, the code got formatted weirdly in the last message and I didn’t even notice, the code block should look like this:

    add_action('wp_dashboard_setup', function() {
    remove_meta_box('mandrill_widget', 'dashboard', 'normal');
    }, 20);


    This effectively removes the widget that displays on wp-admin (it is the only item loaded on that main page). Is the site you were using it on very high volume in Mandrill? I’ve seen this issue in the past with certain sites with super high volume mail sending.

    Apologies again for that formatting error!

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

You must be logged in to reply to this topic.