Something similar was taking place in drupal 7.
I have hook_views_query_alter in MODULENAME.views.inc file in the same folder as module file. I found out, that query handler is class views_plugin_query_default. Within that class:
function alter(&$view) {//dpm($view); foreach (module_implements('views_query_alter') as $module) {//dpm($module); $function = $module . '_views_query_alter'; $function($view, $this); } }
Is called, but can't find any module that implements hook...
Of course I cleared all the caches, even truncated tables cache_views and cache_views_data, all in vain.
AFAIR in drupal 7 similar problem solved itself automagically after some time, and hook_views_query_alter started to work. So maybe there is something else cached somewhere? Maybe .inc file is not being seen by backdrop? Access rights are as usual...
Recent comments
Thanks! The site was on PHP 7.0. With assistance from my hosting provider, I updated to PHP 7.4 and now I have access to the site again. No database re-import required.
Locked out of site after updating modules
Thank you very much. I will follow your advice.
Locked out of site after updating modules
The best you can do is test and report. If you find a contrib that doesn't work in php 8.3, create an issue in its queue so it gets fixed. In my experience, I've found that 7.4 is safest...
Locked out of site after updating modules
Hi argiepiano, Some contrib will not work in php 7.2 or lower, and some will not on PHP 8.1 or higher. Is there a way to find out which is the optimal PHP version for a...
Locked out of site after updating modules
This sounds like a combination of a buggy module and the "wrong" version of PHP. The fact that you are being redirected to the maintenance page may be an indication that your site was put on...
Locked out of site after updating modules