Perhaps I just don't understand the intended workflow.... I created a Canadian dollar currency, set the company currency to Canadian dollars, enabled currency exchange rate auto updating, logged out and back in. I expected to see current exchange rates updated (caused by the first person to login after enabling auto-updating), but instead the Currencies.php script now fails. Did I do something wrong?
Created Canadian dollar currency
Configured currency auto-updating
Logged out and back in again, believing this will cause currency auto-updater to run
I'm guessing the page had an error because the footer isn't shown.
Following error was logged in httpd-error.log
[Wed Nov 13 18:23:03.222930 2024] [php:error] [pid 86189] [client 162.223.103.50:58315] PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, bool given in /usr/local/www/weberp/Currencies.php:353\nStack trace:\n#0 {main}\n thrown in /usr/local/www/weberp/Currencies.php on line 353, referer: https://weberp.dalescott.net/index.php
Perhaps I just don't understand the intended workflow.... I created a Canadian dollar currency, set the company currency to Canadian dollars, enabled currency exchange rate auto updating, logged out and back in. I expected to see current exchange rates updated (caused by the first person to login after enabling auto-updating), but instead the Currencies.php script now fails. Did I do something wrong?
I'm guessing the page had an error because the footer isn't shown.
Following error was logged in httpd-error.log
[Wed Nov 13 18:23:03.222930 2024] [php:error] [pid 86189] [client 162.223.103.50:58315] PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, bool given in /usr/local/www/weberp/Currencies.php:353\nStack trace:\n#0 {main}\n thrown in /usr/local/www/weberp/Currencies.php on line 353, referer: https://weberp.dalescott.net/index.php