Title: Errors upgrading to PHP8.1
Last modified: February 14, 2023

---

# Errors upgrading to PHP8.1

 *  [laclickchic](https://wordpress.org/support/users/laclickchic/)
 * (@laclickchic)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/errors-upgrading-to-php8-1/)
 * Just upgraded to PHP 8.0 (same with PHP8.1) and this comes up on the admin page
   and also stops me edditing website in Elementor but disapears when I remove the
   woocommerce plugin or change back to PHP7.4. 
   Any help much appreciated!**Warning**:
   Trying to access array offset on value of type null in **/homepages/35/d82358935/
   htdocs/website/wp-content/plugins/woocommerce/src/Admin/Features/Navigation/CoreMenu.
   php**on line **246****Warning**: Cannot modify header information – headers already
   sent by (output started at /homepages/35/d823589354/htdocs/website/wp-content/
   plugins/woocommerce/src/Admin/Features/Navigation/CoreMenu.php:246) in **/homepages/
   35/d82358935/htdocs/website/wp-admin/includes/misc.php** on line **1416****Warning**:
   Cannot modify header information – headers already sent by (output started at/
   homepages/35/d823589354/htdocs/website/wp-content/plugins/woocommerce/src/Admin/
   Features/Navigation/CoreMenu.php:246) in **/homepages/35/d82358935/htdocs/website/
   wp-includes/functions.php** on line **6865****Warning**: Cannot modify header
   information – headers already sent by (output started at /homepages/35/d823589354/
   htdocs/website/wp-content/plugins/woocommerce/src/Admin/Features/Navigation/CoreMenu.
   php:246) in **/homepages/35/d82358935/htdocs/website/wp-includes/pluggable.php**
   on line **1416****Warning**: Cannot modify header information – headers already
   sent by (output started at /homepages/35/d823589354/htdocs/website/wp-content/
   plugins/woocommerce/src/Admin/Features/Navigation/CoreMenu.php:246) in **/homepages/
   35/d82358935/htdocs/website/wp-includes/pluggable.php** on line **1419**
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferrors-upgrading-to-php8-1%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Errors upgrading to PHP8.1’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [laclickchic](https://wordpress.org/support/users/laclickchic/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/errors-upgrading-to-php8-1/)
 * Status: not resolved