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.
I've problem with views, i can't add relationship, when i try i've this issue :
Notice : Undefined index: table in views_handler_relationship->query() (line 111 in sites/all/modules/views/handlers/views_handler_relationship.inc).
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE (( (node.status = '1') AND (node.type IN ('forum')) ))) subquery' at line 2
Can you help me for fixe this problem ?
Comment | File | Size | Author |
---|---|---|---|
#6 | fix_empty_cache-2302447-9228265.patch | 808 bytes | impol |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedCan you please put down enough details to reproduce the issue?
Comment #2
impol CreditAttribution: impol commentedSometimes in cache we have an empty array, and relationship plugin fails.
Comment #3
impol CreditAttribution: impol commentedComment #5
impol CreditAttribution: impol commentedComment #6
impol CreditAttribution: impol commentedComment #7
impol CreditAttribution: impol commentedComment #9
RAWDESK CreditAttribution: RAWDESK for Colruyt Group Services commentedWhat's the status of this patch ? Can this lead to a permanent solution ?
Reported a similar issue in this thread :
https://www.drupal.org/node/2055681#comment-11916627