I am hoping someone can help me with this problem. Every time I try to make a block, page or anything with views to make some type of rotating image I keep getting the same issue and in the live preview it spits out this error message.

warning: Parameter 3 to views_ui_build_form_state() expected to be a reference, value given in /Applications/MAMP/htdocs/drupal-6.16/sites/all/modules/views/includes/admin.inc on line 1603.
warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in /Applications/MAMP/htdocs/drupal-6.16/includes/form.inc on line 372.
warning: Invalid argument supplied for foreach() in /Applications/MAMP/htdocs/drupal-6.16/sites/all/modules/views/includes/admin.inc on line 1539.
warning: Attempt to assign property of non-object in /Applications/MAMP/htdocs/drupal-6.16/sites/all/modules/views/includes/admin.inc on line 1610.

I have tried to uninstall the modules and reinstall them I have even uninstalled drupal and reinstalled it. I have no idea what is going on. Someone please help.

CommentFileSizeAuthor
#7 784258_2.patch799 bytesjmiccolis
#6 784258.patch1.13 KBjmiccolis

Comments

dawehner’s picture

Project: Views (for Drupal 7) » Views Rotator
Version: 6.x-2.10 » 6.x-1.x-dev
Component: block displays » Code
Status: Active » Fixed

You should first fill issues/problems with related modules on the issue queue of the related modules. If the views provided works fine, the bug should/have to be on the site of the other modules.

Thanks for trying to provide the bug report.

I move this to rotator

thedavemanning’s picture

I actually just said to heck with it and saved the view just to see if it would work and it does, but now the problem I have is that it does not allow me to actually format the views rotator so I am stuck with the default setting.

dawehner’s picture

This is a problem of the code of views rotator. Create a issue there. They don't implement option_definition.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

jmiccolis’s picture

Status: Closed (fixed) » Active

I've confirmed that views_rotator doesn't implement option_definition, this also breaks exports. Will post a patch shortly.

jmiccolis’s picture

Status: Active » Needs review
StatusFileSize
new1.13 KB

Attached is a patch which corrects the views plugin implementation. It depends, for very minor reasons, on http://drupal.org/node/378842#comment-3075258

jmiccolis’s picture

StatusFileSize
new799 bytes

Sorry, I was wrong about the above - it does NOT require that other patch to be applied first. However, in case you are using the other patch, the below will apply cleanly.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Looks fine.

I'm not sure whether this will really solve the issue but this definitive fixes problems with views-3.x