I was testing your plugin on my local and all works great, but when I tried to active it on the client’s server it throws a fatal error:
Notice: Undefined property: WpTesting_Component_Database_RuckusingRunner::$logger in /nfs/c09/h02/mnt/208794/domains/ethikosglobal.com/html/wp-content/plugins/wp-testing/vendor/ruckusing/ruckusing-migrations/lib/Ruckusing/FrameworkRunner.php on line 163
I saw the FAQ Section and I asked to my hosting company to activate “mysqli” but they said that it was enabled. So I think it is not the problem.
Could you help me with this issue, please.
]]>Fatal error: Uncaught Migrate.php(259) : WpTesting_Migration_AddQuestionsTable – Error executing ‘query’ with: DROP TABLE IF EXISTS
wp_t_questions
Reason: Cannot delete or update a parent row: a foreign key constraint fails thrown in /sites/html/wp-content/plugins/wp-testing/vendor/ruckusing/ruckusing-migrations/lib/Task/Db/Migrate.php on line 259
When I try do remove plugin it says “Removing..” and nothing happened.
I have tried to Google it by error code. It looks like this is php 7 problem.
Perhaps it’s because of using WordPress MU Domain Mapping plugin.
When I try to activate plugin from subdomain it says:
]]>Fatal error: Uncaught Migrate.php(259) : WpTesting_Migration_AddWpTables – Error executing ‘query’ with: CREATE TABLE IF NOT EXISTS wp_2_users ( ID bigint(20) unsigned NOT NULL AUTO_INCREMENT, user_login varchar(60) NOT NULL DEFAULT “”, user_pass varchar(64) NOT NULL DEFAULT “”, user_nicename varchar(50) NOT NULL DEFAULT “”, user_email varchar(100) NOT NULL DEFAULT “”, user_url varchar(100) NOT NULL DEFAULT “”, user_registered datetime NOT NULL DEFAULT “0000-00-00 00:00:00”, user_activation_key varchar(60) NOT NULL DEFAULT “”, user_status int(11) NOT NULL DEFAULT “0”, display_name varchar(250) NOT NULL DEFAULT “”, PRIMARY KEY (ID), KEY user_login_key (user_login), KEY user_nicename (user_nicename) ) DEFAULT CHARSET=utf8 Reason: Invalid default value for ‘user_registered’ thrown in /sites/html/wp-content/plugins/wp-testing/vendor/ruckusing/ruckusing-migrations/lib/Task/Db/Migrate.php on line 259
Fatal error: Uncaught Migrate.php(259) : WpTesting_Migration_AddExampleTest – Error executing ‘query’ with: INSERT INTO wp_term_relationships (object_id, term_taxonomy_id, term_order) VALUES (584, (SELECT term_taxonomy_id FROM wp_term_taxonomy WHERE term_id = 714), 1), (584, (SELECT term_taxonomy_id FROM wp_term_taxonomy WHERE term_id = 724), 2), (584, (SELECT term_taxonomy_id FROM wp_term_taxonomy WHERE term_id = 734), 1), (584, (SELECT term_taxonomy_id FROM wp_term_taxonomy WHERE term_id = 744), 2), (584, (SELECT term_taxonomy_id FROM wp_term_taxonomy WHERE term_id = 754), 3); INSERT INTO wp_t_questions (test_id, question_title) VALUES (584, ‘Do you often long for excitement?’), (584, ‘Do you often need understanding friends to cheer you up?’), (584, ‘Are you usually carefree?’), (584, ‘Do you find it very hard to take no for an answer?’), (584, ‘Do you stop and think thin in D:\home\site\wwwroot\wp-content\plugins\wp-testing\vendor\ruckusing\ruckusing-migrations\lib\Task\Db\Migrate.php on line 259
]]>