• Resolved trishahdee

    (@trishahdee)


    Your Custom Sidebar plugin is a standard plugin I use on all the sites I develop so this problem I now face is very strange… I do not have this problem on HostGator server where I develop, only on BlueHost after I move a site there. I currently can replicate this problem on 2 websites.

    I added the Query Monitor plugin on one of these sites and when Custom Sidebars is turned on I get these 5 PHP notices: http://trishah.com/graphics/ss/php_notices.html

    The errors are:
    1. Undefined index: cs-explain
    2. Undefined index: defaults
    3. Undefined index: post_type_pages
    4. Undefined index: category_posts :302
    5. Undefined index: category_pages :306

    When I turn off Custom Sidebars then the Admin gets noticeably faster.

    Can you please look into this problem and fix it please?

    https://wordpress.org/plugins/custom-sidebars/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello Trishah,

    I hope you are doing well today!

    Notices, do not have any effect on the functionality of your plugins and WordPress site. I can’t reproduce these notices on my sandbox installation.

    Please run a quick check for a conflict with another plugin or theme.

    Deactivate all other plugins, switch to a default WordPress theme, and test for these notice again, by enabling WordPress debug feature. See how here:
    https://codex.wordpress.org/Debugging_in_WordPress#WP_DEBUG

    If everything is well, activate one plugin at a time to find the one that causes this.

    Follow the flowchart from our Getting Support manual:
    https://premium.wpmudev.org/manuals/using-wpmu-dev/getting-support/

    Let us know how it went!

    Cheers,
    Nastia

    Thread Starter trishahdee

    (@trishahdee)

    @nastia Thank you for the reply.

    On my development site, I activated wp-config debug and debug log. When I have the Twenty Fifteen theme active and all plugins turned off except Custom Sidebars, I receive no PHP errors. However, if I then turn on Query Monitor plugin the monitor results at the bottom of any page show the same “PHP Notices (5)”. Therefore, I have to conclude, the issue is with something Query Monitor is seeing with your plugin.

    Can you replicate this result I am getting?

    Hello Trishah,

    I trust you are doing well today!

    I can reproduce the PHP notices that the Query Monitor plugin produces. However, there are no notices in the debug.log file.

    I will notify our developers regarding this issue.

    Regarding the plugins speed, would you please tell us on what PHP version your sites are running on? Can you try to upgrade it to ver. PHP 7. This should increase the wp-admin speed.

    Let us know how it went!

    Cheers,
    Nastia

    Thread Starter trishahdee

    (@trishahdee)

    @nastia I’m glad it’s not just me 😀

    As for the speed of the WP Admin, it was really strange but yesterday when I was working in the live site the admin speed suddenly “fixed itself”. It was very strange. I was just working in a plugin that does 404 redirects and all of a sudden the admin was running like normal. I can only conclude that there was something going on with the BlueHost server. So for now, I can not reproduce the slow speed as it never happened on HostGator where I have the development install, only on the live site which is on BlueHost.

    Hello there Trishah,

    Please test your site performance with the P3 Profiler plugin:https://wordpress.org/plugins/p3-profiler/

    Also, let us know how many queries from the “Custom Sidebars” plugin are running on your live site. Go to Queries by Caller from the Query Monitor menu that is located on the Admin bar.

    Let us know the results!

    Cheers,
    Nastia

    Thread Starter trishahdee

    (@trishahdee)

    I ran this on the live site on BlueHost. P3 says the only plugin that is running artificially slow is WordPress Seo by Yoast but Custom Sidebars is right up there: http://trishah.com/graphics/ss/pps_p3_pie_chart.jpg

    Queries by Caller says:

    Plugin: custom-sidebars, Select: 1, Time: 0.0002

    Hello Trishah

    I hope you are doing well today!

    Even if the plugin is second slowest, the time response is very good.

    Are you using a caching plugin at all? That will also help to increase the site speed – here are some other suggestions: https://premium.wpmudev.org/blog/5-quick-ways-to-speed-up-your-wordpress-site/

    I hope this helps!

    Cheers,
    Nastia.

    Thread Starter trishahdee

    (@trishahdee)

    Thank you for the suggestions, I’ll look into that. As I said, the speed suddenly improved and I haven’t had any further issues there. As Query Monitor was showing only your plugin as having PHP Warnings I thought that was the problem back then which is why I contacted you. I’m marking this “resolved” even though I still don’t know what was wrong and what fixed it.

    Thank you for your help! I do love your plugin and use it on almost every site I create 😀

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Custom Sidebars slowing down WP Admin on BlueHost’ is closed to new replies.