Title: Undefined array key &#8220;_clone&#8221;
Last modified: May 19, 2023

---

# Undefined array key “_clone”

 *  Resolved [melcarthus](https://wordpress.org/support/users/melcarthus/)
 * (@melcarthus)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/undefined-array-key-_clone/)
 * I’m running into an error across all my themes with this plugin as of late. I
   work on php templates (the default way) and on root sage templates. Because of
   the Symfony Exeption error screens this completely bricks a page i’m working 
   on. I’m getting an error “undefined array key “_clone”
   I’m not using cloned fields
   for acf. Maybe Sage adds clones to wp templates as per their logic (using acf
   composer to create fields/groups etc…) But I think this is a fault in the logic
   in the ACF cleaner plugin.
 * [https://pastebin.com/Kt3stE1q](https://pastebin.com/Kt3stE1q)
    -  This topic was modified 2 years, 11 months ago by [melcarthus](https://wordpress.org/support/users/melcarthus/).
    -  This topic was modified 2 years, 11 months ago by [melcarthus](https://wordpress.org/support/users/melcarthus/).

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

 *  Plugin Contributor [Marc Wieland](https://wordpress.org/support/users/marcwieland95/)
 * (@marcwieland95)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/undefined-array-key-_clone/#post-16764394)
 * Oh, yes. You’re very right and that is exactly the place where it fails when 
   no clone field is used.
   I’ll hotfix this tomorrow. Thanks for reporting.
 *  Thread Starter [melcarthus](https://wordpress.org/support/users/melcarthus/)
 * (@melcarthus)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/undefined-array-key-_clone/#post-16764426)
 * Cool thanks! Glad to help
 *  Plugin Contributor [Marc Wieland](https://wordpress.org/support/users/marcwieland95/)
 * (@marcwieland95)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/undefined-array-key-_clone/#post-16766618)
 * There’s a new version (1.2.1) on the plugin repo for download with the fix

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

The topic ‘Undefined array key “_clone”’ is closed to new replies.

 * ![](https://ps.w.org/whatwedo-acf-cleaner/assets/icon-256x256.jpg?rev=2901561)
 * [whatwedo ACF Cleaner](https://wordpress.org/plugins/whatwedo-acf-cleaner/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/whatwedo-acf-cleaner/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/whatwedo-acf-cleaner/)
 * [Active Topics](https://wordpress.org/support/plugin/whatwedo-acf-cleaner/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/whatwedo-acf-cleaner/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/whatwedo-acf-cleaner/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Marc Wieland](https://wordpress.org/support/users/marcwieland95/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/undefined-array-key-_clone/#post-16766618)
 * Status: resolved