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.
Getting this error on different installations. I think it happened after I created a 2nd view. Tried upgrading
user warning: Unknown column 'max_allowed_packet' in 'where clause' query: SHOW VARIABLES WHERE variable_name = max_allowed_packet in /home/examplesite/public_html/sites/all/modules/views_data_export/views_data_export.install on line 150.
version = "6.x-2.0-beta6+18-dev"
Comment | File | Size | Author |
---|---|---|---|
#5 | unknown_column-2246913-5.patch | 751 bytes | Steven Jones |
#4 | unknown_column-2246913-4.patch | 751 bytes | Steven Jones |
Comments
Comment #1
carlodimartino CreditAttribution: carlodimartino commentedYes. I just noticed the same thing but only when I view admin/reports/status
6.x-2.0-beta6
Comment #2
dpw CreditAttribution: dpw commented+1 I am getting this error also. I was trying to figure out where max_allowed_packet is set in the VARIABLES table since it appears absent in most of my Drupal sites (some which use views_data_export).
Comment #3
cdale CreditAttribution: cdale commentedIt's a bug created by issue #1421828: Warn if max allowed packet is too small, and commit http://cgit.drupalcode.org/views_data_export/commit/?h=6.x-2.x&id=26887a....
It's not looking at the Drupal variables table, it's looking for variables defined in mysql/maraidb (Don't know if it works in postgres or sqlite...)
To fix the warning, change
to
Comment #4
Steven Jones CreditAttribution: Steven Jones commentedHere's a patch for consideration.
Comment #5
Steven Jones CreditAttribution: Steven Jones commentedMeh, that patch was wrong.
Comment #6
Steven Jones CreditAttribution: Steven Jones commentedCommitted #5. Thanks everyone!
Comment #9
Steven Jones CreditAttribution: Steven Jones commentedNah, that's fine testbot, I already committed it.