Problem/Motivation
In the browser devtools console there appears this error:
xhr.responseJSON.forEach is not a function .
Is produced by this line of code:
Looks like is expecting always a JSON response but sometimes AJAX responses returns other types of data. For example a plain text.
Proposed resolution
Check the ajax response data type is a JSON.
Issue fork usage_data-3367199
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
Comment #3
omarlopesinoMR done with the fix, please review!
Comment #6
b_sharpe commentedThanks!