• Resolved deltafactory

    (@deltafactory)


    Activating a new install of the beta plugin, I receive this error:

    Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘XXXXX.wp_mailpoet_subscribers’ doesn’t exist in /home/wp/wordpress/wp-content/plugins/mailpoet/vendor/j4mie/idiorm/idiorm.php:503
    Stack trace:
    #0 /home/wp/wordpress/wp-content/plugins/mailpoet/vendor/j4mie/idiorm/idiorm.php(503): PDOStatement->execute()
    #1 /home/wp/wordpress/wp-content/plugins/mailpoet/vendor/j4mie/idiorm/idiorm.php(1906): ORM::_execute(‘SELECT * FROM `
    …’, Array, ‘default’)
    #2 /home/wp/wordpress/wp-content/plugins/mailpoet/vendor/j4mie/idiorm/idiorm.php(685): ORM->_run()
    #3 /home/wp/wordpress/wp-content/plugins/mailpoet/vendor/j4mie/paris/paris.php(135): ORM->find_one(NULL)
    #4 /home/wp/wordpress/wp-content/plugins/mailpoet/vendor/j4mie/idiorm/idiorm.php(2261): ORMWrapper->find_one()
    #5 /home/wp/wordpress/wp-content/plugins/mailpoet/lib/Segments/WP.php(21): ORM->__call(‘findOne’, Array)
    #6 /home/wp/wordpress/wp-content/plugins/mailpoet/lib/Segments/WP.php(93): MailPoet\Segments\WP::synchronizeUser(‘93603 in /home/wp/wordpress/wp-content/plugins/mailpoet/vendor/j4mie/idiorm/idiorm.php on line 503
    </blockquote>

    When attempting to create the subscribers table on my own, I see these lines in the definition:

    
    first_name tinytext NOT NULL DEFAULT "",
    last_name tinytext NOT NULL DEFAULT "",
    

    which cause this error:

    Error Code: 1101. BLOB, TEXT, GEOMETRY or JSON column 'first_name' can't have a default value

    Please address this.

    • This topic was modified 8 years, 7 months ago by deltafactory.
    • This topic was modified 8 years, 7 months ago by deltafactory. Reason: Code formatting fixes
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Fatal error when activating current beta under clean install’ is closed to new replies.