Title: Please Fix Fatal
Last modified: June 5, 2026

---

# Please Fix Fatal

 *  Resolved [Pexle Chris](https://wordpress.org/support/users/pexlechris/)
 * (@pexlechris)
 * [1 week, 2 days ago](https://wordpress.org/support/topic/please-fix-fatal/)
 * Hello,
 * in some cases a Fatal Error is produced because you don’t initilize properly 
   your settings page!
 * In method `WC_Recaptcha_For_WooCommerce_Backend::admin_settings_page` the `$settings`
   is array!
 * So you need to change the method to this:
 *     ```wp-block-code
       /** * Admin Settings Page */public function admin_settings_page( $settings ) {	$settings[] = include dirname( __FILE__ ) . '/admin/class-wc-recaptcha-for-woocommerce-settings.php';	return $settings;}
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tanvirul Haque](https://wordpress.org/support/users/tanvirul/)
 * (@tanvirul)
 * [1 week, 1 day ago](https://wordpress.org/support/topic/please-fix-fatal/#post-18930355)
 * Hi [@pexlechris](https://wordpress.org/support/users/pexlechris/)
 * Thank you for reporting this issue. You are completely right, overwriting the`
   $settings` array rather than appending to it was causing the fatal error and 
   overriding other settings pages. We will include this fix (`$settings[] = ...`)
   in our next update.
 * Thanks again for your help in improving the plugin!

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplease-fix-fatal%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-google-recaptcha-for-woocommerce.
   svg)
 * [reCaptcha for WooCommerce](https://wordpress.org/plugins/advanced-google-recaptcha-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-google-recaptcha-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-google-recaptcha-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-google-recaptcha-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-google-recaptcha-for-woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tanvirul Haque](https://wordpress.org/support/users/tanvirul/)
 * Last activity: [1 week, 1 day ago](https://wordpress.org/support/topic/please-fix-fatal/#post-18930355)
 * Status: resolved