• Resolved wreciak

    (@wreciak)


    Hi
    I would like to try WP MVC, but i cannot even try the default example plugins.
    After installing it crush WP backend with an error:

    [MVC] Fatal Error: To associate posts with Venue, its table needs to have a column named “post_id” of type BIGINT(20). Please run the following SQL to add and index the column:
    ALTER TABLE wp_venues ADD COLUMN post_id BIGINT(20);
    ALTER TABLE wp_venues ADD INDEX (post_id);

    Thrown on line 59 of …/wp-content/plugins/wp-mvc/core/models/mvc_model.php

    Table was created, and that ALTER TABLE command will not run because #1060 – Duplicate column name ‘post_id’

    So, not really promising start ?? any idea? I believed the db tables are created on plugin activation … the same error pop up on both examples.
    Thanks in advance and have a nice day
    Martin

    https://www.ads-software.com/extend/plugins/wp-mvc/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[MVC] Fatal Error for example plugin’ is closed to new replies.