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
Comment #3
levmyshkinHi 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.
Comment #4
levmyshkinI'm closing this ticket, but feel free to open it again if the error happens again.
Comment #5
naveenapj commentedThanks levmyshkin. Verified and working correctly.