NOTE: This is ONLY reporting a warning, which only occurs because of PHP 7.2's new strict mode.
The irony is that it's triggered when checking if any errors exist, and since nothing has been recorded as errors, but the variable where errors are stored hasn't been declared, this warning is triggered.
You can fix this minor issue by adding a new line as shown here, around line 325 in /includes/modules/payment/square.php:
Code:
$body = new \SquareConnect\Model\ZenCartChargeRequest($request_body);
$errors_object = array();
try {
$result = $api_instance->charge($location->id, $body);
$errors_object = $result->getErrors();