Ajax 500 error when enabled

Created on 21 July 2023, over 1 year ago
Updated 9 August 2023, over 1 year ago

Problem/Motivation

Views issues an error when checkbox is checked.
Error message
Oops, something went wrong. Check your browser's developer console for more details.

When I check the console - it's a series of AJAX errors:

Failed to load resource: the server responded with a status of 500 (500 Service unavailable (with message))

and

ajax.js?v=10.1.1:1194
Uncaught Drupal.AjaxError
message
:
"\nAn AJAX HTTP error occurred.\nHTTP Result Code: 500\nDebugging information follows.\nPath: /admin/structure/views/view/checklist_vies/preview/page_2\nStatusText: 500 Service unavailable (with message)\nResponseText: The website encountered an unexpected error. Please try again later."

name
:
"AjaxError"
[[Prototype]]
:
Error at https:// [[site]]./core/misc/ajax.js?v=10.1.1:196:32 at https://[[site]]/core/misc/ajax.js?v=10.1.1:1889:3
constructor
:
ƒ (xmlhttp, uri, customMessage)
messages
:
Drupal.Message {messageWrapper: div.messages-list__wrapper}
arguments
:
null
caller
:
null
length
:
3
name
:
""
prototype
:
Error at [site]/core/misc/ajax.js?v=10.1.1:196:32 at [site]/core/misc/ajax.js?v=10.1.1:1889:3
[[FunctionLocation]]
:
ajax.js?v=10.1.1:103
[[Prototype]]
:
ƒ ()
[[Scopes]]
:
Scopes[3]
stack
:
"Error\n at [site]/core/misc/ajax.js?v=10.1.1:196:32\n at [site]/core/misc/ajax.js?v=10.1.1:1889:3"
[[Prototype]]
:
Object
constructor
:
ƒ Error()
message
:
""
name
:
"Error"
toString
:
ƒ toString()
[[Prototype]]
:
Object

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

2.0

Component

Miscellaneous

Created by

🇺🇸United States verres

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

Comments & Activities

  • Issue created by @verres
  • 🇺🇸United States TolstoyDotCom L.A.

    I installed the module, edited the stock 'content' view to have the merge fields, and got this in dblog: "Call to protected method Drupal\views\Plugin\views\style\StylePluginBase::renderFields()".

    Did you apply the patches that are listed in the description of this module?

  • Status changed to Needs review over 1 year ago
  • 🇺🇸United States TolstoyDotCom L.A.

    Unless the OP responds I think this issue can be closed.

Production build 0.71.5 2024