I was checking 1.7.4 and the "fixes" I made and there are some of them (don´t know if currently necessary) that don´t exist:
494,495c494,498
< header("HTTP/1.1 301 Moved Permanently");
< header('Location: ' . $tourl);
---
> //header("HTTP/1.1 301 Moved Permanently");
> //header('Location: ' . $tourl);
> $app = JFactory::getApplication();
> $tourl = str_replace('&','&',$tourl);
> $app->redirect($tourl, $error->getMessage(), $msgType='message');
525c528
< } else {
---
> } /*else {
531c534
< }
---
> }*/
595a599
> restore_exception_handler();
598c602
< // JError::raise($error->get('level'), $error->get('code'), $error->get('message'), $error->get('info'), $error->get('backtrace'));
---
> // JError::raise($error->get('level'), $error->getCode(), $error->getMessage(), $error->get('info'), $error->get('backtrace'));
602c606,611
< $exception = new JException($error->get('message'), $error->get('code'), $error->get('level'), $error->get('info'), $error->get('backtrace'));
---
> $exception = new JException($error->getMessage(),
> $error->getCode()
> //, $error->get('level')
> //, $error->get('info')
> //, $error->get('backtrace')
> );
604c613,614
< $handler = JError::getErrorHandling($exception->get('level'));
---
> //$handler = JError::getErrorHandling($exception->get('level'));
> $handler = JError::getErrorHandling(E_ERROR);
1164a1175
> set_exception_handler(array('plgSystemReDJ', 'customError'));
What do you think? are they correct? (the first one is used to use the joomla messages to comunicate the error, instead of a redirect, maybe this could be configurable in your case, the others are regarding the old get('code') and the exception handlers, but I´m not sure if this is still needed)