Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Any time I add a bulk operation field to a view I get an ajax error that breaks the view. I am using Views 3.8. I am trying to use Administration views module but the bulk operations is preventing me from doing so.
Comments
Comment #1
bojanz CreditAttribution: bojanz commentedWhat does the error say? What's in the logs?
Comment #2
modulo49 CreditAttribution: modulo49 commentedThis is the latest error it produced with "Invalid Form Post Data" in the logs.
An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /system/ajax
StatusText: Internal Server Error
ResponseText:
Comment #3
MediaFormat CreditAttribution: MediaFormat commentedDoes your view contain any relationships?
Comment #4
modulo49 CreditAttribution: modulo49 commentedThe various AJAX errors occur in views that have relationships and those that don't. At this point anytime I try to edit any part of a view that contains a VBO, I get an ajax error even though I have disabled AJAX in the view. If I enable AJAX, the errors pop up without me performing any actions. In the Administration: Users view (from the Administration views module) I received the following error without any errors posting to my logs:
An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /admin/structure/views/ajax/config-item/admin_views_user/system_1/field/views_bulk_operations
StatusText: Internal Server Error
ResponseText: [{"command":"settings","settings":{"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"seven","theme_token":"lyRcPIF9-KXBRRw9gxpVZLVUUCyFxB6rK0giF_NgLZ0"},"autologout":{"timeout":3600000,"timeout_padding":30000,"message":"Your session is about to expire. Do you want to reset it?","redirect_url":"\/user\/login?destination=admin\/structure\/views\/ajax\/config-item\/admin_views_user\/system_1\/field\/views_bulk_operations\u0026autologout_timeout=1","title":"Woodcrest Christian School System Alert","refresh_only":true,"no_dialog":0},"CTools":{"dependent":{"edit-options-label":{"values":{"edit-options-custom-label":[1]},"num":1,"type":"hide"},"edit-options-element-label-colon":{"values":{"edit-options-custom-label":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionuser-block-user-action-postpone-processing":{"values":{"edit-options-vbo-operations-actionuser-block-user-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionuser-block-user-action-skip-confirmation":{"values":{"edit-options-vbo-operations-actionuser-block-user-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionuser-block-user-action-override-label":{"values":{"edit-options-vbo-operations-actionuser-block-user-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionuser-block-user-action-label":{"values":{"edit-options-vbo-operations-actionuser-block-user-action-selected":[1],"edit-options-vbo-operations-actionuser-block-user-action-override-label":[1]},"num":2,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-user-cancel-action-postpone-processing":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-user-cancel-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-user-cancel-action-skip-confirmation":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-user-cancel-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-user-cancel-action-override-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-user-cancel-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-user-cancel-action-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-user-cancel-action-selected":[1],"edit-options-vbo-operations-actionviews-bulk-operations-user-cancel-action-override-label":[1]},"num":2,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-delete-item-postpone-processing":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-delete-item-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-delete-item-skip-confirmation":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-delete-item-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-delete-item-override-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-delete-item-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-delete-item-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-delete-item-selected":[1],"edit-options-vbo-operations-actionviews-bulk-operations-delete-item-override-label":[1]},"num":2,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-delete-revision-postpone-processing":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-delete-revision-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-delete-revision-skip-confirmation":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-delete-revision-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-delete-revision-override-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-delete-revision-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-delete-revision-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-delete-revision-selected":[1],"edit-options-vbo-operations-actionviews-bulk-operations-delete-revision-override-label":[1]},"num":2,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-script-action-postpone-processing":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-script-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-script-action-skip-confirmation":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-script-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-script-action-override-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-script-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-script-action-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-script-action-selected":[1],"edit-options-vbo-operations-actionviews-bulk-operations-script-action-override-label":[1]},"num":2,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-modify-action-postpone-processing":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-modify-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-modify-action-skip-confirmation":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-modify-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-modify-action-override-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-modify-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-modify-action-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-modify-action-selected":[1],"edit-options-vbo-operations-actionviews-bulk-operations-modify-action-override-label":[1]},"num":2,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-modify-action-settings":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-modify-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-user-roles-action-postpone-processing":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-user-roles-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-user-roles-action-skip-confirmation":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-user-roles-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-user-roles-action-override-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-user-roles-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-user-roles-action-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-user-roles-action-selected":[1],"edit-options-vbo-operations-actionviews-bulk-operations-user-roles-action-override-label":[1]},"num":2,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-argument-selector-action-skip-confirmation":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-argument-selector-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-argument-selector-action-override-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-argument-selector-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-argument-selector-action-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-argument-selector-action-selected":[1],"edit-options-vbo-operations-actionviews-bulk-operations-argument-selector-action-override-label":[1]},"num":2,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-argument-selector-action-settings":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-argument-selector-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionsystem-send-email-action-postpone-processing":{"values":{"edit-options-vbo-operations-actionsystem-send-email-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionsystem-send-email-action-skip-confirmation":{"values":{"edit-options-vbo-operations-actionsystem-send-email-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionsystem-send-email-action-override-label":{"values":{"edit-options-vbo-operations-actionsystem-send-email-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionsystem-send-email-action-label":{"values":{"edit-options-vbo-operations-actionsystem-send-email-action-selected":[1],"edit-options-vbo-operations-actionsystem-send-email-action-override-label":[1]},"num":2,"type":"hide"},"edit-options-vbo-operations-actionpathauto-user-update-action-postpone-processing":{"values":{"edit-options-vbo-operations-actionpathauto-user-update-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionpathauto-user-update-action-skip-confirmation":{"values":{"edit-options-vbo-operations-actionpathauto-user-update-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionpathauto-user-update-action-override-label":{"values":{"edit-options-vbo-operations-actionpathauto-user-update-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo
Comment #5
bojanz CreditAttribution: bojanz commentedWhichever module is adding this message is causing your error.
Comment #6
modulo49 CreditAttribution: modulo49 commentedhmmm... doubtful... That's the automated logout module that I just installed and these messages preceeded its installation. With that module disabled the error is:
An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /admin/structure/views/ajax/config-item/admin_views_user/system_1/field/views_bulk_operations
StatusText: Internal Server Error
ResponseText: [{"command":"settings","settings":{"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"seven","theme_token":"Kw4Ci43kvS543jmN_WN5HsSOdnqVcfb10M2zRnx6eew"},"CTools":{"dependent":{"edit-options-label":{"values":{"edit-options-custom-label":[1]},"num":1,"type":"hide"},"edit-options-element-label-colon":{"values":{"edit-options-custom-label":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionuser-block-user-action-postpone-processing":{"values":{"edit-options-vbo-operations-actionuser-block-user-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionuser-block-user-action-skip-confirmation":{"values":{"edit-options-vbo-operations-actionuser-block-user-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionuser-block-user-action-override-label":{"values":{"edit-options-vbo-operations-actionuser-block-user-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionuser-block-user-action-label":{"values":{"edit-options-vbo-operations-actionuser-block-user-action-selected":[1],"edit-options-vbo-operations-actionuser-block-user-action-override-label":[1]},"num":2,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-user-cancel-action-postpone-processing":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-user-cancel-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-user-cancel-action-skip-confirmation":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-user-cancel-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-user-cancel-action-override-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-user-cancel-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-user-cancel-action-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-user-cancel-action-selected":[1],"edit-options-vbo-operations-actionviews-bulk-operations-user-cancel-action-override-label":[1]},"num":2,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-delete-item-postpone-processing":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-delete-item-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-delete-item-skip-confirmation":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-delete-item-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-delete-item-override-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-delete-item-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-delete-item-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-delete-item-selected":[1],"edit-options-vbo-operations-actionviews-bulk-operations-delete-item-override-label":[1]},"num":2,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-delete-revision-postpone-processing":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-delete-revision-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-delete-revision-skip-confirmation":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-delete-revision-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-delete-revision-override-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-delete-revision-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-delete-revision-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-delete-revision-selected":[1],"edit-options-vbo-operations-actionviews-bulk-operations-delete-revision-override-label":[1]},"num":2,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-script-action-postpone-processing":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-script-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-script-action-skip-confirmation":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-script-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-script-action-override-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-script-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-script-action-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-script-action-selected":[1],"edit-options-vbo-operations-actionviews-bulk-operations-script-action-override-label":[1]},"num":2,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-modify-action-postpone-processing":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-modify-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-modify-action-skip-confirmation":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-modify-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-modify-action-override-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-modify-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-modify-action-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-modify-action-selected":[1],"edit-options-vbo-operations-actionviews-bulk-operations-modify-action-override-label":[1]},"num":2,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-modify-action-settings":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-modify-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-user-roles-action-postpone-processing":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-user-roles-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-user-roles-action-skip-confirmation":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-user-roles-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-user-roles-action-override-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-user-roles-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-user-roles-action-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-user-roles-action-selected":[1],"edit-options-vbo-operations-actionviews-bulk-operations-user-roles-action-override-label":[1]},"num":2,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-argument-selector-action-skip-confirmation":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-argument-selector-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-argument-selector-action-override-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-argument-selector-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-argument-selector-action-label":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-argument-selector-action-selected":[1],"edit-options-vbo-operations-actionviews-bulk-operations-argument-selector-action-override-label":[1]},"num":2,"type":"hide"},"edit-options-vbo-operations-actionviews-bulk-operations-argument-selector-action-settings":{"values":{"edit-options-vbo-operations-actionviews-bulk-operations-argument-selector-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionsystem-send-email-action-postpone-processing":{"values":{"edit-options-vbo-operations-actionsystem-send-email-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionsystem-send-email-action-skip-confirmation":{"values":{"edit-options-vbo-operations-actionsystem-send-email-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionsystem-send-email-action-override-label":{"values":{"edit-options-vbo-operations-actionsystem-send-email-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionsystem-send-email-action-label":{"values":{"edit-options-vbo-operations-actionsystem-send-email-action-selected":[1],"edit-options-vbo-operations-actionsystem-send-email-action-override-label":[1]},"num":2,"type":"hide"},"edit-options-vbo-operations-actionpathauto-user-update-action-postpone-processing":{"values":{"edit-options-vbo-operations-actionpathauto-user-update-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionpathauto-user-update-action-skip-confirmation":{"values":{"edit-options-vbo-operations-actionpathauto-user-update-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionpathauto-user-update-action-override-label":{"values":{"edit-options-vbo-operations-actionpathauto-user-update-action-selected":[1]},"num":1,"type":"hide"},"edit-options-vbo-operations-actionpathauto-user-update-action-label":{"values":{"edit-options-vbo-operations-actionpathauto-user-update-action-selected":[1],"edit-options-vbo-operations-actionpathauto-user-update-action-override-label":[1]},"num":2,"type":"hide"},"edit-options-element-type":{"values":{"edit-options-element-type-enable":[1]},"num":1,"type":"hide"},"edit-options-element-class-ena
Comment #7
bojanz CreditAttribution: bojanz commentedSorry, the dump in #6 provides no information that I can use for further debugging.
You'll need to investigate your installation to see what's causing the error.
Let us know what you find out, for future reference.
Comment #9
ikeigenwijs CreditAttribution: ikeigenwijs commentedi fixed something similar with the following change:
https://www.drupal.org/node/1552154
views started working again.
Comment #10
ikeigenwijs CreditAttribution: ikeigenwijs commentedComment #11
MediaFormat CreditAttribution: MediaFormat commentedThis is known to happen in VBO views containing Relationships
Comment #12
ikeigenwijs CreditAttribution: ikeigenwijs commentedIn my case its a vbo without a relationship.
Comment #13
sonicthoughts CreditAttribution: sonicthoughts as a volunteer commentedsame issue with VBO + nodequeue creating a taxonomy queue as per: http://stevepolitodesign.com/blog/drupal-smartqueue-taxonomy-tutorial . tried to adjust jquery version, turned off javascript. no relationships.
Comment #14
luisrc7 CreditAttribution: luisrc7 commentedHello,
just in case this is similar to my issue, I experienced a problem like this.
So I've imported with the view export/import functionality a view with VBO from one environment(working) to another and the view stop working and throwing this Ajax error.
But if instead of import/export the view I create the view from scratch in the new environment it worked fine.
Thanks,
Luis.