includes/modules/payment/square_webPay.php line 846 creates the error log:

[15-Oct-2022 12:28:29 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Square\Models\Order::__construct(), 0 passed in /home/cust/public_html/shop/includes/modules/payment/square_webPay.php on line 846 and exactly 1 expected in /home/cust/public_html/shop/includes/modules/payment/square_webPay/square/square/src/Models/Order.php:172

Perhaps instead of

return new Models\Order;

it should be

return null;

(This can happen in abnormal situations where the creation of all parts of the error didn't complete successfully.)