Domain Mapping crashing Site on Local Development Environment

Hey folks!

I'm setting up my Local Development Environment using macOS + Homebrew and things are working fine. But when I enable the Domain Mapping Plugin (it uses 127.0.0.1 as my local IP), first it says I'm using an old version of sunrise.php (but I'm using the very latest version), and after enabling it crashes my site with the following message:

Fatal error: Uncaught Error: [] operator not supported for strings in /[Moderated]/wp-content/plugins/domain-mapping/classes/Domainmap/Module/Cdsso.php:350 Stack trace: #0 /[Moderated]/wp-includes/class-wp-hook.php(298): Domainmap_Module_Cdsso->add_query_var_for_endpoint('') #1 /[Moderated]/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /[Moderated]/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /[Moderated]/wp-settings.php(449): do_action('init') #4 /[Moderated]/wp-config.php(115): require_once('/Users/fabio/Si...') #5 /[Moderated]/wp-load.php(37): require_once('/Users/fabio/Si...') #6 /[Moderated]/wp-admin/admin.php(31): require_once('/Users/fabio/Si...') #7 /[Moderated]/wp-admin/network/admin.php(13): require_once('/Users/fabio/Si...') #8 /[Moderated]/wp-admin/network/settings.php(11): require_once('/Users/fabio/Si...') #9 {main} thrown in /[Moderated]/wp-content/plugins/domain-mapping/classes/Domainmap/Module/Cdsso.php on line 350.

Is there something I could do to make it work?

Maybe some Apache Module is missing?

Thank you in advance, cheers!