I'm getting the following error:

Recoverable fatal error: Argument 1 passed to _bootstrap_iconize_button() must be of the type array, boolean given, called in mysite/sites/all/themes/bootstrap/includes/process.inc on line 78 and defined in _bootstrap_iconize_button() (line 1220 of mysite/sites/all/themes/bootstrap/includes/common.inc).

It only happens on a pages which are panels pages with Advanced Form Blocks on them (AFB module). I've tried disabling/enabling the panels panes on these pages one by one and it's the AFB form that results in the error.

I've tried adding an exposed views filter to another one of the panels panes (i.e. so it has a button) but this doesn't appear to result in the error.

??

Comments

bsarchive created an issue. See original summary.

markhalliwell’s picture

Status: Active » Closed (works as designed)

This is an indication that there's code somewhere else, either custom or contrib, that is setting a render array child element to FALSE rather than an empty array or properly setting the #access property to FALSE.

This isn't an issue with this project specifically, but rather a notification of the symptom. Render array elements (and their children) must always be arrays, that's how the API is designed.

bsarchive’s picture

Looks like it's an AFB problem. In case anyone else comes across it...

https://www.drupal.org/project/afb/issues/2995987

aswathyajish’s picture

Me also have the same issue.

Since bootstrap has security update available, I have upgraded bootstrap to the version 7.x-3.23. Now my site is not loading, a blank screen is getting.

In the recent log messages, I got the following error :

Recoverable fatal error: Argument 1 passed to _bootstrap_iconize_button() must be of the type array, boolean given, called in \sites\all\themes\Contributed\bootstrap\includes\process.inc on line 78 and defined in _bootstrap_iconize_button() (line 1221 of \sites\all\themes\Contributed\bootstrap\includes\common.inc).

Any solution to this?

aswathyajish’s picture

I got the solution.

First I applied the patch (#2) mentioned in https://www.drupal.org/project/afb/issues/2995987.

After that, I have updated the jquery version from 1.8 to 1.10 in the jquery update module settings (for both default theme and admin theme).

My site came back.