Your site is experiencing a technical issue
-
Several sites using Independent Analytics are getting sporadic admin emails saying the site experienced a technical issue and saying it was caused by Independent Analytics since the last update.
It seems to be an issue with too many db connections. I can up the limit a bit to see if that helps but wanted to post this in case it isn’t just me and there is a bigger issue that needs addressing.
The email opens with:Howdy! WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email. In this case, WordPress caught an error with one of your plugins, Independent Analytics.
The error log shows:Error Details
An error of type E_ERROR was caused in line 589 of the file /home/thewebsite/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php. Error message: Uncaught PDOException: SQLSTATE[HY000] [1040] Too many connections in /home/thewebsite/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connectors/Connector.php:53
Stack trace: 0 /home/thewebsite/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connectors/Connector.php(53): PDO->__construct(‘mysql:host=loca…’, ‘thewebsite…’, ‘rUkb.*QL.p;8’, Array) 1 /home/thewebsite/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connectors/Connector.php(34): IAWPSCOPED\Illuminate\Database\Connectors\Connector->createPdoConnection(‘mysql:host=loca…’, ‘thewebsite…’, ‘rUkb.*QL.p;8’, Array) 2 /home/thewebsite/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connectors/MySqlConnector.php(22): IAWPSCOPED\Illuminate\Database\Connectors\Connector->createConnection(‘mysql:host=loca…’, Array, Array) 3 /home/thewebsite/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connectors/ConnectionFactory.php(157): IAWPSCOPED\Illuminate\Database\Connectors\MySqlConnector->connect(Array) 4 /home/thewebsite/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(884): IAWPSCOPED\Illuminate\Database\Connectors\ConnectionFactory->IAWPSCOPED\Illuminate\Database\Connectors{closure}() 5 /home/thewebsite/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(444): IAWPSCOPED\Illuminate\Database\Connection->getPdo() 6 /home/thewebsite/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(587): IAWPSCOPED\Illuminate\Database\Connection->IAWPSCOPED\Illuminate\Database{closure}(‘updatewp_inde…', Array) 7 /home/thewebsite/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(561): IAWPSCOPED\Illuminate\Database\Connection->runQueryCallback('update
wp_inde…’, Array, Object(Closure)) 8 /home/thewebsite/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(449): IAWPSCOPED\Illuminate\Database\Connection->run(‘updatewp_inde…', Array, Object(Closure)) 9 /home/thewebsite/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(396): IAWPSCOPED\Illuminate\Database\Connection->affectingStatement('update
wp_inde…’, Array) 10 /home/thewebsite/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Query/Builder.php(2510): IAWPSCOPED\Illuminate\Database\Connection->update(‘update `wp_inde…’, Array) 11 /home/thewebsite/public_html/wp-content/plugins/independent-analytics/IAWP/Models/Page.php(94): IAWPSCOPED\Illuminate\Database\Query\Builder->update(Array) 12 /home/thewebsite/public_html/wp-content/plugins/independent-analytics/IAWP/Track_Resource_Changes.php(54): IAWP\Models\Page->update_cache() 13 /home/thewebsite/public_html/wp-includes/class-wp-hook.php(326): IAWP\Track_Resource_Changes->handle_registered_post_type(‘gp_elements’) 14 /home/thewebsite/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 15 /home/thewebsite/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 16 /home/thewebsite/public_html/wp-includes/post.php(1812): do_action(‘registered_post…’, ‘gp_elements’, Object(WP_Post_Type)) 17 /home/thewebsite/public_html/wp-content/plugins/gp-premium/elements/class-post-type.php(109): register_post_type(‘gp_elements’, Array) 18 /home/thewebsite/public_html/wp-includes/class-wp-hook.php(324): GeneratePress_Elements_Post_Type->post_type(”) 19 /home/thewebsite/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 20 /home/thewebsite/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 21 /home/thewebsite/public_html/wp-settings.php(695): do_action(‘init’) 22 /home/thewebsite/public_html/wp-config.php(96): require_once(‘/home/decembers…’) 23 /home/thewebsite/public_html/wp-load.php(50): require_once(‘/home/decembers…’) 24 /home/thewebsite/public_html/wp-login.php(12): require(‘/home/decembers…’) 25 {main}</p> <p class=””>Next IAWPSCOPED\Illuminate\Database\QueryException: SQLSTATE[HY000] [1040] Too many connections (SQL: update <code>wp_independent_analytics_resources</code> set <code>cached_title</code> = Element Archive, <code>cached_url</code> = 0, <code>cached_type</code> = gp_elements-archive, <code>cached_type_label</code> = Element Archive, <code>cached_author_id</code> = ?, <code>cached_author</code> = ?, <code>cached_date</code> = ?, <code>cached_category</code> = ? where <code>post_type</code> = gp_elements) in /home/thewebsite/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php:589<br>Stack trace: 0 /home/thewebsite/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(561): IAWPSCOPED\Illuminate\Database\Connection->runQueryCallback(‘updatewp_inde…', Array, Object(Closure)) 1 /home/thewebsite/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(449): IAWPSCOPED\Illuminate\Database\Connection->run('update
wp_inde…’, Array, Object(Closure)) 2 /home/thewebsite/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(396): IAWPSCOPED\Illuminate\Database\Connection->affectingStatement(‘updatewp_inde…', Array) 3 /home/thewebsite/public_html/wp-content/plugins/independent-analytics/vendor/illuminate/database/Query/Builder.php(2510): IAWPSCOPED\Illuminate\Database\Connection->update('update
wp_inde…’, Array) 4 /home/thewebsite/public_html/wp-content/plugins/independent-analytics/IAWP/Models/Page.php(94): IAWPSCOPED\Illuminate\Database\Query\Builder->update(Array) 5 /home/thewebsite/public_html/wp-content/plugins/independent-analytics/IAWP/Track_Resource_Changes.php(54): IAWP\Models\Page->update_cache() 6 /home/thewebsite/public_html/wp-includes/class-wp-hook.php(326): IAWP\Track_Resource_Changes->handle_registered_post_type(‘gp_elements’) 7 /home/thewebsite/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 8 /home/thewebsite/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 9 /home/thewebsite/public_html/wp-includes/post.php(1812): do_action(‘registered_post…’, ‘gp_elements’, Object(WP_Post_Type)) 10 /home/thewebsite/public_html/wp-content/plugins/gp-premium/elements/class-post-type.php(109): register_post_type(‘gp_elements’, Array) 11 /home/thewebsite/public_html/wp-includes/class-wp-hook.php(324): GeneratePress_Elements_Post_Type->post_type(”) 12 /home/thewebsite/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 13 /home/thewebsite/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 14 /home/thewebsite/public_html/wp-settings.php(695): do_action(‘init’) 15 /home/thewebsite/public_html/wp-config.php(96): require_once(‘/home/decembers…’) 16 /home/thewebsite/public_html/wp-load.php(50): require_once(‘/home/decembers…’) 17 /home/thewebsite/public_html/wp-login.php(12): require(‘/home/decembers…’) 18 {main}thrown
- The topic ‘Your site is experiencing a technical issue’ is closed to new replies.