Title: PHP error: Undefined array key 0 in classes/plugin.php
Last modified: November 2, 2023

---

# PHP error: Undefined array key 0 in classes/plugin.php

 *  Resolved [exetico](https://wordpress.org/support/users/exetico/)
 * (@exetico)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/php-error-undefined-array-key-0-in-classes-plugin-php/)
 * The plugin returns a PHP-error, related to line 946 in classes/plugin.php.
 * > **Warning**: Undefined array key 0 in **/var/www/example.com/public_html/wp-
   > content/plugins/flexible-checkout-fields/classes/plugin.php** on line **946**
   >  Spotted at example.com/wp-admin/plugins.php
 * [https://plugins.trac.wordpress.org/browser/flexible-checkout-fields/tags/3.5.15/classes/plugin.php#L946](https://plugins.trac.wordpress.org/browser/flexible-checkout-fields/tags/3.5.15/classes/plugin.php#L946)
 * Related to: _$plugin\_links[] = $links[0]; // Opt-in_
    -  This topic was modified 2 years, 7 months ago by [exetico](https://wordpress.org/support/users/exetico/).

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

 *  Plugin Support [rzepsen](https://wordpress.org/support/users/rzepsen/)
 * (@rzepsen)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/php-error-undefined-array-key-0-in-classes-plugin-php/#post-17170211)
 * Hi,
 * Thank you for feedback.
 * We apologize for the inconvenience, the problem has been reported, and our technicians
   are trying to resolve it as soon as possible. As soon as I receive further information
   on this subject, I will notify you immediately.
 * In case of further questions, please contact me.
 * Best Regards,
 *  Plugin Support [rzepsen](https://wordpress.org/support/users/rzepsen/)
 * (@rzepsen)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/php-error-undefined-array-key-0-in-classes-plugin-php/#post-17172955)
 * Hi
 * We have just released the plugin update containing the proper fixes for the problem
   you’ve reported, so please simply do the update.
 * If the WordPress updater hasn’t informed you about the newer versions available,
   please check for the updates manually choosing the Dashboard tab > Updates > 
   Check Again option.
 * Please let me know if you have any further questions or if there is something
   more I can help you with.
 * Kind regards,
 *  Thread Starter [exetico](https://wordpress.org/support/users/exetico/)
 * (@exetico)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/php-error-undefined-array-key-0-in-classes-plugin-php/#post-17173233)
 * Thank you for the fast handling of the case. I’ll check in the beginning of next
   week, as it didn’t impact our front-end.
 *  Thread Starter [exetico](https://wordpress.org/support/users/exetico/)
 * (@exetico)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/php-error-undefined-array-key-0-in-classes-plugin-php/#post-17177055)
 * All good. Thanks.
 *  Plugin Support [rzepsen](https://wordpress.org/support/users/rzepsen/)
 * (@rzepsen)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/php-error-undefined-array-key-0-in-classes-plugin-php/#post-17181498)
 * Glad to hear it 😉
 * If you have any further questions, let me know.
 * Best regards,

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

The topic ‘PHP error: Undefined array key 0 in classes/plugin.php’ is closed to 
new replies.

 * ![](https://ps.w.org/flexible-checkout-fields/assets/icon-256x256.gif?rev=2522628)
 * [Flexible Checkout Fields for WooCommerce - WooCommerce Checkout Manager](https://wordpress.org/plugins/flexible-checkout-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flexible-checkout-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flexible-checkout-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/flexible-checkout-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flexible-checkout-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flexible-checkout-fields/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [rzepsen](https://wordpress.org/support/users/rzepsen/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/php-error-undefined-array-key-0-in-classes-plugin-php/#post-17181498)
 * Status: resolved