Fatal error: During inheritance of Cake\Mailer\Email, while implementing Serializable: Uncaught TypeError: preg_replace(): Argument #2 ($replacement) must be of type array|string, int given in /home/premiumappliance/public_html/vendor/cakephp/cakephp/src/Utility/Text.php:235 Stack trace: #0 /home/premiumappliance/public_html/vendor/cakephp/cakephp/src/Utility/Text.php(235): preg_replace('/(?<!\\\\)\\{\\:typ...', 2363381545, '{:reference} - ...') #1 /home/premiumappliance/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php(360): Cake\Utility\Text::insert('{:reference} - ...', Array, Array) #2 /home/premiumappliance/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php(277): Cake\Error\Debugger::formatTrace(Array, Array) #3 /home/premiumappliance/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php(778): Cake\Error\Debugger::trace(Array) #4 /home/premiumappliance/public_html/vendor/cakephp/cakephp/src/Error/ErrorHandler.php(121): Cake\Error\Debugger->outputError(Array) #5 /home/premiumappliance/public_html/vendor/cakephp/cakephp/src/Error/BaseErrorHandler.php(177): Cake\Error\ErrorHandler->_displayError(Array, true) #6 /home/premiumappliance/public_html/vendor/cakephp/cakephp/src/Mailer/Email.php(43): Cake\Error\BaseErrorHandler->handleError(8192, 'Cake\\Mailer\\Ema...', '/home/premiumap...', 43) #7 /home/premiumappliance/public_html/vendor/composer/ClassLoader.php(444): include('/home/premiumap...') #8 /home/premiumappliance/public_html/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/premiumap...') #9 /home/premiumappliance/public_html/config/bootstrap.php(168): Composer\Autoload\ClassLoader->loadClass('Cake\\Mailer\\Ema...') #10 /home/premiumappliance/public_html/vendor/cakephp/cakephp/src/Http/BaseApplication.php(139): require_once('/home/premiumap...') #11 /home/premiumappliance/public_html/src/Application.php(98): Cake\Http\BaseApplication->bootstrap() #12 /home/premiumappliance/public_html/vendor/cakephp/cakephp/src/Http/Server.php(110): App\Application->bootstrap() #13 /home/premiumappliance/public_html/vendor/cakephp/cakephp/src/Http/Server.php(79): Cake\Http\Server->bootstrap() #14 /home/premiumappliance/public_html/webroot/index.php(40): Cake\Http\Server->run() #15 {main} in /home/premiumappliance/public_html/vendor/cakephp/cakephp/src/Mailer/Email.php on line 43

Fatal error: Uncaught TypeError: preg_replace(): Argument #2 ($replacement) must be of type array|string, int given in /home/premiumappliance/public_html/vendor/cakephp/cakephp/src/Utility/Text.php:235 Stack trace: #0 /home/premiumappliance/public_html/vendor/cakephp/cakephp/src/Utility/Text.php(235): preg_replace('/(?<!\\\\)\\{\\:typ...', 2363381545, '{:reference} - ...') #1 /home/premiumappliance/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php(360): Cake\Utility\Text::insert('{:reference} - ...', Array, Array) #2 /home/premiumappliance/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php(277): Cake\Error\Debugger::formatTrace(Array, Array) #3 /home/premiumappliance/public_html/vendor/cakephp/cakephp/src/Error/BaseErrorHandler.php(304): Cake\Error\Debugger::trace(Array) #4 /home/premiumappliance/public_html/vendor/cakephp/cakephp/src/Error/BaseErrorHandler.php(248): Cake\Error\BaseErrorHandler->_logError(3, Array) #5 /home/premiumappliance/public_html/vendor/cakephp/cakephp/src/Error/BaseErrorHandler.php(118): Cake\Error\BaseErrorHandler->handleFatalError(1, 'During inherita...', '/home/premiumap...', 43) #6 [internal function]: Cake\Error\BaseErrorHandler->Cake\Error\{closure}() #7 {main} thrown in /home/premiumappliance/public_html/vendor/cakephp/cakephp/src/Utility/Text.php on line 235