• Resolved khaikhidmah

    (@khaikhidmah)


    Hi N-Media,

    Can you help me out with this error please?

    Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in 
    
    /opt/bitnami/apps/wordpress/htdocs/wp-includes/capabilities.php:892 
    
    Stack trace: 
    #0 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/wc-user-functions.php(498): is_super_admin() 
    
    #1 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(303): wc_modify_editable_roles(Array) 
    
    #2 /opt/bitnami/apps/wordpress/htdocs/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array) 
    
    #3 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce-product-addon/inc/functions.php(2020): apply_filters('editable_roles', Array) 
    
    #4 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce-product-addon/backend/options.php(56): ppom_get_all_editable_roles() 
    
    #5 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce-product-addon/woocommerce-product-addon.php(60): include_once('/opt/bitnami/ap...') 
    
    #6 /opt/bitnami/apps/wordpress/htdocs/wp-settings.php(409): include_once('/opt/bitnami/ap...') 
    
    #7 /opt/b in /opt/bitnami/apps/wordpress/htdocs/wp-includes/capabilities.php on line 892
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Fatal error: Uncaught Error: Call to undefined function wp_get_current_user()’ is closed to new replies.