Problem/Motivation

Error: Call to undefined method Drupal\Core\Form\FormAjaxException::getStatusCode() in ResponseCodeCondition.php

Steps to reproduce

I'm not sure what combination produced this issue but it seems to come from the google_tag module condition resolution during form ajaxing.

Proposed resolution

Check for the method or the type of exception.

Remaining tasks

User interface changes

API changes

Data model changes

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

pookmish created an issue. See original summary.

pookmish’s picture

Status: Active » Needs review
v.dovhaliuk’s picture

Using a merge request as a patch poses a security concern.
Therefore, I am providing a patch to address this issue.