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.
When the comment module is not installed and a stream is requested a PDOException occurs.
Steps to replicate problem:
- Install Drupal with the minimal install profile.
- drush dl ctools heartbeat-7.x-1.x
- drush en heartbeat_defaults -y
- navigate to /user/1/useractivity
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal.comment' doesn't exist
This can be solved by checking if the comments module is enabled before joining the `comment` table in HeartbeatStream::createQuery().
Comment | File | Size | Author |
---|---|---|---|
#1 | 1548046-4-heartbeat-pdoexception.patch | 1.04 KB | pfrenssen |
Comments
Comment #1
pfrenssenComment #2
Stalski CreditAttribution: Stalski commentedThis is fixed and pushed to git.