• Can anyone venture a possible cure before I go totally nutso?

    There are two WP core functions which are slowing my admin panel significantly and throwing an error.

    If I click on > Dashboard > Updates it takes about 33 seconds, and debug bar shows me this …

    Action or Filter	Callbacks	Calls	Per Call	Total
    load-update-core.php	4	1	14741.77ms	14741.77ms
    pre_set_site_transient_update_plugins	10	2	6206.15ms	12412.31ms
    
    Action or Filter	Callbacks	Calls	Per Call	Total
    load-update-core.php	4	1	14741.77ms	14741.77ms
    pre_set_site_transient_update_plugins	10	2	6206.15ms	12412.31ms
    
    Uncaught SyntaxError: Unexpected token i
    https://petpal.directory/wp-admin/update-core.php line 1

    When I click on > Plugins > Installed plugins, it takes about 34 seconds and debug bar shows me this…

    Action or Filter	Callbacks	Calls	Per Call	Total
    load-plugins.php	3	1	17345.83ms	17345.83ms
    pre_set_site_transient_update_plugins	10	2	7973.38ms	15946.75ms

    I am not a developer so I am not really sure how I can debug core any further, and I certainly don’t know what I can do about it, but the slowness of these two functions are driving me mad.

    If I remember correctly, it only started since the prettification of the plugin install page and the work behind the scenes at the repository started, although I might be barking up entirely the wrong tree of course.

    WP Version: 4.1.1
    WP Multisite Enabled: No
    Web Server Info: Apache/2.4.12 (Unix) OpenSSL/1.0.1f
    PHP Version: 5.6.6
    MySQL Version: 5.5.41
    PHP Locale: decimal_point: .thousands_sep: int_curr_symbol: currency_symbol: mon_decimal_point: mon_thousands_sep: positive_sign: negative_sign:
    WP Memory Limit: 1,000 MB
    WP Debug Mode: Yes
    WP Language: Default
    WP Max Upload Size: 5 MB
    PHP Post Max Size: 5 MB
    Max Input Nesting Level: 64
    PHP Time Limit: 300
    PHP Max Input Vars: 1000
    SUHOSIN Installed: No

    Full site configuration here –> https://gist.github.com/QloudPress/5c5aa2aba2fab9f22dba

Viewing 8 replies - 1 through 8 (of 8 total)
  • Matt

    (@mzak)

    Personally I’m inclined to think that it’s one of the active plugins, rather than core.

    I’d recommend deactivating all plugins, and then reloading the dashboard. If that helps, reactivate them one by one to try to isolate which one (or combination) is causing the problem.

    Thread Starter Terence Milbourn

    (@pubdirltd)

    For whatever reason, the error has now disappeared, but as I added back all the plugins one by one, and looked at the debug trace, it didn’t show a significant jump in load time at any point. The delay in both those functions just got gradually slower and slower.

    As I had already done this before, I am not surprised, but this time I kept a record of the slowest load times as I added the plugins.

    It ended up here which appears to be about half as slow as it was previously…

    Final ---------------------------------------------------
    
    WordPress Update
    
    Slow Actions
    
    Action or Filter	Callbacks	Calls	Per Call	Total
    load-update-core.php	4	1	13159.11ms	13159.11ms
    pre_set_site_transient_update_plugins	9	2	5551.04ms	11102.08ms
    
    Installed Plugins
    
    Slow Actions
    
    Action or Filter	Callbacks	Calls	Per Call	Total
    load-plugins.php	3	1	15614.57ms	15614.57ms
    pre_set_site_transient_update_plugins	9	2	7101.83ms	14203.66m

    Still no idea how to speed it up though.

    Any ideas?

    Thread Starter Terence Milbourn

    (@pubdirltd)

    > Dashboard > Updates ~ 19 seconds
    > Plugins > Installed Plugins ~ 17 seconds

    Has anyone an idea of how to resolve this?

    We have the same issue, but the Plugin admin page is SO slow with 4.1.1 that we cannot reliably turn plugins on and off! Plugin admin is unworkable. We disabled wordpress SEO to see if that was the problem (as suggested by hoster) and then were unable to switch it back on via the dashboard! You clicked and nothing happened. In fact, when we examine html of pages, the Yoast plug-in code IS there, so it got switched back on but the super slow dashboard didn’t show this. We did have some issues with GRAND Flash gallery plug in not working correctly, but now it is OK.

    Our site https://www.peteranne.it

    We failed to be able to update Yoast SEO plugin due to so-slow plugin admin page. thanks Peter

    Thread Starter Terence Milbourn

    (@pubdirltd)

    It doesn’t sound like the same thing.
    You seem to have a much bigger problem than me.

    today (we tried early in the morning when server load low) our site’s backend works fine. So despite their strenuous denials to the contrary we suspect our hoster was doing something.

    Thread Starter Terence Milbourn

    (@pubdirltd)

    @matt ~ I eventually tracked down the source of my problem.

    You were right. It was a plugin [ WP Job Manager – Company Profiles ] which was causing the problem. I eventually tracked it down via a rather circuitous root. It was actually blocking the Intense plugins FAQ custom post types. And when I eventually found it to be the culprit, all of a sudden the other problems were gone too.

    Sometimes I really do wish I was a little less visual and a little more logically minded.

    Many thanks,

    Terence.

    @terence @matt we too partially solved our problem by disabling plugins one at a time. I had completely forgotten we had these plugins which work with the backend
    My Link Order (“last Updated: 2 years ago Requires WordPress Version: 2.8 or higher Compatible up to: 3.5.2”
    Google Maps Embed(“This plugin is NO LONGER actively maintained Last Updated: 1 year ago Compatible up to: 3.7.1)
    We leave disabled these plugins and the site goes much better cheers Peter
    ?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Two core admin functions: three problems!’ is closed to new replies.