PHP 7.3 causes fatal error
-
When I try to enable PHP 7.3 for my site, there is a fatal error:
[23-Sep-2019 18:41:54 UTC] PHP Fatal error: Uncaught Error: Undefined class constant ‘MYSQL_ATTR_INIT_COMMAND’ in /home/myusername/public_html/wp-content/plugins/mailpoet/lib/Doctrine/ConnectionFactory.php:68
Stack trace:
#0 /home/myusername/public_html/wp-content/plugins/mailpoet/lib/Doctrine/ConnectionFactory.php(36): MailPoet\Doctrine\ConnectionFactory->getDriverOptions(‘-05:00’, ‘utf8mb4’, ‘utf8mb4_unicode…’)
#1 /home/myusername/public_html/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(399): MailPoet\Doctrine\ConnectionFactory->createConnection()
#2 /home/myusername/public_html/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(1394): MailPoetGenerated\FreeCachedContainer->getConnectionService()
#3 /home/myusername/public_html/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(409): MailPoetGenerated\FreeCachedContainer->getEntityManagerFactoryService()
#4 /home/myusername/public_html/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(1414): MailPoetGenerated\FreeCachedContainer->getEntityManagerService()
#5 / in /home/myusername/public_html/wp-content/plugins/mailpoet/lib/Doctrine/ConnectionFactory.php on line 68Is MailPoet compatible with PHP 7.3? If so, any ideas what is happening?
– Scott
- The topic ‘PHP 7.3 causes fatal error’ is closed to new replies.