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
Comment #2
markhalliwellThis is an indication that there's code somewhere else, either custom or contrib, that is setting a render array child element to
FALSErather than an empty array or properly setting the#accessproperty toFALSE.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.
Comment #3
bsarchive commentedLooks like it's an AFB problem. In case anyone else comes across it...
https://www.drupal.org/project/afb/issues/2995987
Comment #4
aswathyajish commentedMe 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?
Comment #5
aswathyajish commentedI 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.