The following PHP Notice can be raised in certain cases:

Notice: Undefined variable: exclude in template_preprocess_advanced_help_popup() (line 1007 of /path/to/advanced_help/advanced_help.module).
Warning: array_diff_key(): Argument #2 is not an array in template_preprocess_advanced_help_popup() (line 1007 of /path/to/advanced_help/advanced_help.module).

Seems like a simple fix. Patch to follow.

CommentFileSizeAuthor
#1 advanced_help-1973738-01.patch412 bytesjamsilver

Comments

jamsilver’s picture

Assigned: jamsilver » Unassigned
Status: Needs work » Needs review
StatusFileSize
new412 bytes

Patch attached. Fixes the issue for me.

gisle’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
Issue summary: View changes
Status: Needs review » Closed (cannot reproduce)
Related issues: +#1803488: Popup not removing theme CSS

Code has been refactored several times since this patch was provided, and patch no longer apply.

Feel free to reopen if you believe this bug is still present in the latest version.