Also remove the & in this place here
($match, $state, $pos, Doku_Handler &$handler)
in lib/plugins/rater/syntax.php
Your first error was (Doku_Event_Handler &$controller), that one has gone away. If you fix the second error, I assume the plugin will work again.