Open gfairchild opened 10 years ago
Hmm, I do not get those in my log. but, honestly I'm running this yet unrelease branch: https://github.com/shazahm1/WP-Syntax/tree/feature/cache
Testing the cache feature of this pull: https://github.com/shazahm1/WP-Syntax/pull/9
Seems to work very well for me ... so, maybe install the version from that branch.
I haven't checked the geshi site in a while, I might need to pull an updated version from there and merge it.
That could be it. I'm running PHP 5.3.10 (on Ubuntu 12.04 LTS), so that could possibly play a roll, too. Maybe the way they use each of those constructs is ok under PHP > 5.3.10.
Hmmm, maybe. I'm on 5.4
It could also be differing error reporting values in php.ini. I'm currently using error_reporting = E_ALL & ~E_DEPRECATED
.
Maybe when 14.04 LTS comes out in a few months (and PHP subsequently gets upgraded), the warnings will disappear. Or maybe when the next WP-Syntax gets released, it'll fix it. They're just warnings, so I'll just ignore them for now.
I get a number of PHP warnings in my error logs when a page using WP-Syntax is accessed on my site:
Looks like the same erroneous use of
foreach
,array_keys
, andimplode
is used repeatedly throughout geshi.php.