•Notice: Use of undefined constant full_html - assumed 'full_html' in __lambda_func() (line 1 of /home/jixutuan/www/sites/all/modules/geshifilter/geshifilter.pages.inc(127) : runtime-created function).
•Notice: Use of undefined constant full_html - assumed 'full_html' in __lambda_func() (line 1 of /home/jixutuan/www/sites/all/modules/geshifilter/geshifilter.pages.inc(232) : runtime-created function).
.
I tried to change line 127 of geshifilter.pages.inc from
$text = preg_replace_callback($pattern, create_function('$match', "return _geshifilter_prepare_callback(\$match, $format);"), $text);
to
$text = preg_replace_callback($pattern, create_function('$match', "return _geshifilter_prepare_callback(\$match, '$format');"), $text);
, that is, to enclose $format in quotes. The first error disappears.
Line 132, 137 and 232 may need such change too.
Comments
Comment #1
mariusz.slonina commentedquick patch
Comment #2
mariusz.slonina commentedComment #3
nicholasthompsonI wish I'd checked before I committed a patch! ;-)
#1023530: Fixes for hook_process and preg_replace_callback error fixes
Thats mine - it also includes a fix for the
hook_processissue.Comment #4
soxofaan commentedcommitted: http://drupal.org/cvs?commit=480218
thanks for patching and testing guys!