• Resolved onestopinternetshop

    (@onestopinternetshop)


    Can somebody help with the below error I am getting emailed for one of my clients websites I host for them?

    I cannot see any issue with the website but they have been sent an email saying there is an issue detailing the error below.

    Any help much appreciated

    Error Details
    =============
    An error of type E_ERROR was caused in line 59 of the file /home/customer/www/julietbatten.co.nz/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php. Error message: Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘t0.wp_post_id’ in ‘field list’ in /home/customer/www/julietbatten.co.nz/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:59
    Stack trace:
    #0 /home/customer/www/julietbatten.co.nz/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(59): PDOStatement->execute(NULL)
    #1 /home/customer/www/julietbatten.co.nz/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(495): MailPoetVendor\Doctrine\DBAL\Driver\PDOStatement->execute()
    #2 /home/customer/www/julietbatten.co.nz/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(375): MailPoetVendor\Doctrine\DBAL\Connection->executeQuery(‘SELECT t0.hash …’, Array, Array)
    #3 /home/customer/www/julietbatten.co.nz/public_html/wp-content/plugins/mailpoet/ve

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Bruna a11n

    (@bruberries)

    Hi @onestopinternetshop,

    We’ve seen a couple of similar reports and the team is already working on a fix to prevent this from happening.

    In your case, we suggest deactivating and reactivating the plugin in the WordPress > Plugins page (yes, the good old “turn it off and on again”!).

    Let us know if it does the trick!

    Hello, we’ve got exactly the same error here (Guesse it’s since the update), please see the log :

    Une erreur de type E_ERROR a été causée dans la ligne 59 du fichier /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php. Message d’erreur : Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.wp_post_id' in 'field list' in /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:59 Stack trace: #0 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(59): PDOStatement->execute() #1 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(495): MailPoetVendor\Doctrine\DBAL\Driver\PDOStatement->execute() #2 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(375): MailPoetVendor\Doctrine\DBAL\Connection->executeQuery() #3 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(386): MailPoetVendor\Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load() #4 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(237): MailPoetVendor\Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadById() #5 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(64): MailPoetVendor\Doctrine\ORM\EntityManager->find() #6 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/lib/Doctrine/Repository.php(77): MailPoetVendor\Doctrine\ORM\EntityRepository->find() #7 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/lib/WooCommerce/TransactionalEmailHooks.php(74): MailPoet\Doctrine\Repository->findOneById() #8 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/lib/WooCommerce/TransactionalEmailHooks.php(86): MailPoet\WooCommerce\TransactionalEmailHooks->getNewsletter() #9 /home/nyzv0426/public_html/wp-includes/class-wp-hook.php(312): MailPoet\WooCommerce\TransactionalEmailHooks->MailPoet\WooCommerce\{closure}() #10 /home/nyzv0426/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #11 /home/nyzv0426/public_html/wp-includes/option.php(253): apply_filters() #12 /home/nyzv0426/public_html/wp-content/plugins/pw-woocommerce-gift-cards/pw-gift-cards.php(128): get_option() #13 /home/nyzv0426/public_html/wp-includes/class-wp-hook.php(310): PW_Gift_Cards->woocommerce_init() #14 /home/nyzv0426/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #15 /home/nyzv0426/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #16 /home/nyzv0426/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(703): do_action() #17 /home/nyzv0426/public_html/wp-includes/class-wp-hook.php(310): WooCommerce->init() #18 /home/nyzv0426/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #19 /home/nyzv0426/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #20 /home/nyzv0426/public_html/wp-settings.php(632): do_action() #21 /home/nyzv0426/public_html/wp-config.php(86): require_once('/home/nyzv0426/...') #22 /home/nyzv0426/public_html/wp-load.php(50): require_once('/home/nyzv0426/...') #23 /home/nyzv0426/public_html/wp-admin/admin.php(34): require_once('/home/nyzv0426/...') #24 /home/nyzv0426/public_html/wp-admin/index.php(10): require_once('/home/nyzv0426/...') #25 {main} Next MailPoetVendor\Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.wp_post_id' in 'field list' in /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:10 Stack trace: #0 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(61): MailPoetVendor\Doctrine\DBAL\Driver\PDO\Exception::new() #1 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(495): MailPoetVendor\Doctrine\DBAL\Driver\PDOStatement->execute() #2 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(375): MailPoetVendor\Doctrine\DBAL\Connection->executeQuery() #3 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(386): MailPoetVendor\Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load() #4 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(237): MailPoetVendor\Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadById() #5 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(64): MailPoetVendor\Doctrine\ORM\EntityManager->find() #6 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/lib/Doctrine/Repository.php(77): MailPoetVendor\Doctrine\ORM\EntityRepository->find() #7 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/lib/WooCommerce/TransactionalEmailHooks.php(74): MailPoet\Doctrine\Repository->findOneById() #8 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/lib/WooCommerce/TransactionalEmailHooks.php(86): MailPoet\WooCommerce\TransactionalEmailHooks->getNewsletter() #9 /home/nyzv0426/public_html/wp-includes/class-wp-hook.php(312): MailPoet\WooCommerce\TransactionalEmailHooks->MailPoet\WooCommerce\{closure}() #10 /home/nyzv0426/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #11 /home/nyzv0426/public_html/wp-includes/option.php(253): apply_filters() #12 /home/nyzv0426/public_html/wp-content/plugins/pw-woocommerce-gift-cards/pw-gift-cards.php(128): get_option() #13 /home/nyzv0426/public_html/wp-includes/class-wp-hook.php(310): PW_Gift_Cards->woocommerce_init() #14 /home/nyzv0426/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #15 /home/nyzv0426/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #16 /home/nyzv0426/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(703): do_action() #17 /home/nyzv0426/public_html/wp-includes/class-wp-hook.php(310): WooCommerce->init() #18 /home/nyzv0426/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #19 /home/nyzv0426/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #20 /home/nyzv0426/public_html/wp-settings.php(632): do_action() #21 /home/nyzv0426/public_html/wp-config.php(86): require_once('/home/nyzv0426/...') #22 /home/nyzv0426/public_html/wp-load.php(50): require_once('/home/nyzv0426/...') #23 /home/nyzv0426/public_html/wp-admin/admin.php(34): require_once('/home/nyzv0426/...') #24 /home/nyzv0426/public_html/wp-admin/index.php(10): require_once('/home/nyzv0426/...') #25 {main} Next MailPoetVendor\Doctrine\DBAL\Exception\InvalidFieldNameException: An exception occurred while executing 'SELECT t0.hash AS hash_1, t0.subject AS subject_2, t0.type AS type_3, t0.sender_address AS sender_address_4, t0.sender_name AS sender_name_5, t0.status AS status_6, t0.reply_to_address AS reply_to_address_7, t0.reply_to_name AS reply_to_name_8, t0.preheader AS preheader_9, t0.wp_post_id AS wp_post_id_10, t0.body AS body_11, t0.sent_at AS sent_at_12, t0.unsubscribe_token AS unsubscribe_token_13, t0.ga_campaign AS ga_campaign_14, t0.id AS id_15, t0.created_at AS created_at_16, t0.updated_at AS updated_at_17, t0.deleted_at AS deleted_at_18, t0.parent_id AS parent_id_19 FROM wpba_mailpoet_newsletters t0 WHERE t0.id = ?' with params ["2"]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.wp_post_id' in 'field list' in /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:59 Stack trace: #0 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(77): MailPoetVendor\Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException() #1 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(65): MailPoetVendor\Doctrine\DBAL\DBALException::wrapException() #2 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(936): MailPoetVendor\Doctrine\DBAL\DBALException::driverExceptionDuringQuery() #3 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(503): MailPoetVendor\Doctrine\DBAL\Connection->handleExceptionDuringQuery() #4 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(375): MailPoetVendor\Doctrine\DBAL\Connection->executeQuery() #5 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(386): MailPoetVendor\Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load() #6 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(237): MailPoetVendor\Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadById() #7 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(64): MailPoetVendor\Doctrine\ORM\EntityManager->find() #8 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/lib/Doctrine/Repository.php(77): MailPoetVendor\Doctrine\ORM\EntityRepository->find() #9 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/lib/WooCommerce/TransactionalEmailHooks.php(74): MailPoet\Doctrine\Repository->findOneById() #10 /home/nyzv0426/public_html/wp-content/plugins/mailpoet/lib/WooCommerce/TransactionalEmailHooks.php(86): MailPoet\WooCommerce\TransactionalEmailHooks->getNewsletter() #11 /home/nyzv0426/public_html/wp-includes/class-wp-hook.php(312): MailPoet\WooCommerce\TransactionalEmailHooks->MailPoet\WooCommerce\{closure}() #12 /home/nyzv0426/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #13 /home/nyzv0426/public_html/wp-includes/option.php(253): apply_filters() #14 /home/nyzv0426/public_html/wp-content/plugins/pw-woocommerce-gift-cards/pw-gift-cards.php(128): get_option() #15 /home/nyzv0426/public_html/wp-includes/class-wp-hook.php(310): PW_Gift_Cards->woocommerce_init() #16 /home/nyzv0426/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #17 /home/nyzv0426/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #18 /home/nyzv0426/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(703): do_action() #19 /home/nyzv0426/public_html/wp-includes/class-wp-hook.php(310): WooCommerce->init() #20 /home/nyzv0426/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #21 /home/nyzv0426/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #22 /home/nyzv0426/public_html/wp-settings.php(632): do_action() #23 /home/nyzv0426/public_html/wp-config.php(86): require_once('/home/nyzv0426/...') #24 /home/nyzv0426/public_html/wp-load.php(50): require_once('/home/nyzv0426/...') #25 /home/nyzv0426/public_html/wp-admin/admin.php(34): require_once('/home/nyzv0426/...') #26 /home/nyzv0426/public_html/wp-admin/index.php(10): require_once('/home/nyzv0426/...') #27 {main} thrown

    What is the fix and what do we have to do right now ?

    • This reply was modified 1 year, 2 months ago by chacha2340.
    Plugin Support Ojoma a11n

    (@geraltrivia)

    Hello there @chacha2340 ,

    These types of?errors are most often caused by either missing or corrupted files, which can happen if there’s some type of glitch while updating WordPress plugins/themes and something doesn’t go as expected.

    As a first step here, I’d recommend re-installing the plugin and then checking to see if the issue is resolved. You can remove the plugin and re-install it from your admin dashboard’s Plugins page, or alternatively, we have a guide for re-installing via FTP here: Re-installing / Updating the Plugin via FTP

    If you have any other enquiry or update to this, please open a separate thread.

    Thanks for reaching out.

    I have the same issue. Re-installing via FTP did not work (I overwrite MailPoet & MailPoet Premium folders) since it’s database columns that are missing. I also tried re-installing by renaming mailpoet folder and installing again, but it gives the critical error again. None of my transactional email now works, please urgently advise!

    • This reply was modified 1 year, 2 months ago by dtolken.
    Plugin Support Ojoma a11n

    (@geraltrivia)

    @dtolken Thank you for reaching out to us.

    Next time, please start a new thread. For better tracking of these requests.

    Please contact us via https://www.mailpoet.com/support/sales-pre-sales-questions/ and include a link to this thread.

    We’ll be able to provide you with more information there.

    Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Mailpoet plugin error’ is closed to new replies.