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.
user warning: Table 'v305.og' doesn't exist query: SELECT n.nid, n.title FROM test_node n INNER JOIN og ON n.nid = og.nid ORDER BY n.title in /home/apache2/test/http/sites/all/modules/menutrails/menutrails.module on line 316.
It seems that the table prefix "test_" is missing in this query. The correct table name should be "test_og" instead of "og"
Comment | File | Size | Author |
---|---|---|---|
#2 | menutrails.module.patch | 742 bytes | crischan |
Comments
Comment #1
FinTrader CreditAttribution: FinTrader commentedFixed query in line 316:
$result = db_query('SELECT n.nid, n.title FROM {node} n INNER JOIN {og} ON n.nid = {og}.nid ORDER BY n.title');
Comment #2
crischan CreditAttribution: crischan commentedHere's the patch for it.
Comment #3
sunThanks for reporting, reviewing, and testing! Committed to all branches.
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.