Problem/Motivation

TypeError: array_key_exists(): Argument #2 ($array) must be of type array, bool given in array_key_exists() (line 76 of /app/web/modules/contrib/tmgmt_crowdin/src/Controller/CrowdinWebhookController.php)

Steps to reproduce

Submit a new job to Crowdin

Proposed resolution

Needs a check if $webhook_id_by_project_id is an array and not FALSE.

Remaining tasks

  • Create a patch to fix TypeError
  • Document how $webhook_id_by_project_id is being used
  • Possibly move this to a private temp store?

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#3 3349058-3.patch708 bytesadil_siddiqui
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

phma created an issue. See original summary.

phma’s picture

Issue summary: View changes
adil_siddiqui’s picture

Status: Active » Needs review
StatusFileSize
new708 bytes

Patch created

heddn made their first commit to this issue’s fork.

  • heddn committed 10419c70 on 8.x-1.x
    Issue #3349058 by heddn, phma: TypeError: array_key_exists() when...
heddn’s picture

Status: Needs review » Fixed

Thanks for the fixes here.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.