Localized {siteUrl} setting - confused Has something changed recently regarding the ocalized {siteUrl} setting? I'm setting up a new localized site on MAMP PRO and the old config code I used on several other projects is throwing an error "Array to string conversion".

This works fine:

return array(
'*' =&gt; array(
    'omitScriptNameInUrls' =&gt; true,
),

'pazzo.dev' =&gt; array(
    'devMode' =&gt; true,
    'environmentVariables' =&gt; array(
        'fileSystemPath' =&gt; '/Applications/MAMP/htdocs/pazzo/',
        'siteUrl' =&gt; 'http://pazzo.dev:8888/'
    )
),

'*.pazzo.be' =&gt; array(
    'devMode' =&gt; false,
    'cooldownDuration' =&gt; 0,
    'environmentVariables' =&gt; array(
        'fileSystemPath' =&gt; '/opt/www/pocopazzobvba/web/www.pazzo.be/',
        'siteUrl' =&gt; 'http://www.pazzo.be/'
    )
)


);

This (what I have used before) throws the error.

return array(
'*' =&gt; array(
    'omitScriptNameInUrls' =&gt; true
),
'pazzo.dev:8888' =&gt; array(
    'devMode' =&gt; true,
    'environmentVariables' =&gt; array(
        'siteUrl' =&gt; array(
            'en' =&gt; 'http://pazzo.dev:8888/en/',
            'fr' =&gt; 'http://pazzo.dev:8888/fr/',
            'nl' =&gt; 'http://pazzo.dev:8888/'
        ),
        'fileSystemPath' =&gt; '/Applications/MAMP/htdocs/pazzo/'
    )
),
'www.pazzo.be' =&gt; array(
    'cooldownDuration' =&gt; 0,
    'devMode' =&gt; false,
    'environmentVariables' =&gt; array(
        'siteUrl' =&gt; array(
            'en' =&gt; 'http://www.pazzo.be/en/',
            'fr' =&gt; 'http://www.pazzo.be/fr/',
            'nl' =&gt; 'http://www.pazzo.be/'
        ),
        'fileSystemPath' =&gt; '/opt/www/pocopazzobvba/web/www.pazzo.be/'
    )
)


);

Am I missing something obvious??
siteUrl works with an array of locales if you're using the actual siteUrl config setting.  What you're currently doing is creating a separate 'siteUrl' environment variable, which places in the control panel aren't expecting to be in array format.

More good info on the different ways to set siteUrl here.