uncaught PHP exception BadMethodCallException
Getting this error in the Find It logs:
[proxy_fcgi:error] AH01071: Got error ‘PHP message: Uncaught PHP Exception BadMethodCallException: “The “\Drupal\menu_admin_per_menu\Access\MenuAdminPerMenuAccess::menusOverviewAccess” method is not callable as a _custom_access callback in route “/admin/structure/menu”” at /data/www/fic_test/web/core/lib/Drupal/Core/Access/CustomAccessCheck.php line 69\n’,
Reference:
- https://drupal.stackexchange.com/questions/201328/what-arguments-does-a-custom-access-callback-exactly-receive
- Oh, so this is already the helpful error message… committed in June 2018 to Drupal 8.6: https://www.drupal.org/project/drupal/issues/2405241
Possibly related:
Searched words
- Uncaught PHP Exception BadMethodCallException: \Drupal\menu_admin_per_menu\Access\MenuAdminPerMenuAccess::menusOverviewAccess method is not callable as a _custom_access callback