• Currently running an up to date version of wordpress, woocommerce plugin and shop isle theme. Getting a fatal error when I try to open the dashboard.

    Fatal error: Call to undefined function add_meta_box() in /home/bristol2/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php on line 236

    I’m a complete novice so haven’t gone any further than using premade themes etc so it’s not something I’ve done. If I close down the browser and reopen it the fatal error disappears and it all runs fine for a while until a different fatal error appears. Any help would be great.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Very strange, it sounds like it went through an update but some of the core files failed to update.

    Don’t think this is related to WooCommerce because WP does have the function being called, located in /wp-admin/includes/template.php

    Thread Starter ianwaine78

    (@ianwaine78)

    I get a lot of these errors on a daily basis. Just had another pop up…

    Fatal error: Call to undefined function set_screen_options() in /home/bristol2/public_html/wp-admin/admin.php on line 90

    It’s making WP virtually unusable.

    Thread Starter ianwaine78

    (@ianwaine78)

    And another…
    Fatal error: Call to undefined function _get_list_table() in /home/bristol2/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-post-types.php on line 1439

    I would recommend 3 things:

    • Disable auto updates
    • Confirm proper file permissions
    • Check your server for intrusion

    It should not be working and then not working.
    Do you have any security, caching or backup plugins in place?

    Thread Starter ianwaine78

    (@ianwaine78)

    The plugins I have running are
    WooCommerce, Version 2.6.13, By WooThemes
    WooCommerce PayPal Express Checkout Gateway, Version 1.1.2, By Automattic
    WooCommerce Shipping Pro with Table Rate (BASIC), Version 1.2.0, By WooForce
    WooCommerce Stripe Gateway, Version 3.0.7, By WooCommerce
    WPForms Lite, Version 1.3.2, By WPForms

    Auto updates are disabled, no security, caching or back up plugins. Not sure how to confirm file permissions or check server. Bit of a novice here tbh.

    I would contact your hosting provider then, see if they notice any suspicious activity on your server.

    I would also look into a security plugin, some that come to mind is
    WordFence
    All in One Security and Firewall

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal Error’ is closed to new replies.