• Resolved startechmarketing

    (@startechmarketing)


    Exception: SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘wp_mailpoet_subscribers.wp_user_id’?

    content/plugins/mailpoet/lib/Models/Model.php:373
    Stack trace:

    15 lines of code how to fix after migration?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter startechmarketing

    (@startechmarketing)

    I manually changed the column name it was there but wrong from migration following these steps

    MODIFYING TABLE COLUMNS IN PHPMYADMIN

    This tutorial will demonstrate how to modify existing MySQL database tables in phpMyAdmin.

    WARNING! Be careful changing certain aspects of table columns, because it is possible to lose data.  For example, if you change the maximum length of a field from 20 characters to 15 characters, any data in that column that is longer than 15 characters will be truncated (chopped off).

    Begin by accessing phpMyAdmin via cPanel.

    1. Select the database you want to work with (by clicking on database name in the left column of the phpMyAdmin home page).
    2. Once inside a database, you will see a list of tables.  Click on the table you wish to modify.
    3. Inside the table, you will see a list of columns.  To the right of the column name, you will see a link called “Change” under the Actions.  Click on the Change link for the column you wish to modify.
    4. You can change a variety of things, including the name of the column, length of the field (maximum number of characters allowed), default value, and more.
    5. Once you are ready to proceed, click on Save to save the changes.
    Plugin Support Tseten a11n

    (@tibetanitech)

    Hi there,

    I’m not quite sure what you are trying to accomplish here. It looks like you changed a database column and it is showing you error after the migration. Is that right? Can you tell us, why do you need to make this change and what is the purpose and goal for this?

    Thanks!

    Thread Starter startechmarketing

    (@startechmarketing)

    Hello Tseten,

    As I said in original after migration there was an error, I followed the steps in my second reply to correct the column (table) that was missing, it was error in the name, that fixed it. Since I had 10 websites with this error I hope this helps others with migration issues (I used prime mover plugin)

    Plugin Support Tseten a11n

    (@tibetanitech)

    Hi there,

    Thank you for sharing your knowledge with us. I hope this will help others if they use the same migration plugin and comes across this error in the future. I’ll go ahead and mark this thread as resolved.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Exception: SQLSTATE[42S22]: Column not found’ is closed to new replies.