Title: Warning: Undefined array key
Last modified: October 17, 2022

---

# Warning: Undefined array key

 *  Resolved [Andrzej Klasén](https://wordpress.org/support/users/bibeldans/)
 * (@bibeldans)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-10/)
 * Just updated PHP from Version 8.0.24 to 8.1.11
 * Warning: Undefined array key “comments_pingbacks_clean_style” in /home/… …/wp-
   content/plugins/database-cleaner/classes/core.php on line 208
 *  function add_clean_style_data ( $list ) {
    $options = $this->get_all_options();
   $data = array(); foreach ( $list as $item ) { $data[] = array_merge( $item, [‘
   clean_style’ => $options[ $item[‘item’] . ‘_clean_style’ ] <<<<<<<<<<<<<<<<<<
   <<<<<<<<<<<<<<<<< ] ); } return $data; }
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwarning-undefined-array-key-10%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-10/#post-16110557)
 * Hi,
 * If you go to the **Database Cleaner Dashboard**, in the **WordPress Core** tab,
   then pick “Never” then again, anything you like (“Manual”, maybe), do you still
   have the issue?
 *  Thread Starter [Andrzej Klasén](https://wordpress.org/support/users/bibeldans/)
 * (@bibeldans)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-10/#post-16110624)
 * WordPress Core tab (in Expert mode): the warning persists :-/
 *  Thread Starter [Andrzej Klasén](https://wordpress.org/support/users/bibeldans/)
 * (@bibeldans)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-10/#post-16110665)
 * PS. Same Warning in The Dashboard – By Jordy Meow
 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-10/#post-16113084)
 * For some reason, I can’t replicate it with my version of PHP, and it’s a bit 
   strange that this would be related to the PHP version.
 * Please contact me here: [https://meowapps.com/contact](https://meowapps.com/contact).
   I would like to help you directly 🙂
 *  Thread Starter [Andrzej Klasén](https://wordpress.org/support/users/bibeldans/)
 * (@bibeldans)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-10/#post-16113914)
 * No problems on my other sites. Must be some bad plugin. Will investigate:
    [https://16.danskyrka.eu/plugins-list/](https://16.danskyrka.eu/plugins-list/)
   No problems here: [https://l8.bibeldans.se/plugins-list/](https://l8.bibeldans.se/plugins-list/)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Warning: Undefined array key’ is closed to new replies.

 * ![](https://ps.w.org/database-cleaner/assets/icon-256x256.png?rev=2791575)
 * [Database Cleaner](https://wordpress.org/plugins/database-cleaner/)
 * [Support Threads](https://wordpress.org/support/plugin/database-cleaner/)
 * [Active Topics](https://wordpress.org/support/plugin/database-cleaner/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/database-cleaner/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/database-cleaner/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 5 replies
 * 2 participants
 * Last reply from: [Andrzej Klasén](https://wordpress.org/support/users/bibeldans/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-10/#post-16113914)
 * Status: resolved