I ran into some problems testing PASTE on a new install... (php 7.4.19)
count(): Parameter must be an array or an object that implements Countable in includes/functions.php on line 133
array_splice() expects parameter 1 to be array, null given in includes/functions.php on line 133
I think this happens only on new posts because the time since pasting is zero. Checking $secs for 0 and setting it to 1 before the array assignment seems to fix this.
I ran into some problems testing PASTE on a new install... (php 7.4.19)
I think this happens only on new posts because the time since pasting is zero. Checking
$secs
for 0 and setting it to 1 before the array assignment seems to fix this.