When I add a FBML invite friends block like this:

<?php module_invoke('fb_friend', 'block', 'view', FB_FRIEND_DELTA_INVITE_APP); php>

and then invite someone, on the confirmation page I get the following errors:

Application temporarily unavailable
Parse errors:
FBML Error (line 1): illegal tag "span" under "fb:request-position"
FBML Error (line 1): illegal attr "class" in tag "" under "fb:request-position"
FBML Error (line 2): illegal tag "span" under "fb:request-position"
FBML Error (line 2): illegal attr "class" in tag "" under "fb:request-position"
FBML Error (line 6): illegal tag "span" under "fb:request-position"
FBML Error (line 6): illegal attr "class" in tag "" under "fb:request-position"
Runtime errors:
IntlFbtString Object
(
    [func:protected] => fbt_unwrapped
    [func_args:protected] => Array
        (
            [0] => req-choice required as part of request-form content
        )

    [text:protected] => req-choice required as part of request-form content
    [attributes:protected] => Array
        (
        )

    [munge:protected] => 1
    [need_force_raw:protected] => 
    [locale:protected] => en_GB
    [ret_array:protected] => 
)

I haven't been able to trace the error down. I thought it would be 'content' in fb_friend_invite_page_fbml, but that wasn't the case. Does somebody know where this error comes from?

Comments

Jakob Stoeck’s picture

I tested it again and it works on another, seemingly identical, installation … then I'll use that one for now :)

The error messages match to the 'content' associative array of the aforementioned function which is this string:

<span id="thmr_17" class="thmr_call">
  <span id="thmr_15" class="thmr_call">
  <fb:req-choice  url="http://www.example.org/" label="Annehmen" />
</span>

<span id="thmr_16" class="thmr_call">
  You may like this site - <a href="http://www.example.org/">PlayboyPoker</a>.</span>

</span>
Jakob Stoeck’s picture

Status: Active » Closed (won't fix)

Due to incompatibility with the Devel Themer. Deactivate it and it works (dt includes those tags with thmr classes)