• Resolved Rhapsody348

    (@rhapsody348)


    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 INTOwp_3_options(option_name,option_value,autoload) VALUES ('aiowpsec_db_version', '1.9', 'yes') ON DUPLICATE KEY UPDATEoption_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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi,

    Just to confirm with you, is this a local installation or a live installation? Also what PHP version is running in your server? Have you network activated the plugin?

    Thank you

    Thread Starter Rhapsody348

    (@rhapsody348)

    This is a live installation setup as my “test site” installed as a WordPress Mulisite where the root for the multisite is actually a subdomain on the same domain I have the production sites. This test site is a separate WordPress install, not one of the subsites from my production sites.

    main site: crew-mgr.com (this is the production site that has WordPress Multisite using subdomains e.g. site1.crew-mgr.com, site2.crew-mgr.com)

    test site: cmtest.crew-mgr.com (this is the test site that has WordPress Multisite using subdomains eg site-a.cmtest.crew-mgr.com, site-b.cmtest.crew-mgr.com)

    PHP is 7.4.14
    The plugin is Network Activated

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi,

    Are you running the latest WordPress version 5.6.1?

    Also for testing purposes, can you disable all other plugins except ours. Then carry out a test and create a new sub-site.

    Let me know what happens.

    Thank you

    Thread Starter Rhapsody348

    (@rhapsody348)

    Yes running 5.6.1 WordPress. All plugins disabled and added new site – same problem with the error log generation.

    Thread Starter Rhapsody348

    (@rhapsody348)

    Confirming that this error still occurs after upgrading to WP 5.6.2

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Multisite generating error log when adding new site’ is closed to new replies.