Hello everybody,

I install on my drupal devel module and on the Drupal for facebook devel module, now I get the "Drupal for Facebook is unable to override the theme settings. This is usually because some module causes theme_init() to be invoked before fb_init(). See the README.txt." error. I search in google and drupal.org but not found any normal solution for it. I search in codes, but I not found theme_init function. I call fb_init at the beggining of fb.module file. But, same error.

Any solution?

Comments

Dave Cohen’s picture

Status: Active » Closed (duplicate)

see http://drupal.org/node/187868#comment-784309

It can be a challenge to track down these problems. If there's a better solution out there, I'm not aware of it.

I find that error messages written to the log will cause a theme to be initialized, so if you see errors before the "unable to override..." message that could be the cause.