Posted backend updated
Posted: 29 Apr 2024 10:12
While poking around in the server attack logs I noticed this error...
What it was counting was an array, but it wasn't initialised as an array. So I have fixed that, but as I could not trigger the problem in the first place... :shrug:
I just thought I'd mention this in case the postage calculation goes completely nuts while making this totally innocent change...
It was in the postage calculation script, though I was unable to trigger it myself :shrug:PHP Warning: count(): Parameter must be an array or an object that implements Countable
What it was counting was an array, but it wasn't initialised as an array. So I have fixed that, but as I could not trigger the problem in the first place... :shrug:
I just thought I'd mention this in case the postage calculation goes completely nuts while making this totally innocent change...