Simple; opencart auto-currency update not working, for many people, for a long time.
Who can / will fix it? And publish a fix that will keep working untill the end of time.
Getting Error: 2019-02-28 9:35:40 - PHP Warning: Illegal string offset 'val' in //vqmod/vqcache/vq2-system_storage_modification_admin_model_localisation_currency.php on line 182
This is line 182:
foreach ($json as $name) {
$this->db->query("UPDATE " . DB_PREFIX . "currency SET value = '" . (float)$name['val'] . "', date_modified = '" . $this->db->escape(date('Y-m-d H:i:s')) . "' WHERE code = '" . $result['code'] . "'");
}
Who can / will fix it? And publish a fix that will keep working untill the end of time.
Getting Error: 2019-02-28 9:35:40 - PHP Warning: Illegal string offset 'val' in //vqmod/vqcache/vq2-system_storage_modification_admin_model_localisation_currency.php on line 182
This is line 182:
foreach ($json as $name) {
$this->db->query("UPDATE " . DB_PREFIX . "currency SET value = '" . (float)$name['val'] . "', date_modified = '" . $this->db->escape(date('Y-m-d H:i:s')) . "' WHERE code = '" . $result['code'] . "'");
}
Just use an extension from the Marketplace. Once and for all don't apply when requests needs to be pulled from a provider. In addition, no OC version posted and it's not a bug.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
This extension may help: https://www.opencart.com/index.php?rout ... n_id=19640 .
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
So I tried the plugin, doesn't seem to work my previous currency rate entries are not updated.
Did you followed the instructions from the Marketplace or from the readme / installation file inside the installation package?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 55 guests