Title: PHP 8+ error
Last modified: June 1, 2023

---

# PHP 8+ error

 *  [ayssono](https://wordpress.org/support/users/ayssono/)
 * (@ayssono)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/php-8-error-35/)
 * Hello!
   I get following information in debug mode:
 * **Fatal error: Uncaught TypeError: array_slice(): Argument #1 ($array) must be
   of type array, bool given in …/wp-content/plugins/get-user-custom-field-values/
   get-user-custom-field-values.php:140 Stack trace: #0 …/wp-content/plugins/get-
   user-custom-field-values/get-user-custom-field-values.php(140): array_slice(false,
   0, 1)**
 * **1 …/wp-content/plugins/get-user-custom-field-values/get-user-custom-field-values.
   php(69): c2c_get_user_custom(0, ‘_[ownfieldname]_‘, ”, ”, ”, ”, ”)**
 * **21 {main} thrown in …/wp-content/plugins/get-user-custom-field-values/get-user-
   custom-field-values.php on line 140**
 * Can you help me?
 * Kind regards,
 * Klaus

The topic ‘PHP 8+ error’ is closed to new replies.

 * ![](https://ps.w.org/get-user-custom-field-values/assets/icon-128x128.png?rev
   =1105754)
 * [Get User Custom Field Values](https://wordpress.org/plugins/get-user-custom-field-values/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/get-user-custom-field-values/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/get-user-custom-field-values/)
 * [Active Topics](https://wordpress.org/support/plugin/get-user-custom-field-values/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/get-user-custom-field-values/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/get-user-custom-field-values/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ayssono](https://wordpress.org/support/users/ayssono/)
 * Last activity: [2 years, 12 months ago](https://wordpress.org/support/topic/php-8-error-35/)
 * Status: not resolved