Error after update
-
The plugin is showing error after the last update:
Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /home1/comprasmogi/public_html/wp-includes/capabilities.php:660 Stack trace: #0 /home1/comprasmogi/public_html/wp-content/plugins/custom-products-for-woocommerce/includes/class-woocp.php(835): current_user_can(‘manage_woocomme…’) #1 /home1/comprasmogi/public_html/wp-content/plugins/custom-products-for-woocommerce/includes/class-woocp.php(544): WOOCP->woocp_check_perms() #2 /home1/comprasmogi/public_html/wp-includes/class-wp-hook.php(287): WOOCP->woocp_sort_products_by_customizable(Object(WP_Query)) #3 /home1/comprasmogi/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #4 /home1/comprasmogi/public_html/wp-includes/plugin.php(544): WP_Hook->do_action(Array) #5 /home1/comprasmogi/public_html/wp-includes/class-wp-query.php(1768): do_action_ref_array(‘pre_get_posts’, Array) #6 /home1/comprasmogi/public_html/wp-includes/class-wp-query.php(3432): WP_Query->get_posts() #7 /home1/comprasmogi/public_html/wp-includes/p in /home1/comprasmogi/public_html/wp-includes/capabilities.php on line 660
- The topic ‘Error after update’ is closed to new replies.