It's throwing a error log:
[19-Nov-2022 20:17:11 America/Chicago] Request URI: /XXkcaz00/index.php?cmd=orders&page=1&oID=90795&action=edit, IP address: 184.170.174.172
#1 square->token_refresh_check() called at [/includes/modules/payment/square.php:505]
#2 square->getAccessToken() called at [/includes/modules/payment/square.php:816]
#3 square->lookupOrderDetails() called at [/includes/modules/payment/square.php:456]
#4 square->admin_notification() called at [/XXkcaz00/orders.php:881]
#5 require(/XXkcaz00/orders.php) called at [/XXkcaz00/index.php:11]
--> PHP Warning: Use of undefined constant MODULE_PAYMENT_SQUARE_APPLICATION_ID - assumed 'MODULE_PAYMENT_SQUARE_APPLICATION_ID' (this will throw an Error in a future version of PHP) in /includes/modules/payment/square.php on line 544.

[19-Nov-2022 20:17:11 America/Chicago] Request URI: /XXkcaz00/index.php?cmd=orders&page=1&oID=90795&action=edit, IP address: 184.170.174.172
#1 square->token_refresh_check() called at [/includes/modules/payment/square.php:505]
#2 square->getAccessToken() called at [/includes/modules/payment/square.php:816]
#3 square->lookupOrderDetails() called at [/includes/modules/payment/square.php:456]
#4 square->admin_notification() called at [/XXkcaz00/orders.php:881]
#5 require(/XXkcaz00/orders.php) called at [/XXkcaz00/index.php:11]
--> PHP Warning: Use of undefined constant MODULE_PAYMENT_SQUARE_ACCESS_TOKEN - assumed 'MODULE_PAYMENT_SQUARE_ACCESS_TOKEN' (this will throw an Error in a future version of PHP) in /includes/modules/payment/square.php on line 546.

[19-Nov-2022 20:17:11 America/Chicago] Request URI: /XXkcaz00/index.php?cmd=orders&page=1&oID=90795&action=edit, IP address: 184.170.174.172
#1 square->isTokenExpired() called at [/includes/modules/payment/square.php:559]
#2 square->token_refresh_check() called at [/includes/modules/payment/square.php:505]
#3 square->getAccessToken() called at [/includes/modules/payment/square.php:816]
#4 square->lookupOrderDetails() called at [/includes/modules/payment/square.php:456]
#5 square->admin_notification() called at [/XXkcaz00/orders.php:881]
#6 require(/XXkcaz00/orders.php) called at [/XXkcaz00/index.php:11]
--> PHP Warning: Use of undefined constant MODULE_PAYMENT_SQUARE_TOKEN_EXPIRES_AT - assumed 'MODULE_PAYMENT_SQUARE_TOKEN_EXPIRES_AT' (this will throw an Error in a future version of PHP) in /includes/modules/payment/square.php on line 525.

[19-Nov-2022 20:17:11 America/Chicago] Request URI: /XXkcaz00/index.php?cmd=orders&page=1&oID=90795&action=edit, IP address: 184.170.174.172
#1 square->isTokenExpired() called at [/includes/modules/payment/square.php:559]
#2 square->token_refresh_check() called at [/includes/modules/payment/square.php:505]
#3 square->getAccessToken() called at [/includes/modules/payment/square.php:816]
#4 square->lookupOrderDetails() called at [/includes/modules/payment/square.php:456]
#5 square->admin_notification() called at [/XXkcaz00/orders.php:881]
#6 require(/XXkcaz00/orders.php) called at [/XXkcaz00/index.php:11]
--> PHP Warning: Use of undefined constant MODULE_PAYMENT_SQUARE_TOKEN_EXPIRES_AT - assumed 'MODULE_PAYMENT_SQUARE_TOKEN_EXPIRES_AT' (this will throw an Error in a future version of PHP) in /includes/modules/payment/square.php on line 526.

[19-Nov-2022 20:17:11 America/Chicago] PHP Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (MODULE_PAYMENT_SQUARE_TOKEN_EXPIRES_AT) at position 0 (M): The timezone could not be found in the database in /includes/modules/payment/square.php:526
Stack trace:
#0 /includes/modules/payment/square.php(526): DateTime->__construct('MODULE_PAYMENT_...')
#1 /includes/modules/payment/square.php(559): square->isTokenExpired('-15 days')
#2 /includes/modules/payment/square.php(505): square->token_refresh_check()
#3 /includes/modules/payment/square.php(816): square->getAccessToken()
#4 /includes/modules/payment/square.php(456): square->lookupOrderDetails('90795')
#5 /XXkcaz00/orders.php(881): square->admin_notification('90795')
#6 /XXkcaz00/index.php(11): require('/home/feadmin/p...')
#7 {main}
thrown in /includes/modules/payment/square.php on line 526

[19-Nov-2022 20:17:11 America/Chicago] Request URI: /XXkcaz00/index.php?cmd=orders&page=1&oID=90795&action=edit, IP address: 184.170.174.172
--> PHP Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (MODULE_PAYMENT_SQUARE_TOKEN_EXPIRES_AT) at position 0 (M): The timezone could not be found in the database in /includes/modules/payment/square.php:526
Stack trace:
#0 /includes/modules/payment/square.php(526): DateTime->__construct('MODULE_PAYMENT_...')
#1 /includes/modules/payment/square.php(559): square->isTokenExpired('-15 days')
#2 /includes/modules/payment/square.php(505): square->token_refresh_check()
#3 /includes/modules/payment/square.php(816): square->getAccessToken()
#4 /includes/modules/payment/square.php(456): square->lookupOrderDetails('90795')
#5 /XXkcaz00/orders.php(881): square->admin_notification('90795')
#6 /XXkcaz00/index.php(11): require('/home/feadmin/p...')
#7 {main}
thrown in /includes/modules/payment/square.php on line 526.