Illegal offset type in theme.inc?
I checked my recent log entries tonight to find it full of this error:
Illegal offset type in /homedirectory/includes/theme.inc on line 169.
The error seems to be happening with every single page that is viewed, regardless of whether someone is logged in or not.
line 169 in includes/theme.inc is:
' if ($functions[$function]) {
There is no problem using the site or accessing any of the content that I have seen yet.
I am looking for some direction on what I might do to troubleshoot the problem. I looked in my server logs, and have searched the forums and am not sure where to go from there... here is information about my site, please let me know if there is anything else that would be helpful- thank you for any ideas.
Drupal 5.1
MySQL 5.0.18
PHP 4.4.4
The contributed modules that I am using are:
adsense
akismet
amazontools
bbcode
captcha
category
cck
countdown
globalredirect
google_analytics
gsitemap
logintoboggan
nodewords
pathauto
persistant_login
textimage
update_status
views
All of the modules are current. Any ideas are greatly appreciated!

Fixed
I really can't imagine anyone making the same stupid mistake that I did to cause this error, but just in case, the problem was caused by a small change I had made to my node.tpl.php file.
how?
Hi,
I was wondering how you fixed this issue?
Thanks,
Mark
How to fix--
Mark, I actually can't remember what change I had made- but you may want to replace your current node.tpl.php with a fresh one and see if that gets rid of the problem- then you can go through any changes you have made to your version to identify the problem.
Tried it
but.. it is still giving that error message.
Thanks for the info. I tried what you suggested and for a while it worked, now error happens when users browse every other node. If anyone has an idea how to fix this issue, please let me know. very much appreciated.
Thank you,
Mark