By Norrin on
Hi,
i recently upgraded my Drupal 4.5.2 installation to Druapl 4.6.
I use PHP-Template for my self built template. After installing the latest version from the CVS, I put my own theme back into the themes folder and activated it via the admin pages.
Now I do get the following error above all pages:
warning: Missing argument 1 for theme_help() in *drupal*/includes/theme.inc on line 35.
The theme went perfectly smooth with my 4.5.2 installation. I allready looked at line 35 in 'theme.inc',
function theme_help($section) {
switch ($section) {
case 'admin/themes#description':
return t('The base theme');
}
}
but this didn't really give me the clue as I'm not a coder myself. So, where should I seek to solve the problem? Any hints are highly appreciated.
Comments
Similar problems with the CVS phptemplate engine
I had a similar problem and it seems to be as a result of some restructuring of the phptemplate theme engine.
try changing your phptemplate.engine file in themes/engines/phptemplate
here's what i changed in mine:
there's probably a more future proof way, but it worked for me.
Hope that helps,
Craig.
That did the trick!
Thanks a lot.
Thx for the post!! Was about to go nuts with this error!
neuraxon77, thanks for the solution to this issue. This has been driving me nuts for a while and probably never would have found the solution on my own.
Whew, now on to the next task at hand, if I can remember where I was!!
thx again,
Hedge
missing argument 1 for theme_help()....
hey dude thanks alot for that solution it was becoming a real pain. It worked real well.
thanks