Support » Plugin: Dashboard Widgets Suite » Plugin failed and messing up admin section suddenly

  • Resolved jh20001

    (@jh20001)


    Looks like this one recently failed. The modules stopped displaying in the dashboard and parts of the admin section started wigging out (like sub-menus not popping up when you hover over menu items).

    Then I got an email from WordPress’s technical issue detector with…

    An error of type E_ERROR was caused in line 299 of the file /this/is/a/path/to/plugins/dashboard-widgets-suite/inc/widgets-helper.php. Error message: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes)

    The only thing that has changed recently is the addition of the popular YARPP plugin and I am pretty sure everything was working just fine. So this just popped up out of nowhere.

    WordPress version 5.5.1
    Current plugin: Dashboard Widgets Suite (version 2.6.2)
    PHP version 7.3.23

    🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeff Starr

    (@specialk)

    There are no other reports of this happening, so we’ll assume it’s an issue specific to your site. In order to figure out what’s happening, you’ll need to do some basic troubleshooting. Off the top, I would guess that the memory usage is happening because of the “System Info” widget, which can be resource intensive. So first thing to try is disabling that widget and try again.

    Thread Starter jh20001

    (@jh20001)

    This did not fix it. However, I disabled the error log widget, and all of the widgets have re-appeared on the dashboard. Submenus to the main menu are popping up on hover and everything again. So it is the error log causing troubles it seems.

    This is quite odd since this had never happened before. As I mentioned, nothing has been modified/added outside of YARPP, and I don’t see how that could conflict.

    Plugin Author Jeff Starr

    (@specialk)

    Yeah based on the reported error, it sounds like your server just doesn’t have enough memory/resources to run the plugins and scripts you want to run. Best advice would be to ask your web host how to increase the memory, they should be more than happy to help.

    Thread Starter jh20001

    (@jh20001)

    that = dead end every time. Stupid HostGator. they are too big and powerful. They don’t care about anyone’s problems lol :/

    UPDATE!!: Buddy of mine solved it. He said the plugin wasn’t capable of opening error_log because it was too big for the plugin to handle efficiently, despite it only looking for the last 20 lines. Therefore it was causing a memory leak that was overwhelming everything. The memory limit is 256MB and is working out just fine everywhere else (using about 20-30% on average).

    There was an Imagick version check notice that kept pinging the log because HostGator fails to keep their PHP plugins updated, which grew the log to 70MB. He added a .user.ini file and disabled the version check for now and we re-enabled the error log widget and everything is working now.

    As for the Imagick, HostGator won’t do anything about that. He confirmed they would have done the exact same thing he did to work around it but not “fix” it. They are the only ones that can, so stalemate. Plugin is working again at least.

    • This reply was modified 11 months, 2 weeks ago by jh20001.
    • This reply was modified 11 months, 2 weeks ago by jh20001.
    Plugin Author Jeff Starr

    (@specialk)

    Alright then glad you got it sorted. Let me know if any further questions, comments, etc. Glad to help anytime.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Plugin failed and messing up admin section suddenly’ is closed to new replies.