Just upgraded to updated to the latest Dev build and I got the following error:

warning: Missing argument 2 for phptemplate_preprocess_node(), called in /[path to subtheme]/template.php on line 95 and defined in /[path to zen]/zen/template.php on line 193.

Problem is basically some of the preprocess hooks didn't get the $hook argument, specifically those that follow the line:

// First run Zen's preprocess function.

I'll try to roll a patch if I get some time.

CommentFileSizeAuthor
#1 zen-6.x-1.x-dev-fix_hook.patch3.89 KBdeciphered

Comments

deciphered’s picture

Status: Active » Needs review
StatusFileSize
new3.89 KB

Here's the patch, think I got all references.

johnalbin’s picture

Status: Needs review » Fixed

HI Stuart,

Thanks for the patch. It looks like it works as advertised.

But the fix for #249532: Allow subthemes to have preprocess hooks without tpl files. allowed me to remove all the phptemplate_preprocess* functions. Now the base theme's preprocess functions get called without having that clunky first line in each of the sub-theme's preprocess functions.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.