Title: PHP Warnings
Last modified: December 15, 2025

---

# PHP Warnings

 *  Resolved [Andreas Münch](https://wordpress.org/support/users/andreasmuench/)
 * (@andreasmuench)
 * [7 months, 1 week ago](https://wordpress.org/support/topic/php-warnings-207/)
 * Hi, I´m getting lots of PHP Warnings when switching from ACF to SCF.
   Can you 
   please fix these:
 *     ```wp-block-code
       Warning: Trying to access array offset on null in H:\DEV\wordpress\wp-content\plugins\secure-custom-fields\includes\fields\class-acf-field-clone.php on line 149Warning: Undefined array key 5 in H:\DEV\wordpress\wp-content\plugins\secure-custom-fields\includes\fields\class-acf-field-clone.php on line 143Warning: Trying to access array offset on null in H:\DEV\wordpress\wp-content\plugins\secure-custom-fields\includes\fields\class-acf-field-clone.php on line 149Warning: Undefined array key 7 in H:\DEV\wordpress\wp-content\plugins\secure-custom-fields\includes\fields\class-acf-field-clone.php on line 143Warning: Trying to access array offset on null in H:\DEV\wordpress\wp-content\plugins\secure-custom-fields\includes\fields\class-acf-field-clone.php on line 149Warning: Undefined array key 4 in H:\DEV\wordpress\wp-content\plugins\secure-custom-fields\includes\fields\class-acf-field-clone.php on line 143Warning: Trying to access array offset on null in H:\DEV\wordpress\wp-content\plugins\secure-custom-fields\includes\fields\class-acf-field-clone.php on line 149Warning: Undefined array key 5 in H:\DEV\wordpress\wp-content\plugins\secure-custom-fields\includes\fields\class-acf-field-clone.php on line 143Warning: Trying to access array offset on null in H:\DEV\wordpress\wp-content\plugins\secure-custom-fields\includes\fields\class-acf-field-clone.php on line 149Warning: Undefined array key 6 in H:\DEV\wordpress\wp-content\plugins\secure-custom-fields\includes\fields\class-acf-field-clone.php on line 143Warning: Trying to access array offset on null in H:\DEV\wordpress\wp-content\plugins\secure-custom-fields\includes\fields\class-acf-field-clone.php on line 149Warning: Undefined array key 5 in H:\DEV\wordpress\wp-content\plugins\secure-custom-fields\includes\fields\class-acf-field-clone.php on line 143Warning: Trying to access array offset on null in H:\DEV\wordpress\wp-content\plugins\secure-custom-fields\includes\fields\class-acf-field-clone.php on line 149Warning: Undefined array key 4 in H:\DEV\wordpress\wp-content\plugins\secure-custom-fields\includes\fields\class-acf-field-clone.php on line 143Warning: Trying to access array offset on null in H:\DEV\wordpress\wp-content\plugins\secure-custom-fields\includes\fields\class-acf-field-clone.php on line 149Warning: Undefined array key 6 in H:\DEV\wordpress\wp-content\plugins\secure-custom-fields\includes\fields\class-acf-field-clone.php on line 143Warning: Trying to access array offset on null in H:\DEV\wordpress\wp-content\plugins\secure-custom-fields\includes\fields\class-acf-field-clone.php on line 149Warning: Undefined array key 8 in H:\DEV\wordpress\wp-content\plugins\secure-custom-fields\includes\fields\class-acf-field-clone.php on line 143Warning: Trying to access array offset on null in H:\DEV\wordpress\wp-content\plugins\secure-custom-fields\includes\fields\class-acf-field-clone.php on line 149
       ```
   

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

 *  Plugin Author [Héctor Prieto](https://wordpress.org/support/users/priethor/)
 * (@priethor)
 * [7 months, 1 week ago](https://wordpress.org/support/topic/php-warnings-207/#post-18757741)
 * Hi Andreas, thanks for reporting.
 * I’ve opened a patch in SCF to fix this issue: [https://github.com/WordPress/secure-custom-fields/pull/286](https://github.com/WordPress/secure-custom-fields/pull/286)
 * Just to verify my undersanding, can you confirm which versions you were switching
   from and to?
 *  Thread Starter [Andreas Münch](https://wordpress.org/support/users/andreasmuench/)
 * (@andreasmuench)
 * [7 months, 1 week ago](https://wordpress.org/support/topic/php-warnings-207/#post-18757815)
 * Hi Hector,
 * thanks for your quick reply!
 * The site was using Advanced Custom Fields PRO Version 6.5.1 
   and is now using
   Secure Custom Fields Version 6.7.1
 * Hope that helps!
 *  Plugin Author [Héctor Prieto](https://wordpress.org/support/users/priethor/)
 * (@priethor)
 * [7 months, 1 week ago](https://wordpress.org/support/topic/php-warnings-207/#post-18757853)
 * Thanks again! Interesting, that helps. I’ll double check the fix just in case.

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

The topic ‘PHP Warnings’ is closed to new replies.

 * ![](https://ps.w.org/secure-custom-fields/assets/icon.svg?rev=3194494)
 * [Secure Custom Fields](https://wordpress.org/plugins/secure-custom-fields/)
 * [Support Threads](https://wordpress.org/support/plugin/secure-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/secure-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/secure-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/secure-custom-fields/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Héctor Prieto](https://wordpress.org/support/users/priethor/)
 * Last activity: [7 months, 1 week ago](https://wordpress.org/support/topic/php-warnings-207/#post-18757853)
 * Status: resolved