Warning: Parameter 1 to Sh404sefClassRouterInternal::sh404sefErrorPage() expected to be a reference, value given in Unknown on line 0

Fatal error: Uncaught Error: Call to a member function getType() on null in /var/www/html/plugins/system/sef/sef.php:38 Stack trace: #0 /var/www/html/libraries/joomla/event/event.php(70): PlgSystemSef->onAfterDispatch() #1 /var/www/html/libraries/joomla/event/dispatcher.php(160): JEvent->update(Array) #2 /var/www/html/libraries/src/Application/BaseApplication.php(108): JEventDispatcher->trigger('onafterdispatch', Array) #3 /var/www/html/administrator/components/com_sh404sef/helpers/error.php(257): Joomla\CMS\Application\BaseApplication->triggerEvent('onAfterDispatch') #4 /var/www/html/administrator/components/com_sh404sef/helpers/error.php(72): Sh404sefHelperError::render(Object(Exception), 'The page you re...') #5 /var/www/html/administrator/components/com_sh404sef/classes/router.php(1988): Sh404sefHelperError::render404ErrorDocument(Object(Exception)) #6 /var/www/html/administrator/components/com_sh404sef/classes/router.php(1916): Sh404sefClassRouterInternal->sh404sefErrorPage(Object(Exception)) #7 /var/www/html/adminis in /var/www/html/plugins/system/sef/sef.php on line 38