hitmsbkk Posted Saturday at 01:49 AM Share Posted Saturday at 01:49 AM Sorry for my bad english Can anyone help to correct correct the code below: 'pick_country' => Configuration::get('CEDEASYPARCEL_API_PICKUP_COUNTRY')?Configuration::get('CEDEASYPARCEL_API_PICKUP_COUNTRY'):Configuration::get('PS_SHOP_COUNTRY_ID')?Db::getInstance()->getValue("SELECT `iso_code` FROM `"._DB_PREFIX_."country` WHERE `id_country`='".(int)Configuration::get('PS_SHOP_COUNTRY_ID')."'",true):'MY', as it show error Symfony\Component\ErrorHandler\Error\FatalError: Compile Error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` at modules/cedeasyparcel/cedeasyparcel.php:1196 Link to comment Share on other sites More sharing options...
musicmaster Posted Saturday at 03:42 AM Share Posted Saturday at 03:42 AM I once had such an error and I solved it by adding the brackets as the error message suggests. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now