Hi,
Thank you for your feedback.
Remove the code:
$elements = array($element);
$key = key($elements);
if(empty($elements[$key]->shipping_params->lang_file_override)){
jimport('joomla.filesystem.file');
jimport('joomla.filesystem.folder');
$folder = JLanguage::getLanguagePath(JPATH_ROOT).DS.'overrides';
$path = $folder.DS.'en-GB.override.ini';
$content_override='';
if(JFile::exists($path)){
$content_override=JFile::read($path);
}
$content_override .= '
FEDEX_METER_ID="Meter #"'.'
FEDEX_ACCOUNT_NUMBER="Account #"'.'
FEDEX_API_KEY="API Key"'.'
FEDEX_API_PASSWORD="API Password"'.'
FEDEX_SHOW_ETA="Show ETA?"'.'
FEDEX_SHOW_ETA_FORMAT="ETA Format"'.'
PACKAGING_TYPE="Packaging Type"'.'
BOX_DIMENSIONS="Box Dimensions"'.'
ORIGINATION_POSTCODE="Ship From Postcode"'.'
SENDER_COMPANY="Sender Company"'.'
SENDER_PHONE="Sender Phone"'.'
SENDER_ADDRESS="Sender Address"'.'
SENDER_CITY="Sender City"'.'
SENDER_STATE="Sender State"'.'
SENDER_POSTCODE="Sender Zip"';
if(!JFolder::exists($folder)){
JFolder::create($folder);
}
if(JFolder::exists($folder)){
$path = $folder.DS.'en-GB.override.ini';
$result = JFile::write($path, $content_override);
if(!$result){
hikashop_display(JText::sprintf('FAIL_SAVE',$path),'error');
}else {
$elements[$key]->shipping_params->lang_file_override = 1;
}
}
}
from the file plugins/hikashopshipping/fedex/fedex.php as it is obsolete and that will remove the problem.