Currently facing the following error in the cp_js_end
hook.
Undefined property: Javascript::$session
it looks like the session class isn`t loading anymore in EE 2.6+ It whas working in older versions.
Is this a bug, or did EL change the way of loading the session class in some other order?
Example:
function cp_js_end()
{
print_r(ee()->session);
}