I am using panels to create the users profile page. On the top panel I placed the Facebook-style Statuses block. There are no other views or blocks on the page that render any facebook-style statues on the page. When a user visits the page a javascript error occurs :

($facebook_status_field.val().length != 0) is null or not an object

This happens in IE8 and FF.

I am running the latest dev version 6.x-2.x-dev.

And ideas on what might cause this? Thanks in advance. If you need additional info please let me know.

Comments

primus’s picture

Status: Active » Closed (fixed)

Found the problem, the page was trying to reference the block twice.

icecreamyou’s picture

Okay, well I'm glad the problem is resolved. You may want to use the Facebook-style Statuses Stream content type in the Users section of the "things you can put in panels" dialog rather than the Facebook-style Statuses block. (The content type was added just a few iterations ago.)