- 🇺🇸United States damienmckenna NH, USA
This resolved the problem for me. Thank you!
- last update
over 1 year 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
over 1 year ago 7:01pm 18 March 2024 - Status changed to Needs review
over 1 year ago 7:16pm 21 March 2024 - last update
over 1 year 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
about 1 year ago 10:14am 9 September 2024 - 🇺🇸United States damienmckenna NH, USA
#12 resolved the problem for me, thank you.