- Issue created by @mefron
- πΊπΈUnited States jeffery.grantham
I get a result of 500 (internal server error) in the view that uses this module.
Uncaught Object { message: "\nAn AJAX HTTP error occurred.\nHTTP Result Code: 500\nDebugging information follows.\nPath: /admin/structure/views/view/directory_of_services/preview/keywords_search\nStatusText: 500 Service unavailable (with message)\nResponseText: The website encountered an unexpected error. Please try again later.", name: "AjaxError", stack: "@https://www.example.com/core/misc/ajax.js?v=10.1.5:196:32\n@https://www.example.com/core/misc/ajax.js?v=10.1.5:1889:3\n" } ajax.js:196:32
Any and all help is appreciated.
- π©πͺGermany markdc Hamburg
Hey all. I had very similar errors and issue with BEF not working. Then it dawned on me to try the following:
- put my CDN in dev mode
- clear the CDN cache
- clear my browser cache
- clear Drupal cache again
And ta-da, the filter is working again as it did in D9.5.
Hope it's as simple as that for you too!
- π«π·France arthur_drupal
Hello,
I had also a problem related to CDN, the problem I see is that the version of the library is not changed :
https://git.drupalcode.org/project/better_exposed_filters/-/blob/8.x-4.x...
https://git.drupalcode.org/project/better_exposed_filters/-/blob/6.0.x/b...So the URL to serve the Javascript does not change ("modules/contrib/better_exposed_filters/js/auto_submit.js?v=4.x") and then CDN cache is serving the same file although the content is different :
https://git.drupalcode.org/project/better_exposed_filters/-/blob/8.x-4.x...
https://git.drupalcode.org/project/better_exposed_filters/-/blob/6.0.x/j...Personnally, to fix the issue, I enabled the aggregation of javascript file
- First commit to issue fork.
- Merge request !50#3368375 update version numbering to prevent caching issues β (Merged) created by tim_dj
- π³π±Netherlands tim_dj Netherlands
Nasty one to pinpoint because locally I always have my cache cleared
- Status changed to Needs review
11 months ago 3:45pm 3 January 2024 - First commit to issue fork.
-
smustgrave β
committed 0cac3869 on 6.0.x authored by
tim_dj β
#3368375 update version numbering to prevent caching issues
-
smustgrave β
committed 0cac3869 on 6.0.x authored by
tim_dj β
- Status changed to Fixed
8 months ago 8:16pm 10 April 2024 - πΊπΈUnited States smustgrave
Change makes sense and believe to be standard practice so will merge.
Automatically closed - issue fixed for 2 weeks with no activity.