I have wp-syntax version 0.9.12 installed along with WP-Syntax Editor Integration Plugin 0.1, WP 3.2.1. I find that sometimes when I simply paste some text into the WordPress post editor (not trying to use this plugin for that text) and look at the page, it generated these errors on my page:
Warning: array_keys() [function.array-keys]: The first argument should be an array in /....../wp-content/plugins/wp-syntax/geshi/geshi.php on line 2026
Warning: Invalid argument supplied for foreach() in /....../wp-content/plugins/wp-syntax/geshi/geshi.php on line 2026
I tracked this down to the fact that when I paste, it wraps text in a pre tag like this:
and if I remove the 'escaped="true"' then it is OK.
I would like the geshi code to handle this situation more gracefully/silently.