• 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 3 years, 3 months ago by barrydowd.
    • This topic was modified 3 years, 3 months ago by barrydowd.
Viewing 1 replies (of 1 total)
  • Thread Starter barrydowd

    (@barrydowd)

    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.