Title: WordPress automatic API update has generated an error
Last modified: February 29, 2024

---

# WordPress automatic API update has generated an error

 *  [deantauk](https://wordpress.org/support/users/deantauk/)
 * (@deantauk)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/wordpress-automatic-api-update-has-generated-an-error/)
 * **Recieved an email stating: **
 * Hi! Some plugins have automatically updated to their latest versions on your 
   site at [https://deantawood.co.uk](https://deantawood.co.uk). No further action
   is needed on your part.
 * These plugins are now up to date:
 * – PPOM for WooCommerce (from version 32.0.9 to 32.0.10) : [https://wordpress.org/plugins/woocommerce-product-addon/](https://wordpress.org/plugins/woocommerce-product-addon/)
 * – WPCode Lite (from version 2.1.8 to 2.1.9) : [https://wordpress.org/plugins/insert-headers-and-footers/](https://wordpress.org/plugins/insert-headers-and-footers/)
 * If you experience any issues or need support, the volunteers in the WordPress.
   org support forums may be able to help.
 * [https://wordpress.org/support/forums/](https://wordpress.org/support/forums/)
 * The WordPress Team
 * [WordPress › Error (deantawood.co.uk)](https://deantawood.co.uk/wp-admin/)
 * **as a result of the above, we are unable to get into the back end of our website**,
   the error code is below.
 * **Fatal error**: Uncaught Error: Call to undefined function wp_get_current_user()
   in /home/customer/www/deantawood.co.uk/public_html/wp-includes/capabilities.php:
   877 Stack trace: #0 /home/customer/www/deantawood.co.uk/public_html/wp-content/
   plugins/woocommerce-product-addon/classes/admin.class.php(65): current_user_can(‘
   manage_options’) #1 /home/customer/www/deantawood.co.uk/public_html/wp-content/
   plugins/woocommerce-product-addon/woocommerce-product-addon.php(101): NM_PersonalizedProduct_Admin-
   >__construct() #2 /home/customer/www/deantawood.co.uk/public_html/wp-settings.
   php(473): include_once(‘/home/customer/…’) #3 /home/customer/www/deantawood.co.
   uk/public_html/wp-config.php(80): require_once(‘/home/customer/…’) #4 /home/customer/
   www/deantawood.co.uk/public_html/wp-load.php(50): require_once(‘/home/customer/…’)#
   5 /home/customer/www/deantawood.co.uk/public_html/wp-admin/admin.php(34): require_once(‘/
   home/customer/…’) #6 /home/customer/www/deantawood.co.uk/public_html/wp-admin/
   index.php(10): require_once(‘/home/custo in **/home/customer/www/deantawood.co.
   uk/public_html/wp-includes/capabilities.php** on line **877**

Viewing 1 replies (of 1 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/wordpress-automatic-api-update-has-generated-an-error/#post-17463652)
 * This may be a plugin or theme conflict. Please attempt to disable all plugins,
   and use one of the default (Twenty*) themes. If the problem goes away, enable
   them one by one to identify the source of your troubles.

Viewing 1 replies (of 1 total)

The topic ‘WordPress automatic API update has generated an error’ is closed to new
replies.

## Tags

 * [error code](https://wordpress.org/support/topic-tag/error-code/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/wordpress-automatic-api-update-has-generated-an-error/#post-17463652)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
