I've noticed that in my plugin code there is something wrong. I'm getting an illegal string offset error in the dependency delcaration of the
wp_register_script( 'map-autocomplete', 'https://email@example.com/dist/js/autocomplete.min.js', ['map','map-config'], false, true ); wp_enqueue_script('map-autocomplete');
Is there something wrong into the array?
Illegal string offset 'map'but the code is ok, not sure why this occur, it's a warning, not really an error