There is an inline javascript on disqus/src/Controller/DisqusController.php that is returning the error bellow.

LogicException: You are not allowed to use js in #attached. in Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAttachments() (line 146 of /mnt/www/html/voicesofyouthstg/docroot/core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php).

I'm attaching the patch on my first comment.

Comments

yuriseki created an issue. See original summary.

yseki’s picture

Here is the patch.

yseki’s picture

StatusFileSize
new1.39 KB

The correct patch.

yseki’s picture

StatusFileSize
new1.56 KB
damienmckenna’s picture

Assigned: yseki » Unassigned
Status: Active » Needs review

Thank you for the patch.

FYI please try to remember to set the issue status to "needs review" when you upload a patch, it lets others know that there's a patch available, and starts the testbot/drupalci to review the patch.

Lastly, please set the "assigned" option to "unassigned" after you're finished with your work, that way others know that you're finished and that others can then start reviewing it, etc.

gaurav.kapoor’s picture

Status: Needs review » Postponed (maintainer needs more info)

Not able to understand where and now the mentioned error is being triggered.

gaurav.kapoor’s picture

Version: 8.x-1.x-dev » 2.0.1-alpha4
Status: Postponed (maintainer needs more info) » Needs review
gaurav.kapoor’s picture

Status: Needs review » Needs work

I couldn't reproduce the issue. I am not sure if the provided patch will solve the issue described in the description. The patch doesn't apply anymore as well.

gaurav.kapoor’s picture

Version: 2.0.1-alpha4 » 2.0.x-dev