• Resolved joefollette

    (@joefollette)


    I installed this plugin on one site in my multisite install and it is working great. It will not allow me to activate plugin on any other site even if I deactivate it on the original site it was installed. I have attempted to install it on a site with no plugins and Twenty-fifteen installed with the same result. It appears to me that the plugin isn’t designed to work in a multisite situation.

    https://www.ads-software.com/plugins/wp-testing/

Viewing 15 replies - 1 through 15 (of 25 total)
  • Plugin Contributor ustimenko

    (@ustimenko)

    @joefollette, Hi.

    Thx for the bug report. You are the 1st, that tells me about multisite ))

    Yes, I never tested it under multisite. Honestly, I never use this WP feature even when I have on one server 3 WP sites.

    Can you provide more details about those fatal? Some error messages or else.

    Regarding your case — pls confirm how to repeat the bug:

    * under multisite WP activate plugin on 1st site
    * try to activate it on 2nd site
    * system will respond by fatal

    Am I right?

    Thread Starter joefollette

    (@joefollette)

    Yes. Here is the error message I got.
    Plugin could not be activated because it triggered a fatal error.
    Fatal error: Uncaught Migrate.php(259) : AddQuestionsTable – Error executing ‘query’ with: ALTER TABLE wp_10_t_questions ADD CONSTRAINT fk_question_test FOREIGN KEY (test_id) REFERENCES wp_10_posts (ID) ON DELETE CASCADE ON UPDATE CASCADE, ADD INDEX fk_question_test (test_id); Reason: Can’t write; duplicate key in table ‘#sql-6185_8bb28’ thrown in /nas/wp/www/cluster-40898/ltcn/wp-content/plugins/wp-testing/vendor/ruckusing/ruckusing-migrations/lib/Task/Db/Migrate.php on line 259

    Plugin Contributor ustimenko

    (@ustimenko)

    Hmm.. I think I know the reason. In the next release(-s) I will research it and will publish hotfix ASAP.

    Btw, will it be ok for you to delete plugin from existing multisite and then reinstall it when hotfix will be ready?

    ps: Currently there are no any import/export/backup ability. So all plugin’s data will be lost.

    Thread Starter joefollette

    (@joefollette)

    But I have done so much already. You mean all is lost?

    Plugin Contributor ustimenko

    (@ustimenko)

    @joefollette, I already confirmed the reason.

    I’m not sure if all will work 100%, but in about 98,99% — I need to test it somehow, which is my main pain now.

    Regarding data. As I see on the migration phase, possibly there will be no need to deinstall/reinstall.

    Or if you will meet problems during activating after hotfix on 2nd site — I can provide some paid support to fix it on your side. As of you are 1st who report such bug and you are caught in the middle of migration phase.

    Thread Starter joefollette

    (@joefollette)

    When do you plan to have this fixed?

    Plugin Contributor ustimenko

    (@ustimenko)

    @joefollette I think on this week.

    I’m struggling with another CI service to test it on multisite install.

    https://circleci.com/gh/garex/wp-testing

    Plugin Contributor ustimenko

    (@ustimenko)

    @joefollette If this is really critical for you — you can speed up the process.

    Thread Starter joefollette

    (@joefollette)

    So how can I speed up the process?

    Plugin Contributor ustimenko

    (@ustimenko)

    Contact me [email protected]

    Plugin Contributor ustimenko

    (@ustimenko)

    Fixed in 0.16.1

    Plugin Contributor ustimenko

    (@ustimenko)

    Nice to see you Joe!

    Does this hotfix fixed your issue?

    I am actually having the same issue on the latest version. Seems to activate and work on the main site but not any of the other sites.

    Fatal error: Uncaught Migrate.php(259) : AddPassingsTables – Error executing ‘query’ with: CREATE TABLE wp_19_t_passings ( passing_id bigint UNSIGNED auto_increment NOT NULL, test_id bigint UNSIGNED NOT NULL, respondent_id bigint UNSIGNED, created datetime NOT NULL, modified datetime NOT NULL, PRIMARY KEY (passing_id)) ENGINE=InnoDB DEFAULT CHARSET=utf8; Reason: Table ‘wp_19_t_passings’ already exists thrown in /var/www/apps/blog/wp-content/plugins/wp-testing/vendor/ruckusing/ruckusing-migrations/lib/Task/Db/Migrate.php on line 259

    Same issue.

    Fatal error: Uncaught Migrate.php(259) : AddTestScoresTable – Error executing ‘query’ with: CREATE TABLE wp_404_t_scores ( answer_id bigint UNSIGNED NOT NULL, question_id bigint UNSIGNED NOT NULL, scale_id bigint UNSIGNED NOT NULL, score_value tinyint DEFAULT 0 NOT NULL, PRIMARY KEY (answer_id,question_id,scale_id)) ENGINE=InnoDB DEFAULT CHARSET=utf8; Reason: Table ‘wp_404_t_scores’ already exists

    Plugin Contributor ustimenko

    (@ustimenko)

    @ulteriori, what concrete steps you did to get this error?

    My default multisite test not repeat this issue.

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘Fatal error activating on multisite install’ is closed to new replies.