New feature: invite page

Drupal for Facebook now provides an invitation page, like this one:
http://apps.facebook.com/drupalforfacebook/fb/invite

This allows your users to invite other friends to install the application. This can be done when a user first installs the app, or anytime afterward.

HI Im trying to make one of

HI

Im trying to make one of these apps too. http://apps.facebook.com/panicindorg

My current problem is I that this feature does not work for me?

http://apps.facebook.com/panicindorg/fb/invite

this is my error:
Fatal error: Cannot use string offset as an array in /home/panicind/public_html/panicorg/includes/form.inc on line 680

Im using all the right versions, I been through all the docs. Solved heaps of issues to get this far.

Thanks

How to track it down

Track this down by adding some debug output to form.inc, just temporarily.

For example, if your version of Drupal is the same as mine, line 680 has the variable $form. Add something this right before that line:


watchdog('debug', "form is " . dprint_r($form,1));

Note: enable the devel module for dprint_r function!

Repeat the request. Then, in your logs, you'll see what $form contains. You could also add a call to ddebug_backtrace() to see the entire call stack.