You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line 67 of vip-support/class-vip-support-role.php generates a stream of WordPress database error Table 'wordpress.wp_options' doesn't exist for query INSERT INTO 'wp_options' ... errors when you run wp core install (see wp-core-install.log for the full list of errors).
Line 67 calls action_init, which simply calls self::add_role(); to create the VIP support user. I assume the problem is a race condition and that the init hook is being fired before the database tables have been created.
If I run the setup unchanged I get 41 database errors on running wp core install. If I comment out line 67 of vip-support/class-vip-support-role.php then I get no database errors.
Line 67 of vip-support/class-vip-support-role.php generates a stream of
WordPress database error Table 'wordpress.wp_options' doesn't exist for query INSERT INTO 'wp_options' ...errors when you run wp core install (see wp-core-install.log for the full list of errors).vip-support/class-vip-support-role.php
Line 67 in f613ab7
Line 67 calls
action_init, which simply callsself::add_role();to create the VIP support user. I assume the problem is a race condition and that the init hook is being fired before the database tables have been created.Steps to reproduce
I am using Chris Zarate's Docker-based VIP Go development environment - https://github.com/chriszarate/docker-wordpress-vip-go. The setup process:
wp core install --title="Project" --admin_user="wordpress" --admin_password="wordpress" --admin_email="admin@example.com" --url="http://project.test" ---skip-emailIf I run the setup unchanged I get 41 database errors on running
wp core install. If I comment out line 67 of vip-support/class-vip-support-role.php then I get no database errors.