Cache tag in block might give an error

Created on 24 December 2018, over 5 years ago
Updated 15 May 2023, about 1 year ago

We sometimes have requests for urls with special chars in the url. This gives the following error:
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[HY000]: General error: 1271 Illegal mix of collations for operation ' IN ': SELECT tag, invalidations FROM {cachetags} WHERE tag IN ( :tags__0, :tags__1, :tags__2, :tags__3, :tags__4, :tags__5, :tags__6, :tags__7, :tags__8, :tags__9, :tags__10 ); Array ( [:tags__0] => 4xx-response [:tags__1] => banner:465 [:tags__2] => block_content:1 [:tags__3] => block_content:2 [:tags__4] => config:block_list [:tags__5] => config:system.site [:tags__6] => http_response [:tags__7] => page_manager_route_name: [:tags__8] => panelizer_default:node:page:full [:tags__9] => panelizer_default:node:page:full:default [:tags__10] => social_media:/artikel/watcliëntenparticipatie )

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇳🇱Netherlands jefuri

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024