An error occurred at /admin/build/views/ajax/config-item/view_name/default/field/value
blindside - March 29, 2009 - 19:20
| Project: | Views |
| Version: | 6.x-2.7 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
| Issue tags: | devel themer, Fivestar, views, views 2.3 |
Description
As of today, using most current versions of everything, fivestar 1.13, views 6.x-2.3, voting api 6.x-2.0-rc2 . I've seen posts that this was an issue in the past, not sure if it's because of the newer views version.
I also tried switching to the lastest dev versions and did not work.
This error occurs after I've set the Node -> Voting Results relationship and I'm trying to add the Field for Voting API Results -> Value. When I add the field or try to edit it I get this message as a pop up alert. "An error occurred at /admin/build/views/ajax/config-item/view_name/default/field/value"

#1
same here it happens when i try to add a field "Voting API results: Value".
the error follows:
Fatal error: Call to a member function get_handlers() on a non-object in <b>/.../sites/all/modules/views/handlers/views_handler_field.inc on line 252#2
I am encountering the same issue.
#3
I also got the same problem, everything updated to latest dev.
#4
Same here. Just upgraded to 6.x-2.5
Actually, I'm not using the Voting API. This just happens with views when I try to update default configurations on anything that requires "Update" to be clicked.
#5
I get the same error trying to make edits to or add any view (Drupal 6.10, Views 2.5). Any request requiring ajax throws the following error:
"An error occurred at /admin/build/views/ajax/config-type/frontpage/default/argument."
#6
I'm getting this error as well.
#7
This is a generic Views related message that is displayed whenever a handler (a field, a sort, a filter, a relationship, etc).
Please ensure that you've upgraded to the full release version of VotingAPI 2.0, as well.
#8
It appears this was an issue with a previous version of VotingAPI, not the current release, and a number of the posts are unrelated to VotingAPI. Closing the issue -- if it recurs using the latest official release of VotingAPI, please open another issue and provide more information. Thanks!
#9
I'm getting the same error. I get a JavaScript alert when I try to do some change.
"As error occured at /admin/build/views/ajax/display/.."
Someone please advice
#10
I don't think that's a VotingAPI Issue. The issue here was fixed. Yours looks like a views problem.
Try upgrading to views 2.6 first. http://drupal.org/project/views
#11
I am using the latest version of the view module.
#12
I was having the same error. Not sure if it will help in every case, but my solution was deactivating Devel Themer.
#13
I gave that a try. I'm still getting the same problem. Isn't there any fix for this guys.
#14
I'm having the same issue. can someone tell me what could be wrong here. I'm running Drupal 6, Views 2 on Xampp.
I can give further information if needed. Please help crack this issue.
#15
Guys! I'm having the same problem everytime I need to change any of the settings in the view setup. Is there any patch or something? Thanks!
#16
Hey I think I solved it... I don't know how do you place the codes, but try modifying the admin.inc file, placed in
.../views/includes/admin.inc
Line 1559 or:
- function views_ui_ajax_form($js, $key, &$view, $display_id) {
+ function views_ui_ajax_form($js, $key, $view, $display_id) {
just remove the ampersand (&) from view parameter, seems to work for me.
Thanks for being there, and let me know if it works for you all.
regards!
Mauro
#17
Please do not take over old issues. It is rude.
#18
Didn't mean to change that, I'm new with these stuff :)
#19
@mauro_ptt
thanks so much..
your solution helped me as well!!
cheers
#20
maruo_ptt:
Your solution worked great! No issues for me either
(XAMPP & drupal 6.14)
#21
@mauro_ptt :). Thanks lots you saved my day. I was struggling with this for some days.
#22
I am also having this issue - i tried the fix in post 16 however i am still having the same issue. are there any other fixes for this issue?
#23
Subscribing -- also having the same issue.
#24
@mauro_ptt: Thanks, that worked perfectly.
#25
If post 16 is the answer, could there be something i am missing as to why it is not working in my setup? I have drupal 6.14 and the most recent version of views/votingapi/fivestar. I am on fedora linux, with apache 2.2.13, php 5.2.9 and only have the default modules enabled. Any help or support would be greatly appreciated.
#26
Wonderfull!
I get same error and fix as mauro_ptt. That's OK.
I also replace all &$view by $view in .../views/includes/admin.inc. And it work!!!
If replace only Line 1559 or function views_ui_ajax_form($js, $key, &$view, $display_id) {. It works too.
:-)
Many thanks to mauro_ptt.
I love Drupal.
#27
wow, just wow... i'm starting to feel really special because i have the only setup that the fix doesn't work on, or really stupid because i can't figure out why the fix doesn't work for me. I replaced &$view everywhere and also disabled/reenabled the modules - are there any other suggestions or ideas that anyone can think of?
#28
Sorry guys, i am having the same issue with a clients installation and removing the & did not help.
What did help was disabling java in the views tools menu. The interface is a lot less userfriendly, but it does solve the issue.
I hope this helps,
#29
mod_security is another known killer of ajax in views.
If all else fails you can go into admin > build > views > tools and disable the ajax.
#30
I can confirm the same issue in 2.7, and the fix from comment #15 works. This looks like a php 5.3 strictness issue to me.
#31
So, that make sthis a duplicate of:
http://drupal.org/node/452384
#32
@zuessh I could understand your frustration. Why not try to do it on a new drupal setup. I got it working as well but I run it on a windows setup. I suggest you try the entire thing all over again.