{"id":15117194,"date":"2021-11-30T11:23:03","date_gmt":"2021-11-30T11:23:03","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-errors-27\/"},"modified":"2021-11-30T11:30:07","modified_gmt":"2021-11-30T11:30:07","slug":"plugin-errors-27","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-errors-27\/","title":{"rendered":"Plugin errors"},"content":{"rendered":"<p>Hi trying to activate this plugin but as soon as it is activated creates lots of warnings and a fatal error.<\/p>\n<p>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.<\/p>\n<p>Plugin Settings Error<\/p>\n<p><code>Fatal error: Uncaught TypeError: call_user_func(): Argument #1 ($function) must be a valid callback, function &quot; &quot; 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-&gt;apply_filters() #4 C:\\.....\\wp-includes\\plugin.php(470): WP_Hook-&gt;do_action() #5 C:\\.....\\wp-admin\\admin.php(259): do_action() #6 {main} thrown in C:\\.....\\wp-admin\\includes\\template.php on line 1743<\/code><\/p>\n<p>This is the error from the front end<\/p>\n<p><code>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-&gt;apply_filters() #2 C:\\.....\\wp-includes\\plugin.php(470): WP_Hook-&gt;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(&#039;...&#039;) #6 C:\\.....\\wp-blog-header.php(19): require_once(&#039;...&#039;) #7 C:\\.....\\index.php(17): require(&#039;...&#039;) #8 {main} thrown in C:\\.....\\wp-content\\plugins\\agecheck\\agecheck.php on line 735<\/code><\/p>\n","protected":false},"template":"","class_list":["post-15117194","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15117194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":2,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15117194\/revisions"}],"predecessor-version":[{"id":15117228,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15117194\/revisions\/15117228"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=15117194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}