- 🇺🇸United States DamienMcKenna NH, USA
This resolved the problem for me. Thank you!
- last update
9 months ago 125 pass - 🇫🇮Finland anaconda777
I got still some errors with PHP 8.2 and created a patch:
- 🇺🇸United States DamienMcKenna NH, USA
#9 is an improvement over #6, but it should be like this:
$order->quote = (isset($quote) && is_array($quote)) ? $quote : array(); $order->quote['accessorials'] = isset($quote['accessorials']) ? strval($quote['accessorials']) : '';
- Status changed to Needs work
9 months ago 7:01pm 18 March 2024 - Status changed to Needs review
9 months ago 7:16pm 21 March 2024 - last update
9 months ago 125 pass - 🇺🇸United States tr Cascadia
db_query()->fetchAssoc()
returns FALSE if there is no quote in the table and returns an array with elements 'method', 'accessorials', and 'rate' if there is a quote.So we don't need all these
isset()
andis_array()
tests.Please test this:
- Status changed to RTBC
3 months ago 10:14am 9 September 2024 - 🇺🇸United States DamienMcKenna NH, USA
#12 resolved the problem for me, thank you.