Multisite generating error log when adding new site
-
When adding a new site on a multisite subdomain configuration, an error is generated in /wp-admin/network/error_log
The error is pasted below. What I suspect is happening is whatever hook is triggering the AIOWPSecirity_Installer, the action is taken too early and the associated options table has not yet been created. Using phpMyAdmin I can see the table is definitely created. Can you please check this to determine if it can be triggered later to ensure that the table is already created?
[13-Feb-2021 17:36:18 UTC] WordPress database error Table '*********t.wp_3_options' doesn't exist for query INSERT INTO
wp_3_options(
option_name,
option_value,
autoload) VALUES ('aiowpsec_db_version', '1.9', 'yes') ON DUPLICATE KEY UPDATE
option_name= VALUES(
option_name),
option_value= VALUES(
option_value),
autoload= VALUES(
autoload) made by wpmu_create_blog, wp_insert_site, do_action('wp_insert_site'), WP_Hook->do_action, WP_Hook->apply_filters, aiowps_ms_handle_new_site, AIOWPSecurity_Installer::create_db_tables, update_option, add_option
- The topic ‘Multisite generating error log when adding new site’ is closed to new replies.