Steps to Reproduce:

1. Enable this module using composer
2. Place did_this_help block in content region
3. Visit any node page as an anonymous user
4. Page doesn't load due to the PHP error

PHP error:
"PHP message: Uncaught PHP Exception LogicException: "You are not allowed to use js, css in #attached."

Comments

naveenapj created an issue. See original summary.

  • 4271f5d committed on 2.0.x
    Issue #3192456 by naveenapj: PHP message: Uncaught PHP Exception...
levmyshkin’s picture

Hi naveenapj, thank you for your response!

I couldn't reproduce this problem, but it's obviously #attached code from Drupal 7 module version here. So I removed this #attached code, because js/css are already included with Drupal 8 library. You can update module to 2.0.1 version and your problem must be gone.

levmyshkin’s picture

Status: Active » Fixed

I'm closing this ticket, but feel free to open it again if the error happens again.

naveenapj’s picture

Status: Fixed » Closed (fixed)

Thanks levmyshkin. Verified and working correctly.