Title: Fatal error when the plugin is enabled
Last modified: April 22, 2024

---

# Fatal error when the plugin is enabled

 *  Resolved [ventio](https://wordpress.org/support/users/ventio/)
 * (@ventio)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-the-plugin-is-enabled/)
 * I had to disable the plugin on the website because a critical error occurred.
   As soon as I enable the plugin, the website receives a critical error.
 * I am sending logs from:
 *     ```wp-block-code
       Błąd typu E_ERROR został spowodowany w linii 95 pliku 
       /wp-content/plugins/flexible-checkout-fields/src/Field/Type/TextType.php. 
   
       Komunikat błędu: Uncaught TypeError: Cannot access offset of type null on array in 
       /wp-content/plugins/flexible-checkout-fields/src/Field/Type/TextType.php:95
       Stack trace:
       #0 /wp-content/plugins/flexible-checkout-fields/src/Field/Type/TypeAbstract.php(66): WPDesk\FCF\Free\Field\Type\TextType->get_options_objects()
   
       #1 /wp-content/plugins/flexible-checkout-fields/src/Field/Type/TypeIntegration.php(61): WPDesk\FCF\Free\Field\Type\TypeAbstract->get_options()
   
       #2 /wp-content/plugins/flexible-checkout-fields/src/Field/Type/TypeIntegration.php(43): WPDesk\FCF\Free\Field\Type\TypeIntegration->get_field_type_settings()
   
       #3 /wp-includes/class-wp-hook.php(324): WPDesk\FCF\Free\Field\Type\TypeIntegration->add_field_type(Array)
   
       #4 /wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
   
       #5 /wp-content/plugins/flexible-checkout-fields/classes/plugin.php(363): apply_filters('flexible_checko...', Array)
   
       #6 /wp-content/plugins/flexible-checkout-fields/classes/plugin.php(237): Flexible_Checkout_Fields_Plugin->init_fields()
       ```
   
 * What went wrong? What should I do to be able to use your plugin?

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

 *  Plugin Support [rzepsen](https://wordpress.org/support/users/rzepsen/)
 * (@rzepsen)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-the-plugin-is-enabled/#post-17706361)
 * Hi [ventio](https://wordpress.org/support/users/ventio/)
 * Many thanks for contacting us. It looks like some plugin files are missing. Could
   you delete the plugin from your store and install it again? Does the problem 
   still exist?
 *  Thread Starter [ventio](https://wordpress.org/support/users/ventio/)
 * (@ventio)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-the-plugin-is-enabled/#post-17706700)
 * ok, after removing and reinstalling it started working
 *  Plugin Support [rzepsen](https://wordpress.org/support/users/rzepsen/)
 * (@rzepsen)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-the-plugin-is-enabled/#post-17707416)
 * Hi [ventio](https://wordpress.org/support/users/ventio/)
 * Glad to hear it 😉
 * As the problem was resolved, I’m marking this topic as resolved for now.
 * Feel free to contact me, if you have more questions.

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

The topic ‘Fatal error when the plugin is enabled’ 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [rzepsen](https://wordpress.org/support/users/rzepsen/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-the-plugin-is-enabled/#post-17707416)
 * Status: resolved