$includecss is the array of css files to include. $navclass is an array of class names.
Anyway, you're calling construct_usercp_nav(), if do is 'addeditphoto', so that should be OK. Is that the entire script? If not, then look for a condition where $shell_template == 1 but you have not called construct_usercp_nav(). Otherwise, maybe a plugin is changing $navclass?
Could it be the reason you don't see those messages in 4.2.2 is because error messages are turned off?
|