Support » Plugin: MailPoet - emails and newsletters in WordPress » Fatal error when trying to (re)activate the plugin

  • Resolved Jack

    (@moxie)


    I’m getting this error (I replaced servernames with *****)

    Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table '******.wp_mailpoet_segments' doesn't exist in *****/wp-content/plugins/mailpoet/vendor/j4mie/idiorm/idiorm.php:505 Stack trace: #0 *****wp-content/plugins/mailpoet/vendor/j4mie/idiorm/idiorm.php(505): PDOStatement->execute() #1 *****/wp-content/plugins/mailpoet/vendor/j4mie/idiorm/idiorm.php(1909): ORM::_execute('SELECT * FROM…’, Array, ‘default’) #2 *****/wp-content/plugins/mailpoet/vendor/j4mie/idiorm/idiorm.php(687): ORM->_run() #3 *****/wp-content/plugins/mailpoet/vendor/j4mie/paris/paris.php(145): ORM->find_one(NULL) #4 ******/wp-content/plugins/mailpoet/vendor/j4mie/idiorm/idiorm.php(2269): ORMWrapper->find_one() #5 *****/pub in *****/wp-content/plugins/mailpoet/vendor/j4mie/idiorm/idiorm.php on line 505`

    I already did a database repair, just in case…

    • This topic was modified 4 months, 2 weeks ago by Jack.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author MailPoet

    (@wysija)

    Hi Jack,

    Looks like the table failed to generate on plugin installation. The easiest way is to delete all wp_mailpoet tables from your install (if you don’t have any data from MailPoet you want to save). And then activate the plugin again and it should generate the table.

    Thanks!

    Hi. The plugin was already installed and I already created and sent a few newsletters. I will go and have another look.

    Plugin Author MailPoet

    (@wysija)

    Hi Jack,

    In that case, feel free to reach out to support(at)mailpoet.com and we can manually repair the table for you.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.