Support » Plugin: WooCommerce » Display of Woocommerce in Worpress dashboard

  • Resolved schildpadje

    (@schildpadje)


    For some time (after last major update WordPress?) the screens of Woocommerce in the WordPress Admin Dashboard have not been displayed properly. With orders section, for the order number the link “Example” is now also displayed and when you click on it, all kinds of data will be mixed at the bottom of the page. Also in the order itself everything is now displayed very strange and the dropdown menus (for instance ‘Status field’) doesn’t work. I tried it in different kind of browsers and it’ss the same everywhere. Does anyone have the same problem or maybe can help how I can solve this? Thanks in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Three Sons

    (@3sonsdevelopment)

    Hello @schildpadje,

    That definitely doesn’t sound right and shouldn’t look that way with the most recent WooCommerce and WordPress versions.

    Here’s what I would do. There is a plugin called Health Check & Troubleshooting that you can use to disable all of the plugins on your site, but only for the admin. Everyone else continues to see the site as it has been.

    You can then enable WooCommerce in troubleshooting mode and see if the layouts are fixed. If they aren’t, you may need to reinstall WooCommerce as it’s possible something may have gone wrong making an update with some of the files.

    If everything works with only WooCommerce active, then you can enable the other plugins, one by one, testing as you go until it stops working again. The last item activated is likely the problem.

    Let us know what you find out!

    Thank you for your response; the Health Check plugin is very useful! With this, I discovered that the problem is not in a plugin, but in my theme. Apparently my (child) theme does not work well with the latest version of WordPress (5.3.2). If I go back to the previous version of WordPress, there is no problem. Another theme can handle the latest version of WordPress. So what is wrong with my child theme (based on Virtue theme)?
    A small correction of the problem description: the incorrect display of the dashboard is not only in Woocommerce, but also affects the basic dashboard of WordPress.

    I also can’t update Kadence Toolkit (that was a problem for even before this problem, maybe it’s related).
    Error message here is:

    Uncaught Error: Call to undefined method TGM_Plugin_Activation::get_instance() in /www/wp-content/plugins/virtue-toolkit/class-virtue-toolkit-welcome.php:83 Stack trace: #0 /www/wp-includes/class-wp-hook.php(286): Virtue_Toolkit_Welcome->load_tgmpa_installer(”) #1 /www/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /www/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #3 /www/wp-admin/admin.php(169): do_action(‘admin_init’) #4 /www/wp-admin/index.php(10): require_once(‘/www/wp-admin/a…’) #5 {main} thrown

    Plugin Support Three Sons

    (@3sonsdevelopment)

    Hey @schildpadje,

    Good discovery. You may be able to do some debugging in your child theme to find the source of the issue. You could comment out functions loaded in functions.php similar to disabling plugins to troubleshoot. Then start enabling them again, one by one testing as you go. The last one enabled before the dashboard breaks again is likely the source of the trouble.

    The error message appears to be coming from how the TGM Plugin Activation is being handled. That’s a library that themes and plugins can use to require or suggest the use of other plugins. You might check with the author of that plugin to see if they can help you out with that.

    I hope that gets you pointed in the right direction.

    Thanks @3sonsdevelopment!

    This was a great help!
    The problem is the lib/cleanup.php in the functions.php
    I replaced it with the version from the parent theme and now everything works fine. I don’t really know what the function of this cleanup file is. Here’s a lot of stuff in it, but I don’t know where it is for (didn’t build the site myself). Hopefully I can find some extra information about this cleanup file.
    And hopefully the site will still work….

    Gr

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.