• Resolved carlajesus

    (@carlarrj)


    Hello,

    I’m using your plugin but know i can’t use my website because is giving me the following error:

    Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /var/www/html/wp-includes/capabilities.php:898 Stack trace: #0 /var/www/html/wp-content/plugins/woocommerce/includes/wc-user-functions.php(498): is_super_admin() #1 /var/www/html/wp-includes/class-wp-hook.php(303): wc_modify_editable_roles(Array) #2 /var/www/html/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array) #3 /var/www/html/wp-content/plugins/woocommerce-product-addon/inc/functions.php(2020): apply_filters(‘editable_roles’, Array) #4 /var/www/html/wp-content/plugins/woocommerce-product-addon/backend/options.php(56): ppom_get_all_editable_roles() #5 /var/www/html/wp-content/plugins/woocommerce-product-addon/woocommerce-product-addon.php(60): include_once(‘/var/www/html/w…’) #6 /var/www/html/wp-settings.php(409): include_once(‘/var/www/html/w…’) #7 /var/www/html/wp-config.php(134): require_once(‘/var/www/html/w…’) #8 /var/www/html/wp-load.php(50): require_once(‘/var/www/html/w…’) #9 /var/www/html/wp-blog-header.php( in /var/www/html/wp-includes/capabilities.php on line 898 Notice: WC_Log_Handler_File::get_log_file_path foi chamada incorrectamente. Este método n?o deve ser chamado antes plugins_loaded. Backtrace: WooCommerce->log_errors, WC_Logger->critical, WC_Logger->log, WC_Log_Handler_File->handle, WC_Log_Handler_File->add, WC_Log_Handler_File->should_rotate, WC_Log_Handler_File::get_log_file_path, wc_doing_it_wrong Por favor veja Depura??o no WordPress para mais informa??es. (Esta mensagem foi adicionada na vers?o 3.0.) in /var/www/html/wp-includes/functions.php on line 5535 Notice: WC_Log_Handler_File::get_log_file_path foi chamada incorrectamente. Este método n?o deve ser chamado antes plugins_loaded. Backtrace: WooCommerce->log_errors, WC_Logger->critical, WC_Logger->log, WC_Log_Handler_File->handle, WC_Log_Handler_File->add, WC_Log_Handler_File->open, WC_Log_Handler_File::get_log_file_path, wc_doing_it_wrong

    Can you please help?

    Thanks in advance.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter carlajesus

    (@carlarrj)

    Hello,

    I disabled the plugin via FTP so that the error was not appearing and it was possible to access the site.

    My WP is 5.8 version.

    Can you please see what’s happening?

    Thank you.

    Hi,

    we have just released version 23.2 and it should fixed now.

    Unfortunately, I am also having this error.

    Wordpress Version 5.8.1

    Nevermind my comment, I searched the wrong plugin.

    • This reply was modified 3 years, 2 months ago by twise88.

    Hi,

    Thanks for the update.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t access website – fatal error wp_get_current_use’ is closed to new replies.