Zencart 1.5.8a - PHP 8.2 - No Plugins - Fresh install w/upgraded DB

Hello, I am getting this error with a fresh install and upgraded database.

Code:
PHP Fatal error: Uncaught Error: Undefined constant "MODULE_PAYMENT_PAYPALDP_MERCHANT_COUNTRY"

/home/dev/public_html/includes/modules/payment/paypaldp.php:264
Because of the error the payment modules page only loads halfway, stops right after Paypal Payments Standard. It also affects the orders-edit page with just a white screen.

Any seen this before?

Thanks