Closed (fixed)
Project:
Zen
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 May 2008 at 02:19 UTC
Updated:
27 May 2008 at 05:13 UTC
Jump to comment: Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | zen-6.x-1.x-dev-fix_hook.patch | 3.89 KB | deciphered |
Comments
Comment #1
decipheredHere's the patch, think I got all references.
Comment #2
johnalbinHI 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.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.