- 🇮🇳India newswatch Delhi/Bangalore
The following sequence works for me:
- Delete comment field from all node types.
- Delete views that ae about comments
- Uninstall Comment module.
I tried uninstalling the core Comment module, but it was greyed out, it said to delete the fields using it. The only field that is using it on fresh install is the Article content type.
Tried deleting it and got WSOD ("The website encountered an unexpected error. Please try again later."). It got deleted tho. Uninstalling via website or drush causes the WSOD.
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'd8.comment' doesn't exist: SELECT base_table.cid AS cid, base_table.cid AS base_table_cid FROM {comment} base_table GROUP BY base_table.cid LIMIT 1 OFFSET 0; Array ( ) in Drupal\Core\Entity\EntityStorageBase->hasData() (line 588 of /var/www/d8.site.com/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php).
Console:
drush pmu comment
In Connection.php line 695:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'd8.comment' doesn't exist: SELECT base_table.cid AS cid, base_table.cid AS base_table_cid
FROM
{comment} base_table
GROUP BY base_table.cid
LIMIT 1 OFFSET 0; Array
(
)
In Statement.php line 59:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'd8.comment' doesn't exist
Closed: cannot reproduce
9.5
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
The following sequence works for me: