• Resolved vaniivan

    (@vaniivan)


    Hi, we’re having trouble connecting Jetpack after database restore, the error seems to be:
    The same error applies if we try to deactivate the plugin.
    Is there a forced uninstall/cleanup tool for this plugin?

    Stack trace:
    #0 /var/www/html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-options.php(409): array_keys(false)
    #1 /var/www/html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-options.php(372): Jetpack_Options::delete_grouped_option('private', Array)
    #2 /var/www/html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-manager.php(1649): Jetpack_Options::delete_option(Array)
    #3 /var/www/html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-manager.php(1078): Automattic\Jetpack\Connection\Manager->delete_all_connection_tokens(true)
    #4 /var/www/html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-manager.php(1290): Automattic\Jetpack\Connection\Manager->register()
    #5 /var/www/html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/src/class-rest-connector.php(669): Automattic\Jetpack\Connection\Manager->try_registration()
    #6 /var/www/html/wp-includes/rest-api/class-wp-rest-server.php(1230): Automattic\Jetpack\Connection\REST_Connector->connection_register(Object(WP_REST_Request))
    #7 /var/www/html/wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/jetpack/v4/con...', Array, NULL)
    #8 /var/www/html/wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch(Object(WP_REST_Request))
    #9 /var/www/html/wp-includes/rest-api.php(420): WP_REST_Server->serve_request('/jetpack/v4/con...')
    #10 /var/www/html/wp-includes/class-wp-hook.php(324): rest_api_loaded(Object(WP))
    #11 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #12 /var/www/html/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
    #13 /var/www/html/wp-includes/class-wp.php(418): do_action_ref_array('parse_request', Array)
    #14 /var/www/html/wp-includes/class-wp.php(813): WP->parse_request('')
    #15 /var/www/html/wp-includes/functions.php(1336): WP->main('')
    #16 /var/www/html/wp-blog-header.php(16): wp()
    #17 /var/www/html/index.php(17): require('/var/www/html/w...')
    #18 {main}
    thrown in /var/www/html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-options.php on line 409

    • This topic was modified 1 year, 8 months ago by vaniivan.
    • This topic was modified 1 year, 8 months ago by vaniivan.
    • This topic was modified 1 year, 8 months ago by vaniivan.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Animesh Gaurav

    (@bizanimesh)

    Hello @vaniivan – could you please download this plugin, upload and activate it on WordPress.

    Once activated, it will remove any stale Jetpack data on the site and the plugin will uninstall automatically. Please note that your Jetpack settings can be reset using this plugin, but the data that Jetpack has for your site stored will not be affected.

    After that, please uninstall and reinstall the Jetpack plugin, then try to connect again.

    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hello @vaniivan,

    Do you have updates about that, do you still need help? We usually close inactive threads after one week of no movement, but we want to make sure we’re all set before marking it as solved. Thanks!

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

The topic ‘Cannot connect after database restore’ is closed to new replies.