Trying to access array offset on value of type bool api.parser.inc:2026
Migrated issue
Reported by: micahw156
Problem/Motivation
While parsing, this error occurs:
Trying to access array offset on value of type bool api.parser.inc:2026
Steps to reproduce
Execute api update with drush -vd options.
Proposed resolution
It looks like the problem is when $state['invoke_call'] get set to FALSE in line 2027, this is no longer an array, and therefore fails array comparisons.
Checking to see if (isset($state['invoke_call'][1])) should solve the problem, since that's the actual value that needs to be compared in 2026.
Remaining tasks
I'm testing now, and will provide a patch tomorrow.
User interface changes
None.
API changes
None.
Data model changes
None.