Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • R Report Error
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Extensions
  • Report Error
  • Merge requests
  • !4

Deprecation warning on settings page

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged DaveD requested to merge DaveD/reporterror:attrib-settings into master Feb 01, 2021
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 1
User deprecated function: Attributes passed to CRM_Core_Form::add() are not an array.

CRM_Core_Error::deprecatedWarning('Attributes passed to CRM_Core_Form::add() are not an array.') (Line: 376)
CRM_Core_Form->add('text', 'reporterror_bots_regexp', 'Bots to ignore', 1) (Line: 142)
CRM_ReportError_Admin_Form_Settings->buildQuickForm() (Line: 629)

This doesn't seem to be a deprecation really and is likely just a copy/paste extra parameter that snuck in. It doesn't make sense for attributes, and it also doesn't make sense that this was intended to be the required parameter since this field doesn't seem like something required.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: attrib-settings