upgrade errors with 5.5.0
PermalinkWarning: set_exception_handler() expects the argument (View::defaultExceptionHandler) to be a valid callback in C:\xampp\htdocs\concrete\concrete\dispatcher.php on line 46
Fatal error: Call to undefined method View::addFooterItem() in C:\xampp\htdocs\concrete\concrete\elements\page_controls_header.php on line 24
can anyone help please
Regards
Mike

thanks for replying
I upgraded the usual way, replaced the complete concrete folder with the new one and pasted
http://localhost/concrete/index.php/tools/required/upgrade......
into a browser, said upgraded ok.
I have gone back to the older version and everything works ok, retried the 5.5.0 concrete folder but keep getting the same errors
Regards
Mike
Really need someone's help on this. Now a site that the client is monitoring for a large update doesn't exist at all
but I had to do the following
copy "concrete/libaries/events.php" to the root (replicating the path).
About line 160 you will see
$params = (is_array($ev[4])) ? $ev[4] : array(); // now if args has any values we put them FIRST $params = array_merge($args, $params); if (method_exists($ev[1], $ev[2])) { // Note: DO NOT DO RETURN HERE BECAUSE THEN MULTIPLE EVENTS WON'T WORK $eventReturn = call_user_func_array(array($ev[1], $ev[2]), $params); }
replace with
$params = (is_array($ev[4])) ? $ev[4] : array(); // now if args has any values we put them FIRST if (is_array($params)) $params = array_merge($args, $params); else $params = array_merge($args, array($params)); if (method_exists($ev[1], $ev[2]) && !empty($params)) { // Note: DO NOT DO RETURN HERE BECAUSE THEN MULTIPLE EVENTS WON'T WORK $eventReturn = call_user_func_array(array($ev[1], $ev[2]), $params); }
So, I suppose if you see errors like this when you are upgrading, double check your overrides as they could very likely be the source of the issue.
http://www.concrete5.org/community/forums/customizing_c5/on-login-e...
The override strategy, whilst great for not modifying the core, does seem to have this one weakness.
The problem above, will only exhibit itself if you only have one event hooked.
Overriding hopefully isn't something less experienced users are actually doing.
Overriding is essentially no different than modifying the core, beyond giving someone else who comes into it the breadcrumb to follow to see what stuff someone might have changed.
Thanks for the tips this was the issue I was experiencing, an extended library view, some quick changes and voila.
Thanks