Missing argument in hook_theme and Ilegal offset
That function is taken from Drupal as an implementation of hook_custom_theme(), not hook_theme(). Since the former doesn't get any arguments, PHP is complaining about the function declaring arguments for which it doesn't get any value.

The fix is changing the short name of the module from geocoder_custom to geocoder, for example.