Cannot save Views admin settings due to skip_cache error

Created on 27 May 2024, 3 months ago
Updated 20 July 2024, about 2 months ago

Problem/Motivation

Extremely bewildering and frustrating problem where, if I go to admin/structure/views/settings, change an option, and then click "Save configuration", I get the following error:

Error message
'skip_cache' is not a supported key.

...and then my changes don't save. I don't even know where to start investigating the possible cause because all the searches I've done so far offer no insight. This seems the closest - https://www.drupal.org/project/drupal/issues/2541074 πŸ“Œ Get rid of using 'views.settings':skip_cache in ViewsData Fixed - but there's nothing I can see about this particular skip_cache glitch. I've also checked admin/reports/dblog and there's nothing there either.

Steps to reproduce

  1. Go to admin/structure/views/settings
  2. Change an option, e.g. "Show the SQL query"
  3. Click "Save configuration"

You'll get the error above. It will look as if the change was saved, but if you navigate away from admin/structure/views/settings and then go back to it, you'll see whatever change you made got reverted. I'm on Drupal version 10.2.6 (Pantheon multidev, though I suspect the problem will also occur on our main site because I haven't made any changes to this multidev which should result in this error).

Has anyone else ever run into this? Any ideas what else I could check or change? I'm honestly not sure if this is an issue with how our site is set up (I can't think of anything offhand) or a bug within Views itself. I'm not a Drupal programmer so I'd prefer to resolve this without the use of custom modules if possible.

πŸ› Bug report
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component
ViewsΒ  β†’

Last updated about 11 hours ago

Created by

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.71.5 2024