This is an odd situation.

    * warning: Illegal offset type in isset or empty in /home/jm/public_html/includes/bootstrap.inc on line 873.
    * warning: Illegal offset type in /home/jm/public_html/includes/bootstrap.inc on line 874.
    * warning: Illegal offset type in /home/jm/public_html/includes/bootstrap.inc on line 878.

These errors seem to be coming from enabling several font providers at once. It's hard to isolate whether it's a specific combination or just a limit, but as soon as I reduce to one the errors go away. When I enable perhaps three, the errors return. It's rather consistent in this inconsistent sort of way.

Comments

sreynen’s picture

I found several issue threads with the same error but no clear explanation of what was causing it, so in case anyone is looking at this trying to debug a similar error:

This problem is caused by calling drupal_set_message() with an array passed as the second parameter ($type).

In this case (and I would guess most cases of this error), the array was supposed to be a parameter to t() inside the drupal_set_message() call, but some misplaced parentheses made it a parameter of the surrounding drupal_set_message() call instead.

It looks like this is happening in the kernest.module file. I'll make a patch for that as soon as I get a chance, unless someone else beats me to it.

jasont28’s picture

It only occurs with the Kernest module for me. When it happens for me I can't access the Kernest fonts.

sreynen’s picture

@jasont28, I think you probably just need to run cron to get the Kernest fonts loaded. It's actually the message telling you that causing the bootstrap error.

sreynen’s picture

Status: Active » Fixed

I just committed a fix in the dev release. I'll get this in a stable release after one more bug fix.

jasont28’s picture

Thanks for the response sreynen. I successfully ran cron a number of times but it hasn't helped unfortunately. I still don't have access to the Kernest fonts.

sreynen’s picture

@jasont28, I'm not sure what's going on with your install, but I'd suggest uninstalling the @font-your-face modules, removing the directory, and installing the 1.2 release. Hopefully that will resolve the issue.

Status: Fixed » Closed (fixed)

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