• Resolved kachicamo

    (@kachicamo)


    Hello,

    When I start SEO data optimization I get an error, specifically “Error parsing the response to JSON”.

    I have tried to follow some solutions suggested in other cases and still the same. I have installed and run “Yoast Test Helper” in diagnostic mode and nothing.

    In response, he tells me the following:

    <!DOCTYPE html>
    <html lang=”es”>
    <head>
    <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
    <meta name=”viewport” content=”width=device-width”>
    <meta name=’robots’ content=’noindex, follow’ />
    <title>WordPress › Error</title>
    <style type=”text/css”>
    html {
    background: #f1f1f1;
    }
    body {
    background: #fff;
    border: 1px solid #ccd0d4;
    color: #444;
    font-family: -apple-system, BlinkMacSystemFont, “Segoe UI”, Roboto, Oxygen-Sans, Ubuntu, Cantarell, “Helvetica Neue”, sans-serif;
    margin: 2em auto;
    padding: 1em 2em;
    max-width: 700px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    }
    h1 {
    border-bottom: 1px solid #dadada;
    clear: both;
    color: #666;
    font-size: 24px;
    margin: 30px 0 0 0;
    padding: 0;
    padding-bottom: 7px;
    }
    #error-page {
    margin-top: 50px;
    }
    #error-page p,
    #error-page .wp-die-message {
    font-size: 14px;
    line-height: 1.5;
    margin: 25px 0 20px;
    }
    #error-page code {
    font-family: Consolas, Monaco, monospace;
    }
    ul li {
    margin-bottom: 10px;
    font-size: 14px ;
    }
    a {
    color: #0073aa;
    }
    a:hover,
    a:active {
    color: #006799;
    }
    a:focus {
    color: #124964;
    -webkit-box-shadow:
    0 0 0 1px #5b9dd9,
    0 0 2px 1px rgba(30, 140, 190, 0.8);
    box-shadow:
    0 0 0 1px #5b9dd9,
    0 0 2px 1px rgba(30, 140, 190, 0.8);
    outline: none;
    }
    .button {
    background: #f3f5f6;
    border: 1px solid #016087;
    color: #016087;
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    line-height: 2;
    height: 28px;
    margin: 0;
    padding: 0 10px 1px;
    cursor: pointer;
    -webkit-border-radius: 3px;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    vertical-align: top;
    }

    .button.button-large {
    line-height: 2.30769231;
    min-height: 32px;
    padding: 0 12px;
    }

    .button:hover,
    .button:focus {
    background: #f1f1f1;
    }

    .button:focus {
    background: #f3f5f6;
    border-color: #007cba;
    -webkit-box-shadow: 0 0 0 1px #007cba;
    box-shadow: 0 0 0 1px #007cba;
    color: #016087;
    outline: 2px solid transparent;
    outline-offset: 0;
    }

    .button:active {
    background: #f3f5f6;
    border-color: #7e8993;
    -webkit-box-shadow: none;
    box-shadow: none;
    }

    </style>
    </head>
    <body id=”error-page”>
    <div class=”wp-die-message”><p>Ha habido un error crítico en esta web.</p><p>Aprende más sobre el diagnóstico de WordPress.</p></div></body>
    </html>

    Thanks in advance for the help.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Jose Varghese

    (@josevarghese)

    Hello @kachicamo

    We are sorry that you could not complete the SEO data optimization. Can you please try resetting our indexable in the database tables by following the steps below?

    1. Install & activate the Yoast Test Helper plugin
    2. Go to Tools > Yoast Test
    3. Locate the Yoast SEO section and click on the ‘Reset indexables tables & migrations’, ‘Reset Prominent words calculation’, and ‘Reset Internal link counter’ buttons. After each click, the page will reload to confirm that each reset was successful.
    Note: Resetting the optimization doesn’t undo any of the hard work you’ve put into the plugin, as the SEO data is also stored in WordPress’ default tables. It’ll just reset the custom Yoast tables that contain the combined data pulled from those default tables.
    4. Go to Yoast SEO > Tools, and under SEO data, click the “Start SEO data optimization” button to allow Yoast to rescan your content.

    For your site’s health and safety, we recommend creating regular backups of your site and database. This is especially important before making important changes on your website.

    You can also learn more here.

    Could you check if the process then completes?

    Thread Starter kachicamo

    (@kachicamo)

    Hello José,

    Thanks for your time.

    I have followed the given steps and the problem persists.

    Hey @kachicamo,

    Sorry to hear that the reset did not resolve the issue.

    The next step in troubleshooting this, would be to try to do this optimization process in a default environment with only our plugin being active, and a default theme. On your live site, we recommend doing this using the Health Check troubleshooting mode so you don’t affect site visitors. Can you please use the steps provided here: https://yoast.com/help/how-to-check-for-plugin-conflicts/ and check if you can complete the process in that mode?

    Thread Starter kachicamo

    (@kachicamo)

    Hello Jeroen,

    Thanks for your time.

    I have followed the given steps and the problem persists.

    I don’t know if this debug.log information can be of any use.

    [17-Aug-2022 15:08:10 UTC] PHP Warning:  Undefined array key "access_token" in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php on line 70
    [17-Aug-2022 15:08:10 UTC] PHP Warning:  Undefined array key "refresh_token" in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php on line 71
    [17-Aug-2022 15:08:10 UTC] PHP Warning:  Undefined array key "expires" in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php on line 72
    [17-Aug-2022 15:08:10 UTC] PHP Warning:  Undefined array key "has_expired" in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php on line 73
    [17-Aug-2022 15:08:10 UTC] PHP Warning:  Undefined array key "created_at" in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php on line 74
    [17-Aug-2022 15:08:10 UTC] PHP Fatal error:  Uncaught Yoast\WP\SEO\Exceptions\OAuth\Tokens\Empty_Property_Exception: Token creation failed. Property <code>access_token</code> cannot be empty. in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/values/oauth/oauth-token.php:70
    Stack trace:
    #0 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php(75): Yoast\WP\SEO\Values\OAuth\OAuth_Token->__construct()
    #1 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/semrush-client.php(51): Yoast\WP\SEO\Config\OAuth_Client->__construct()
    #2 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/generated/container.php(2356): Yoast\WP\SEO\Config\SEMrush_Client->__construct()
    #3 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/generated/container.php(1260): Yoast\WP\SEO\Generated\Cached_Container->getSEMrushClientService()
    #4 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/generated/container.php(4645): Yoast\WP\SEO\Generated\Cached_Container->getSEMrushLoginActionService()
    #5 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php(271): Yoast\WP\SEO\Generated\Cached_Container->getSEMrushRouteService()
    #6 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/loader.php(216): YoastSEO_Vendor\Symfony\Component\DependencyInjection\Container->get()
    #7 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp-hook.php(307): Yoast\WP\SEO\Loader->load_routes()
    #8 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #9 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/plugin.php(476): WP_Hook->do_action()
    #10 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/rest-api.php(561): do_action()
    #11 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/rest-api.php(387): rest_get_server()
    #12 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp-hook.php(307): rest_api_loaded()
    #13 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #14 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/plugin.php(524): WP_Hook->do_action()
    #15 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp.php(398): do_action_ref_array()
    #16 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp.php(770): WP->parse_request()
    #17 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/functions.php(1330): WP->main()
    #18 /var/www/vhosts/youhomey.com/httpdocs/wp-blog-header.php(16): wp()
    #19 /var/www/vhosts/youhomey.com/httpdocs/index.php(17): require('...')
    #20 {main}
      thrown in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/values/oauth/oauth-token.php on line 70
    [17-Aug-2022 15:08:13 UTC] PHP Warning:  Undefined array key "access_token" in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php on line 70
    [17-Aug-2022 15:08:13 UTC] PHP Warning:  Undefined array key "refresh_token" in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php on line 71
    [17-Aug-2022 15:08:13 UTC] PHP Warning:  Undefined array key "expires" in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php on line 72
    [17-Aug-2022 15:08:13 UTC] PHP Warning:  Undefined array key "has_expired" in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php on line 73
    [17-Aug-2022 15:08:13 UTC] PHP Warning:  Undefined array key "created_at" in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php on line 74
    [17-Aug-2022 15:08:13 UTC] PHP Fatal error:  Uncaught Yoast\WP\SEO\Exceptions\OAuth\Tokens\Empty_Property_Exception: Token creation failed. Property <code>access_token</code> cannot be empty. in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/values/oauth/oauth-token.php:70
    Stack trace:
    #0 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php(75): Yoast\WP\SEO\Values\OAuth\OAuth_Token->__construct()
    #1 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/semrush-client.php(51): Yoast\WP\SEO\Config\OAuth_Client->__construct()
    #2 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/generated/container.php(2356): Yoast\WP\SEO\Config\SEMrush_Client->__construct()
    #3 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/generated/container.php(1260): Yoast\WP\SEO\Generated\Cached_Container->getSEMrushClientService()
    #4 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/generated/container.php(4645): Yoast\WP\SEO\Generated\Cached_Container->getSEMrushLoginActionService()
    #5 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php(271): Yoast\WP\SEO\Generated\Cached_Container->getSEMrushRouteService()
    #6 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/loader.php(216): YoastSEO_Vendor\Symfony\Component\DependencyInjection\Container->get()
    #7 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp-hook.php(307): Yoast\WP\SEO\Loader->load_routes()
    #8 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #9 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/plugin.php(476): WP_Hook->do_action()
    #10 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/rest-api.php(561): do_action()
    #11 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/rest-api.php(387): rest_get_server()
    #12 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp-hook.php(307): rest_api_loaded()
    #13 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #14 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/plugin.php(524): WP_Hook->do_action()
    #15 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp.php(398): do_action_ref_array()
    #16 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp.php(770): WP->parse_request()
    #17 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/functions.php(1330): WP->main()
    #18 /var/www/vhosts/youhomey.com/httpdocs/wp-blog-header.php(16): wp()
    #19 /var/www/vhosts/youhomey.com/httpdocs/index.php(17): require('...')
    #20 {main}
      thrown in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/values/oauth/oauth-token.php on line 70
    [17-Aug-2022 15:08:16 UTC] PHP Warning:  Undefined array key "access_token" in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php on line 70
    [17-Aug-2022 15:08:16 UTC] PHP Warning:  Undefined array key "refresh_token" in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php on line 71
    [17-Aug-2022 15:08:16 UTC] PHP Warning:  Undefined array key "expires" in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php on line 72
    [17-Aug-2022 15:08:16 UTC] PHP Warning:  Undefined array key "has_expired" in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php on line 73
    [17-Aug-2022 15:08:16 UTC] PHP Warning:  Undefined array key "created_at" in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php on line 74
    [17-Aug-2022 15:08:16 UTC] PHP Fatal error:  Uncaught Yoast\WP\SEO\Exceptions\OAuth\Tokens\Empty_Property_Exception: Token creation failed. Property <code>access_token</code> cannot be empty. in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/values/oauth/oauth-token.php:70
    Stack trace:
    #0 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php(75): Yoast\WP\SEO\Values\OAuth\OAuth_Token->__construct()
    #1 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/semrush-client.php(51): Yoast\WP\SEO\Config\OAuth_Client->__construct()
    #2 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/generated/container.php(2356): Yoast\WP\SEO\Config\SEMrush_Client->__construct()
    #3 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/generated/container.php(1260): Yoast\WP\SEO\Generated\Cached_Container->getSEMrushClientService()
    #4 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/generated/container.php(4645): Yoast\WP\SEO\Generated\Cached_Container->getSEMrushLoginActionService()
    #5 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php(271): Yoast\WP\SEO\Generated\Cached_Container->getSEMrushRouteService()
    #6 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/loader.php(216): YoastSEO_Vendor\Symfony\Component\DependencyInjection\Container->get()
    #7 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp-hook.php(307): Yoast\WP\SEO\Loader->load_routes()
    #8 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #9 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/plugin.php(476): WP_Hook->do_action()
    #10 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/rest-api.php(561): do_action()
    #11 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/rest-api.php(387): rest_get_server()
    #12 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp-hook.php(307): rest_api_loaded()
    #13 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #14 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/plugin.php(524): WP_Hook->do_action()
    #15 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp.php(398): do_action_ref_array()
    #16 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp.php(770): WP->parse_request()
    #17 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/functions.php(1330): WP->main()
    #18 /var/www/vhosts/youhomey.com/httpdocs/wp-blog-header.php(16): wp()
    #19 /var/www/vhosts/youhomey.com/httpdocs/index.php(17): require('...')
    #20 {main}
      thrown in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/values/oauth/oauth-token.php on line 70
    [17-Aug-2022 15:13:35 UTC] PHP Deprecated:  Required parameter $field follows optional parameter $post in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/types/vendor/toolset/types/embedded/includes/api.php on line 405
    [17-Aug-2022 15:13:40 UTC] PHP Deprecated:  Required parameter $item follows optional parameter $type in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/types/vendor/toolset/types/includes/classes/class.wpcf.roles.php on line 274
    [17-Aug-2022 15:13:53 UTC] PHP Deprecated:  Required parameter $item follows optional parameter $type in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/types/vendor/toolset/types/includes/classes/class.wpcf.roles.php on line 274
    [17-Aug-2022 15:13:54 UTC] PHP Deprecated:  Required parameter $field follows optional parameter $post in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/types/vendor/toolset/types/embedded/includes/api.php on line 405
    [17-Aug-2022 15:13:54 UTC] PHP Deprecated:  Required parameter $field follows optional parameter $post in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/types/vendor/toolset/types/embedded/includes/api.php on line 405
    [17-Aug-2022 15:13:55 UTC] PHP Deprecated:  Required parameter $item follows optional parameter $type in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/types/vendor/toolset/types/includes/classes/class.wpcf.roles.php on line 274
    [17-Aug-2022 15:14:33 UTC] PHP Warning:  Undefined array key "guests" in /var/www/vhosts/youhomey.com/httpdocs/wp-content/themes/homey/framework/functions/reservation.php on line 1628
    [17-Aug-2022 15:15:22 UTC] PHP Deprecated:  Required parameter $item follows optional parameter $type in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/types/vendor/toolset/types/includes/classes/class.wpcf.roles.php on line 274
    [17-Aug-2022 15:15:22 UTC] PHP Deprecated:  Required parameter $field follows optional parameter $post in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/types/vendor/toolset/types/embedded/includes/api.php on line 405
    [17-Aug-2022 15:15:23 UTC] PHP Deprecated:  Required parameter $item follows optional parameter $type in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/types/vendor/toolset/types/includes/classes/class.wpcf.roles.php on line 274
    [17-Aug-2022 15:15:23 UTC] PHP Deprecated:  Required parameter $item follows optional parameter $type in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/types/vendor/toolset/types/includes/classes/class.wpcf.roles.php on line 274
    [17-Aug-2022 15:15:23 UTC] PHP Deprecated:  Required parameter $item follows optional parameter $type in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/types/vendor/toolset/types/includes/classes/class.wpcf.roles.php on line 274
    [17-Aug-2022 15:15:23 UTC] PHP Deprecated:  Required parameter $field follows optional parameter $post in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/types/vendor/toolset/types/embedded/includes/api.php on line 405
    [17-Aug-2022 15:15:23 UTC] PHP Deprecated:  Required parameter $field follows optional parameter $post in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/types/vendor/toolset/types/embedded/includes/api.php on line 405
    [17-Aug-2022 15:15:24 UTC] PHP Deprecated:  Required parameter $field follows optional parameter $post in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/types/vendor/toolset/types/embedded/includes/api.php on line 405
    [17-Aug-2022 15:15:28 UTC] PHP Warning:  Undefined array key "access_token" in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php on line 70
    [17-Aug-2022 15:15:28 UTC] PHP Warning:  Undefined array key "refresh_token" in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php on line 71
    [17-Aug-2022 15:15:28 UTC] PHP Warning:  Undefined array key "expires" in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php on line 72
    [17-Aug-2022 15:15:28 UTC] PHP Warning:  Undefined array key "has_expired" in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php on line 73
    [17-Aug-2022 15:15:28 UTC] PHP Warning:  Undefined array key "created_at" in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php on line 74
    [17-Aug-2022 15:15:28 UTC] PHP Fatal error:  Uncaught Yoast\WP\SEO\Exceptions\OAuth\Tokens\Empty_Property_Exception: Token creation failed. Property <code>access_token</code> cannot be empty. in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/values/oauth/oauth-token.php:70
    Stack trace:
    #0 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php(75): Yoast\WP\SEO\Values\OAuth\OAuth_Token->__construct()
    #1 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/config/semrush-client.php(51): Yoast\WP\SEO\Config\OAuth_Client->__construct()
    #2 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/generated/container.php(2356): Yoast\WP\SEO\Config\SEMrush_Client->__construct()
    #3 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/generated/container.php(1260): Yoast\WP\SEO\Generated\Cached_Container->getSEMrushClientService()
    #4 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/generated/container.php(4645): Yoast\WP\SEO\Generated\Cached_Container->getSEMrushLoginActionService()
    #5 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php(271): Yoast\WP\SEO\Generated\Cached_Container->getSEMrushRouteService()
    #6 /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/loader.php(216): YoastSEO_Vendor\Symfony\Component\DependencyInjection\Container->get()
    #7 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp-hook.php(307): Yoast\WP\SEO\Loader->load_routes()
    #8 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #9 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/plugin.php(476): WP_Hook->do_action()
    #10 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/rest-api.php(561): do_action()
    #11 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/rest-api.php(387): rest_get_server()
    #12 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp-hook.php(307): rest_api_loaded()
    #13 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #14 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/plugin.php(524): WP_Hook->do_action()
    #15 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp.php(398): do_action_ref_array()
    #16 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/class-wp.php(770): WP->parse_request()
    #17 /var/www/vhosts/youhomey.com/httpdocs/wp-includes/functions.php(1330): WP->main()
    #18 /var/www/vhosts/youhomey.com/httpdocs/wp-blog-header.php(16): wp()
    #19 /var/www/vhosts/youhomey.com/httpdocs/index.php(17): require('...')
    #20 {main}
      thrown in /var/www/vhosts/youhomey.com/httpdocs/wp-content/plugins/wordpress-seo/src/values/oauth/oauth-token.php on line 70
    [17-Aug-2022 15:21:13 UTC] PHP Warning:  Undefined array key "guests" in /var/www/vhosts/youhomey.com/httpdocs/wp-content/themes/homey/framework/functions/reservation.php on line 1628

    Thanks in advance for the help.

    Hi,

    Thank you for sharing the errors from the debug.log file.

    Looking at the details of the error you’ve sent us, we see that the problem seems to be related to the Semrush integration in Yoast SEO.

    To check, please go to SEO > General > Integrations and turn Off the Semrush integration. Does the issue resolve? If so, turning the integration Off and then back On will clear the Semrush token.

    Now that the token has been cleared, you’ll need to reconfigure the Semrush connection (if you wish to keep using the integration). You can find instructions on how to do so here: https://yoast.com/help/use-semrush-related-keyphrases-in-yoast-seo/
    ?
    ?Please let us know if you are able to resolve the issue by following the aforementioned suggestions or if you need further assistance.

    This thread was marked resolved due to a lack of activity, but you’re always welcome to re-open the topic. Please read this post before opening a new request.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error parsing the response to JSON.’ is closed to new replies.