Title: Plugin errors with import products
Last modified: November 14, 2022

---

# Plugin errors with import products

 *  Resolved [regvdfregv](https://wordpress.org/support/users/regvdfregv/)
 * (@regvdfregv)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/plugin-errors-with-import-products/)
 * Hey when we are trying to import products on woocommerce we are getting the below
   errors from mailpoet. When the mailpoet plugin (premium as well) is deactivated
   the products imported correctly
 * 1 PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2006
   MySQL server has gone away in /public_html/wp-content/plugins/mailpoet/vendor-
   prefixed/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:59
 * Stack trace:
 * #0 /public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/dbal/lib/
   Doctrine/DBAL/Driver/PDOStatement.php(59): PDOStatement->execute()
 * #1 /public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/dbal/lib/
   Doctrine/DBAL/Connection.php(495): MailPoetVendor\Doctrine\DBAL\Driver\PDOStatement-
   >execute()
 * #2 /public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/
   Doctrine/ORM/Query/Exec/SingleSelectExecutor.php(17): MailPoetVendor\Doctrine\
   DBAL\Connection->executeQuery()
 * #3 /public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/
   Doctrine/ORM/Query.php(143): MailPoetVendor\Doctrine\ORM\Query\Exec\SingleSelectExecutor-
   >execute()
 * #4 /public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/
   Doctrine/ORM/AbstractQuery.php(506): MailPoetVendor\Doctrine\ORM\Query->_doExecute()
 * #5 /public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/
   Doctrine/ORM/AbstractQuery.php(479): MailPoetVendor\Doctrine\ORM\AbstractQuery-
   >executeIgnoreQueryCache()
 * #6 /public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/
   Doctrine/ORM/AbstractQuery.php(373): MailPoetVendor\Doctrine\ORM\AbstractQuery-
   >execute()
 * #7 /public_html/wp-content/plugins/mailpoet/lib/Newsletter/NewslettersRepository.
   php(68): MailPoetVendor\Doctrine\ORM\AbstractQuery->getResult()
 * #8 /public_html/wp-content/plugins/mailpoet/lib/Newsletter/Scheduler/PostNotificationScheduler.
   php(99): MailPoet\Newsletter\NewslettersRepository->findActiveByTypes()
 * #9 /public_html/wp-content/plugins/mailpoet/lib/Newsletter/Scheduler/PostNotificationScheduler.
   php(91): MailPoet\Newsletter\Scheduler\PostNotificationScheduler->schedulePostNotification()
 * #10 /public_html/wp-includes/class-wp-hook.php(307): MailPoet\Newsletter\Scheduler\
   PostNotificationScheduler->transitionHook()
 * #11 /public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
 * #12 /public_html/wp-includes/plugin.php(476): WP_Hook->do_action()
 * #13 /public_html/wp-includes/post.php(5303): do_action()
 * #14 /public_html/wp-includes/post.php(4563): wp_transition_post_status()

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Kel C. a11n](https://wordpress.org/support/users/kellymetal/)
 * (@kellymetal)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/plugin-errors-with-import-products/#post-16202091)
 * Hi there [@regvdfregv](https://wordpress.org/support/users/regvdfregv/),
 * Regarding that “Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 MySQL
   server has gone away” error, we have a troubleshooting page for it at the link
   below. The error is generally caused when the server times out and disconnects,
   or receives a data packet that is bigger than it’s able to handle:
    [https://kb.mailpoet.com/article/307-how-to-fix-general-error-2006-mysql-server-has-gone-away](https://kb.mailpoet.com/article/307-how-to-fix-general-error-2006-mysql-server-has-gone-away)
 * It seems that the WooCommerce product import is likely triggering a check for
   any MailPoet post notifications that are supposed to trigger for new Products,
   which is why disabling MailPoet clears up the issue.
 * Please check with your hosting to ensure the server is configured with the variables
   mentioned in the article above at sufficient values.
 *  [Elvira K.](https://wordpress.org/support/users/treibalen/)
 * (@treibalen)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/plugin-errors-with-import-products/#post-16250859)
 * Hi there [@regvdfregv](https://wordpress.org/support/users/regvdfregv/),
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved–
   we’ll be here if and/or when you are ready to continue.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin errors with import products’ is closed to new replies.

 * ![](https://ps.w.org/mailpoet/assets/icon-256x256.png?rev=3284564)
 * [MailPoet - Newsletters, Email Marketing, and Automation](https://wordpress.org/plugins/mailpoet/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailpoet/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailpoet/)
 * [Active Topics](https://wordpress.org/support/plugin/mailpoet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailpoet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailpoet/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Elvira K.](https://wordpress.org/support/users/treibalen/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/plugin-errors-with-import-products/#post-16250859)
 * Status: resolved