Hi! I have defined a view that picks up the author of the node and displayed the info in a block whenever a node is displayed.
What I wanted to do is to create a privatemsg "Send Message" link on the view. But I can't seem to configure the Field in Views for the privatemsg link.
When I click on it, it returned the following error message. Please help!

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /admin/structure/views/ajax/config-item/post_owner/default/field/privatemsg_link
StatusText: OK
ResponseText:
Fatal error: Call to undefined function views_process_dependency() in /public_html/includes/form.inc on line 1724

CommentFileSizeAuthor
#3 fix_views.patch2.73 KBberdir
#2 fix_views_d7.patch2.73 KBberdir

Comments

berdir’s picture

This hasn't been ported properly to D7 yet, will have a look soon.

berdir’s picture

Status: Active » Needs review
StatusFileSize
new2.73 KB

Please try the attached patch.

berdir’s picture

StatusFileSize
new2.73 KB

Same patch, just a different name to trigger testbot.

berdir’s picture

Status: Needs review » Fixed

Thanks for reporting, commited!

ccheu’s picture

Berdir,
Thanks very much (yet again!) for resolving the issue so promptly!!
Cheers!!

Chang

Status: Fixed » Closed (fixed)

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

nksamy’s picture

Issue summary: View changes

Hi there,

I have Views Accordion module installed with Views and I get the following error when I click the little gear to change it's settings.

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /drupal7/?q=admin/structure/views/ajax/config-item/OnlineStore/page_2/field/sell_price
StatusText: parsererror
ResponseText:
Fatal error: Call to undefined function views_process_dependency() in /home/yatanayu/public_html/drupal7/includes/form.inc on line 1801