Title: Plugin errors
Last modified: November 30, 2021

---

# Plugin errors

 *  [barrydowd](https://wordpress.org/support/users/barrydowd/)
 * (@barrydowd)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/plugin-errors-27/)
 * Hi trying to activate this plugin but as soon as it is activated creates lots
   of warnings and a fatal error.
 * I have tried disabaling all plugins but this and on standard theme with no plugins
   activated but still get the following. This appears on all pages at the footer
   in the front end and in the agechecked settings page in the admin area.
 * Plugin Settings Error
 * `Fatal error: Uncaught TypeError: call_user_func(): Argument #1 ($function) must
   be a valid callback, function " " not found or invalid function name in C:\.....\
   wp-admin\includes\template.php:1743 Stack trace: #0 C:\.....\wp-admin\includes\
   template.php(1701): do_settings_fields() #1 C:\.....\wp-content\plugins\agecheck\
   agecheck.php(135): do_settings_sections() #2 C:\.....\wp-includes\class-wp-hook.
   php(303): admin_page_html() #3 C:\.....\wp-includes\class-wp-hook.php(327): WP_Hook-
   >apply_filters() #4 C:\.....\wp-includes\plugin.php(470): WP_Hook->do_action()#
   5 C:\.....\wp-admin\admin.php(259): do_action() #6 {main} thrown in C:\.....\
   wp-admin\includes\template.php on line 1743`
 * This is the error from the front end
 * `Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must
   be of type array, bool given in C:\.....\wp-content\plugins\agecheck\agecheck.
   php:735 Stack trace: #0 C:\.....\wp-includes\class-wp-hook.php(305): agechecked_ui()#
   1 C:\.....\wp-includes\class-wp-hook.php(327): WP_Hook->apply_filters() #2 C:\.....\
   wp-includes\plugin.php(470): WP_Hook->do_action() #3 C:\.....\wp-includes\general-
   template.php(82): do_action() #4 C:\.....\wp-content\themes\twentytwentyone\page.
   php(25): get_footer() #5 C:\.....\wp-includes\template-loader.php(106): include('...')#
   6 C:\.....\wp-blog-header.php(19): require_once('...') #7 C:\.....\index.php(
   17): require('...') #8 {main} thrown in C:\.....\wp-content\plugins\agecheck\
   agecheck.php on line 735`
    -  This topic was modified 4 years, 6 months ago by [barrydowd](https://wordpress.org/support/users/barrydowd/).
    -  This topic was modified 4 years, 6 months ago by [barrydowd](https://wordpress.org/support/users/barrydowd/).

Viewing 1 replies (of 1 total)

 *  Thread Starter [barrydowd](https://wordpress.org/support/users/barrydowd/)
 * (@barrydowd)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/plugin-errors-27/#post-15117222)
 * This is the error from the front end
    `Fatal error: Uncaught TypeError: array_key_exists():
   Argument #2 ($array) must be of type array, bool given in C:\.....\wp-content\
   plugins\agecheck\agecheck.php:735 Stack trace: #0 C:\.....\wp-includes\class-
   wp-hook.php(305): agechecked_ui() #1 C:\.....\wp-includes\class-wp-hook.php(327):
   WP_Hook->apply_filters() #2 C:\.....\wp-includes\plugin.php(470): WP_Hook->do_action()#
   3 C:\.....\wp-includes\general-template.php(82): do_action() #4 C:\.....\wp-content\
   themes\twentytwentyone\page.php(25): get_footer() #5 C:\.....\wp-includes\template-
   loader.php(106): include('...') #6 C:\.....\wp-blog-header.php(19): require_once('...')#
   7 C:\.....\index.php(17): require('...') #8 {main} thrown in C:\.....\wp-content\
   plugins\agecheck\agecheck.php on line 735`

Viewing 1 replies (of 1 total)

The topic ‘Plugin errors’ is closed to new replies.

 * ![](https://ps.w.org/agecheck/assets/icon-256x256.png?rev=2519080)
 * [AgeChecked for WooCommerce](https://wordpress.org/plugins/agecheck/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/agecheck/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/agecheck/)
 * [Active Topics](https://wordpress.org/support/plugin/agecheck/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/agecheck/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/agecheck/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [barrydowd](https://wordpress.org/support/users/barrydowd/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/plugin-errors-27/#post-15117222)
 * Status: not resolved