Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Running Storm 6.x-1.27
and Storm Quick TimeTracker 6.x-1.x-dev
Uploaded Dashboard and error when activating it.
Did I do something wrong?
Fatal error: Call to undefined function comment_num_new() in /home/content/m/e/d/media644/html/_test/dev/sites/all/modules/storm_dashboard/storm_dashboard.module on line 452
Comments
Comment #1
JGonzalez CreditAttribution: JGonzalez commentedSilly me - I did not even read the error problem since I was in a rush.
I needed to have the comment module activated. (What in storm uses comments?)
It should also be noted that teams (and I'm assuming other storm modules) must be activated or else you will keep getting errors.
Comment #2
jurgenhaasThanks for solving this yourselves, @JGonzalez ;)
However, I've now also included propper dependency check into the module so that it works fine even if comments are not enabled. What it does is that in node lists (i.e. for tasks and tickets) you see the number of new comments, if you're using that module. That's quite handy as you can start using Storm as a issue tracking system. There is more in the pipeline with regard to that.
Other dependencies should also be properly checked. If you don't mind, please let me know which errors you've got and I'll fix that too. (Although, the dashboard only really makes sense if you at least also work with projects, tasks and tickets).