Getting the above error when trying to add a new entry to a structure section.
The Section has an Entry URL Format of:
{siteUrl}/{slug}
In my general.php in the config folder I have:
return array(
'*' => array(
'omitScriptNameInUrls' => true,
),
'local.ontherocks.dev' => array(
'devMode' => true,
'environmentVariables' => array(
'basePath' => 'C:/Users/User/Documents/My Websites/Sitename/public/',
'baseUrl' => 'http://local.ontherocks.dev/',
'siteUrl' => 'http://local.ontherocks.dev/',
)
)
);
I don't see why I am getting this error - I have the same set up in another site I did.