had a few errors, all listed within opencart
I had a new problem, but fixed it myself
the nuance here is the site is used in 'catalog' mode with zero orders, so the map.php was throwing errors "($string) of type string is deprecated", admin/controller/extension/dashboard/map.php
"json_decode(): Passing null to parameter #1 ($json) of type string is deprecated"
fixed this by placing a test on line 120, "if (isset($result)) "
Code: Select all
if (isset($result)) {
foreach ($results as $result) {
$json[strtolower($result['iso_code_2'])] = array(
'total' => $result['total'],
'amount' => $this->currency->format($result['amount'], $this->config->get('config_currency'))
);
}
}