Error when activating Mailpoet 3
-
Hi I am doing some local development on my system. When I try to install mailpoet I am getting an error on activation and the plugin doesn’t activate.
Here is the error
Fatal error: Uncaught Error: Undefined class constant ‘MYSQL_ATTR_INIT_COMMAND’ in /var/www/html/wp-content/plugins/mailpoet/lib/Doctrine/ConnectionFactory.php:68 Stack trace: #0 /var/www/html/wp-content/plugins/mailpoet/lib/Doctrine/ConnectionFactory.php(36): MailPoet\Doctrine\ConnectionFactory->getDriverOptions(‘+00:00’, ‘utf8mb4’, ‘utf8mb4_unicode…’) #1 /var/www/html/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(399): MailPoet\Doctrine\ConnectionFactory->createConnection() #2 /var/www/html/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(1394): MailPoetGenerated\FreeCachedContainer->getConnectionService() #3 /var/www/html/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(409): MailPoetGenerated\FreeCachedContainer->getEntityManagerFactoryService() #4 /var/www/html/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(1414): MailPoetGenerated\FreeCachedContainer->getEntityManagerService() #5 /var/www/html/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(142 in /var/www/html/wp-content/plugins/mailpoet/lib/Doctrine/ConnectionFactory.php on line 68
Local development environment:
mysql: 5.7
Wordpress: 5.2.3The page I need help with: [log in to see the link]
- The topic ‘Error when activating Mailpoet 3’ is closed to new replies.