• Resolved cmg008

    (@cmg008)


    Hi,
    I’m using a Woodmart template for woocommerce.
    During the installation of woocommerce, my WordPress produced this error message:

    “There has been a critical error on this website. Please check your site admin email inbox for instructions. Learn more about troubleshooting WordPress.”

    When I disabled woocommerce, it goes away, but I need to use woocommerce.

    Version 6.7.0 | By Automattic | View details
    This plugin failed to load properly and is paused during recovery mode.

    An error of type E_ERROR was caused in line 379 of the file /home/parlorus/domains/parlorus.com/public_html/wp-content/plugins/woocommerce/includes/wc-user-functions.php. Error message: Uncaught Error: Call to undefined function wp_get_current_user() in /home/parlorus/domains/parlorus.com/public_html/wp-content/plugins/woocommerce/includes/wc-user-functions.php:379 Stack trace: #0 /home/parlorus/domains/parlorus.com/public_html/wp-content/plugins/woocommerce/includes/wc-user-functions.php(501): wc_current_user_has_role() #1 /home/parlorus/domains/parlorus.com/public_html/wp-includes/class-wp-hook.php(307): wc_modify_editable_roles() #2 /home/parlorus/domains/parlorus.com/public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters() #3 /home/parlorus/domains/parlorus.com/public_html/wp-admin/includes/user.php(272): apply_filters() #4 /home/parlorus/domains/parlorus.com/public_html/wp-content/plugins/xirkle/includes/class-np-role-manager.php(19): get_editable_roles() #5 /home/parlorus/domains/parlorus.com/public_html/wp-content/plugins/xirkle/includes/class-np-role-manager.php(186): NpRoleManager::init() #6 /home/parlorus/domains/parlorus.com/public_html/wp-content/plugins/xirkle/xirkle.ph`

    Lastly, I already have Elementor and WPBakery Page Builder eabled; no errors.

    What’s causing this error message?! Please advise. Thanks.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter cmg008

    (@cmg008)

    I’ve resolved this issue by removing a conflicting WP theme.

    • This reply was modified 2 years, 4 months ago by cmg008.
Viewing 1 replies (of 1 total)
  • The topic ‘installing woocommer; error of type E_ERROR was caused in line 379’ is closed to new replies.