• Resolved Corey Kretsinger

    (@corey-kretsinger)


    IA settings page is stuck on:

    “Update running

    “We’re running an update designed to speed up and improve Independent Analytics. This can take anywhere from 5 seconds to 5 minutes.”

    When I try to access the actual Analytics page in the admin area it throws a critical error. Prior to this, the page loaded but said I needed to enable PDO, which was enabled. The documentation said to enable PDO_MYSQL, so I did that and error appeared.

    I’ve already tried disabling all plugins and using the default WP theme, as well as reinstalled IA.

    I’m at a loss. It’s working on other sites that reside on this server, but refuses to work on this one.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ben Sibley

    (@bensibley)

    Hi there,

    Thanks for getting in touch. I’m very sorry to hear about these errors.

    If this is a brand new install, then please open the wp_options table and change iawp_db_version to 0 and iawp_is_migrating to 0. This will cause the plugin to think it’s just been installed and will rebuild the tables from scratch. It should get you passed the screen you’re currently stuck on and to the full analytics dashboard.

    If you already have data collected that you need to keep, let me know, and I can help with an alternative solution.

    Thread Starter Corey Kretsinger

    (@corey-kretsinger)

    Worked perfectly. Thank you!

    Thread Starter Corey Kretsinger

    (@corey-kretsinger)

    Just a quick follow-up on this thread: I’ve run into the same issue on a couple of websites now, and this wasn’t happening previously. When I tried enabling IA on another site, it also threw the same error. This time I received an email with more details, so I wanted to share it here since these errors are new.

    Did something significant change recently? I’ve never had any trouble with installation before. Enabling nd_pdo_mysql seems to have resolved it, but what’s puzzling is that it wasn’t enabled on the other sites—and a few I’ve checked are still working fine. Do I need to go through all of them and enable nd_pdo_mysql now?

    Thanks again. You rock.

    /—-BEGIN ERROR —-/

    An error of type E_ERROR was caused in line 589 of the file /home//public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php. Error message: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘_wp_nr6or.VrH7M4JB_independent_analytics_reports’ doesn’t exist in /home/*/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php:319
    Stack trace: 0 /home/*/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(319): PDO->prepare() 1 /home/*/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(587): IAWPSCOPED\Illuminate\Database\Connection->IAWPSCOPED\Illuminate\Database{closure}() 2 /home/*/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(561): IAWPSCOPED\Illuminate\Database\Connection->runQueryCallback() 3 /home/*/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(312): IAWPSCOPED\Illuminate\Database\Connection->run() 4 /home/*/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Query/Builder.php(1995): IAWPSCOPED\Illuminate\Database\Connection->select() 5 /home/*/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Query/Builder.php(1985): IAWPSCOPED\Illuminate\Database\Query\Builder->runSelect() 6 /home/*/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Query/Builder.php(2419): IAWPSCOPED\Illuminate\Database\Query\Builder->IAWPSCOPED\Illuminate\Database\Query{closure}() 7 /home/*/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Query/Builder.php(1984): IAWPSCOPED\Illuminate\Database\Query\Builder->onceWithColumns() 8 /home/*/public_html/wp-content/plugins/independent-analytics/IAWP/Report_Finder.php(175): IAWPSCOPED\Illuminate\Database\Query\Builder->get() 9 /home/*/public_html/wp-content/plugins/independent-analytics/IAWP/Report_Finder.php(15): IAWP\Report_Finder->sync_cache() 10 /home/*/public_html/wp-content/plugins/independent-analytics/IAWP/Report_Finder.php(183): IAWP\Report_Finder->__construct() 11 /home/*/public_html/wp-content/plugins/independent-analytics/IAWP/Dashboard_Options.php(165): IAWP\Report_Finder::new() 12 /home/*/public_html/wp-content/plugins/independent-analytics/iawp-bootstrap.php(379): IAWP\Dashboard_Options->maybe_redirect() 13 /home/*/public_html/wp-includes/class-wp-hook.php(324): IAWPSCOPED{closure}() 14 /home/*/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 15 /home/*/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 16 /home/*/public_html/wp-admin/admin.php(176): do_action() 17 {main}

    Next IAWPSCOPED\Illuminate\Database\QueryException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘_wp_nr6or.VrH7M4JB_independent_analytics_reports’ doesn’t exist (SQL: select * from VrH7M4JB_independent_analytics_reports order by position IS NULL, position asc, report_id asc) in /home//public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php:589
    Stack trace: 0 /home/*/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(561): IAWPSCOPED\Illuminate\Database\Connection->runQueryCallback() 1 /home/*/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(312): IAWPSCOPED\Illuminate\Database\Connection->run() 2 /home/*/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Query/Builder.php(1995): IAWPSCOPED\Illuminate\Database\Connection->select() 3 /home/*/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Query/Builder.php(1985): IAWPSCOPED\Illuminate\Database\Query\Builder->runSelect() 4 /home/*/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Query/Builder.php(2419): IAWPSCOPED\Illuminate\Database\Query\Builder->IAWPSCOPED\Illuminate\Database\Query{closure}() 5 /home/*/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Query/Builder.php(1984): IAWPSCOPED\Illuminate\Database\Query\Builder->onceWithColumns() 6 /home/*/public_html/wp-content/plugins/independent-analytics/IAWP/Report_Finder.php(175): IAWPSCOPED\Illuminate\Database\Query\Builder->get() 7 /home/*/public_html/wp-content/plugins/independent-analytics/IAWP/Report_Finder.php(15): IAWP\Report_Finder->sync_cache() 8 /home/*/public_html/wp-content/plugins/independent-analytics/IAWP/Report_Finder.php(183): IAWP\Report_Finder->__construct() 9 /home/*/public_html/wp-content/plugins/independent-analytics/IAWP/Dashboard_Options.php(165): IAWP\Report_Finder::new() 10 /home/*/public_html/wp-content/plugins/independent-analytics/iawp-bootstrap.php(379): IAWP\Dashboard_Options->maybe_redirect() 11 /home/*/public_html/wp-includes/class-wp-hook.php(324): IAWPSCOPED{closure}() 12 /home/*/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 13 /home/*/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 14 /home/*/public_html/wp-admin/admin.php(176): do_action() 15 {main}

    thrown

    Plugin Author Ben Sibley

    (@bensibley)

    Hi Corey,

    It’s difficult to say exactly what’s happening. The PDO warning page should show without triggering any Fatal Errors in the debug log. We haven’t made any changes that would impact this, so this could be coming from a change in your hosting. Notably, if the site’s have upgraded to a new version of PHP, then maybe the prior PDO modules are no longer active? If nd_pdo_mysql works for one of the sites, it should work for all of them.

    When you activate the nd_pdo_mysql module, does the error resolve itself, or are you left seeing the ongoing data migration screen?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Multiple Issues’ is closed to new replies.