Too many redirects
-
Hello
I am not able to login to wp-admin since a month and getting the error
Redirected you too many times
ERR_TOO_MANY_REDIRECTSWhen i deactivate the plugin, i am able to login to admin, once i activate it reloads the page and again I get the error
The plugin is the latest version.
-
Hi @itsvik
Let’s check your logs. So please, provide us the following:
- System Status: You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
- Error log: share a copy of the fatal error log found under WooCommerce > System Status > Logs (if available)
Also, please check this article on how to troubleshoot the Too many redirects error: https://kinsta.com/blog/err_too_many_redirects/
Unfortunately, When I go to the status page it gets redirected, hence I created a topic yesterday,
https://www.ads-software.com/support/topic/woocommerce-admin-status-page-redirects/Any other way to troubleshoot?
Here is the logs
2023-07-04T05:09:18+00:00 CRITICAL Uncaught Error: Failed opening required '/customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/vendor/automattic/jetpack-connection/src/class-rest-connector.php' (include_path='.:/usr/share/php') in /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/vendor/jetpack-autoloader/class-php-autoloader.php:90
Stack trace: 0 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/vendor/automattic/jetpack-connection/src/class-manager.php(206): Automattic\Jetpack\Autoloader\jpacbe5a7dfd55a207d5f1037e12501017\PHP_Autoloader::load_class('Automattic\Jetp…') 1 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-includes/class-wp-hook.php(308): Automattic\Jetpack\Connection\Manager->initialize_rest_api_registration_connector(Object(WP_REST_Server)) 2 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 3 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 4 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-includes/rest-api.php(577): do_action('rest_api_init', Object(WP_REST_Server)) 5 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-includes/rest-api.php(403): rest_get_server() 6 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-includes/class-wp-hook.php(308): rest_api_loaded(Object(WP)) 7 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 8 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-includes/plugin.php(565): WP_Hook->do_action(Array) 9 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-includes/class-wp.php(399): do_action_ref_array('parse_request', Array) 10 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-includes/class-wp.php(780): WP->parse_request('') 11 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-includes/functions.php(1334): WP->main('') 12 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-blog-header.php(16): wp() 13 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/index.php(17): require('/customers/8/d/…') 14 {main} thrown in /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/vendor/jetpack-autoloader/class-php-autoloader.php on line 90 2023-07-04T05:09:18+00:00 CRITICAL Uncaught Error: Failed opening required '/customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/src/Proxies/Tracks.php' (include_path='.:/usr/share/php') in /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/vendor/jetpack-autoloader/class-php-autoloader.php:90
Stack trace: 0 [internal function]: Automattic\Jetpack\Autoloader\jpacbe5a7dfd55a207d5f1037e12501017\PHP_Autoloader::load_class('Automattic\WooC…') 1 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(211): class_exists('Automattic\WooC…') 2 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/DefinitionAggregate.php(94): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolve(false) 3 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Container.php(157): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\DefinitionAggregate->resolve('Automattic\WooC…', false) 4 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(45): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Container->get('Automattic\WooC…') 5 [internal function]: Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Argument{closure}('Automattic\WooC…') 6 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(19): array_map(Object(Closure), Array) 7 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(253): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveArguments(Array) 8 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(212): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveClass('Automattic\WooC…') 9 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/DefinitionAggregate.php(94): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolve(false) 10 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Container.php(157): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\DefinitionAggregate->resolve('Automattic\WooC…', false) 11 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(45): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Container->get('Automattic\WooC…') 12 [internal function]: Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Inflector\Inflector->Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Argument{closure}('Automattic\WooC…') 13 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(19): array_map(Object(Closure), Array) 14 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Inflector/Inflector.php(112): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Inflector\Inflector->resolveArguments(Array) 15 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Inflector/InflectorAggregate.php(53): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Inflector\Inflector->inflect(Object(Automattic\WooCommerce\GoogleListingsAndAds\Tracking\Events\SiteVerificationEvents)) 16 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Container.php(158): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Inflector\InflectorAggregate->inflect(Object(Automattic\WooCommerce\GoogleListingsAndAds\Tracking\Events\SiteVerificationEvents)) 17 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/src/Container.php(90): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Container->get('Automattic\WooC…') 18 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/src/Tracking/EventTracking.php(71): Automattic\WooCommerce\GoogleListingsAndAds\Container->get('Automattic\WooC…') 19 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/src/Tracking/EventTracking.php(59): Automattic\WooCommerce\GoogleListingsAndAds\Tracking\EventTracking->register_events() 20 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-includes/class-wp-hook.php(308): Automattic\WooCommerce\GoogleListingsAndAds\Tracking\EventTracking->Automattic\WooCommerce\GoogleListingsAndAds\Tracking{closure}('') 21 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 22 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 23 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-settings.php(623): do_action('init') 24 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-config.php(128): require_once('/customers/8/d/…') 25 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-load.php(50): require_once('/customers/8/d/…') 26 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-blog-header.php(13): require_once('/customers/8/d/…') 27 /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/index.php(17): require('/customers/8/d/…') 28 {main} thrown in /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/vendor/jetpack-autoloader/class-php-autoloader.php on line 90 2023-07-04T05:09:18+00:00 CRITICAL Uncaught Error: Failed opening required '/customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/src/PluginFactory.php' (include_path='.:/usr/share/php') in /customers/8/d/1/haus-oesterreich.ch/httpd.www/stg_5dd77/wp-content/plugins/google-listings-and-ads/vendor/jetpack-autoloader/class-php-autoloader.php:90Hello @itsvik,
Thank you for sharing the logs!
TheFailed opening required
means some files are either not available or can’t be read. This sometimes happens if something went wrong in the installation process.
You can start by deleting and then re-installing the plugin.Also, flushing the permalinks can also help. To do this, simply navigate to your Dashboard, then go to Settings, and finally, click on Permalinks.
When you’re on the Permalinks page, just hit the ‘Save Changes’ button. You don’t need to make any changes.
This will rewrite the rules for your site’s .htaccess file.If that doesn’t help, then please try disabling all plugins except WooCommerce/Google Ads and listings while activating the default Storefront theme.
If the problem is not present after doing so, then you know there was a plugin conflict. You can enable plugins one by one again to find the culprit.
Let us know how it goes!
- The topic ‘Too many redirects’ is closed to new replies.