Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • CiviCRM Core CiviCRM Core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
  • Issues 1,188
    • Issues 1,188
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • DevelopmentDevelopment
  • CiviCRM CoreCiviCRM Core
  • Issues
  • #2758
Closed
Open
Issue created Aug 15, 2021 by kcristiano@kcristianoDeveloper

Membership Dashboard - Fatal Error starting with 5.41.beta1

Go to Membership Dashboard - http://wpcvrc.test/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fmember&reset=1

Expected result is seeing recent memberships.

Actual result - Fatal Error

[15-Aug-2021 15:01:30 America/New_York] PHP Fatal error:  Uncaught TypeError: Argument 1 passed to CRM_Core_Task::getTitlesFilteredByPermission() must be of the type array, null given, called in /srv/www/buildkit/wpcvrc/web/wp-content/plugins/civicrm/civicrm/CRM/Member/Task.php on line 154 and defined in /srv/www/buildkit/wpcvrc/web/wp-content/plugins/civicrm/civicrm/CRM/Core/Task.php:204
Stack trace:
#0 /srv/www/buildkit/wpcvrc/web/wp-content/plugins/civicrm/civicrm/CRM/Member/Task.php(154): CRM_Core_Task::getTitlesFilteredByPermission(NULL, true)
#1 /srv/www/buildkit/wpcvrc/web/wp-content/plugins/civicrm/civicrm/CRM/Member/Form/Search.php(126): CRM_Member_Task::permissionedTaskTitles(1)
#2 /srv/www/buildkit/wpcvrc/web/wp-content/plugins/civicrm/civicrm/CRM/Core/Form.php(642): CRM_Member_Form_Search->buildQuickForm()
#3 /srv/www/buildkit/wpcvrc/web/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Display.php(76): CRM_Core_Form->buildForm()
#4 /srv/www/buildkit/wpcvrc/web/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM in /srv/www/buildkit/wpcvrc/web/wp-content/plugins/civicrm/civicrm/CRM/Core/Task.php on line 204

This is a regression in the RC as this error does not occur on stable (5.40.1)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking