By Anonymous (not verified) on
Hello.
I had an old site(Drupal 6.18) with a lot of contrib, custom modules. I've upgraded a core and module successfully. But it does not work appropriately. I have been investigating by xdebug too.
I received a white screen. Drupal worked without notifications, warnings. I saw that theme() returned null. I found that this function had not been registered. But it should. I continued to investigate theme registry process. The modules were in the module list, but theme_hook did not exist for this modules. I've found that my modules are loaded after the theme registry proccess. hook_menu works. This project worked for a long time before.
Could anybody tell me any tip?
Thank you!
Comments
Solved.
There was an while module loading, that was coucth and sent to watchdog, where theme was called. It confused module loading order.