Closed (duplicate)
Project:
Code Filter
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jan 2011 at 23:36 UTC
Updated:
11 Dec 2011 at 12:37 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedI'm also experiencing this issue. I upgraded to the dev version on my Atrium site to fix spacing issues with codefilter and now all that's being output is 'Array'...
Comment #2
Anonymous (not verified) commentedIt seems this is the only major change to codefilter that could have caused this bug: #890622: Remove the use of /e (Completely broke Codefilter module in D6!)
Comment #3
Anonymous (not verified) commentedOk, I think I found the issue. I believe it's something to do with the argument passed to the different callback functions...
I don't know much about regular expressions or preg_replace_callback() functions, but from what I read and tested, this patch seems to have fixed it.
Comment #4
duntuk commentedThanks, the patch worked.
Comment #5
crystaldawn commentedThis patch does NOT work correctly. If you have NOTHING above the <?php tag, then the "array" word shows up again. But as soon as I placed some verabage above it, the highlighting worked fine.
Comment #6
Marko B commentedI am having the same problem in DEV version.
Comment #7
jennifer.chang commentedcodefilter does not work at all.
Comment #8
Marko B commentedHere is a fix for this http://www.drupaldump.com/code-filter-fix-and-help
Comment #9
jcisio commentedThis is being fixed at #890622: Remove the use of /e (Completely broke Codefilter module in D6!)