Gravity Forms Version 2.6.3, WordPress v5.9.3, PHP 7.4
When I click on any of GF settings, I get this error message:
Too few arguments to function qem_admin_notice(), 0 passed in /home2/rrvuclub/public_html/wp-content/plugins/gravityforms/common.php on line 5594 and exactly 1 expected
How to fix this? I cannot view any GF settings
The error is being triggered by the theme or plugin that is hooking the qem_admin_notice function to the WordPress admin_notices filter. The callback they are registering to that WordPress filter is expecting to be passed one argument but WordPress doesn’t pass any so they need to remove that argument from the function signature or define a default value for it.
Thanks for the detailed response, Richard. It helped me figure where the conflict/error was coming from. Turns out the plugin in question is Quick Event Manager by aerin. I think this plugin is really old and “retired” so we’ll be replacing it with another event plugin to address the issue.
Thanks again for your help.