• Resolved tinkerjet

    (@tinkerjet)


    PHP version: 8.1.14

    Symptoms: Analytics don’t appear in the dashboard and clicking directly to the Search Console creates an endless “Fetching data…” loop. The browser console is also turning back 401 (unauthorized) and 500 server errors. There is nowhere for the user to enter or verify any credentials.

    WordPress debugger output:

    Warning: Undefined array key "credentials" in /home/.../public_html/wp-content/plugins/search-console/includes/Api.php on line 60

    Warning: Trying to access array offset on value of type null in /home/.../public_html/wp-content/plugins/search-console/includes/Api.php on line 60

    Warning: Undefined array key "credentials" in /home/.../public_html/wp-content/plugins/search-console/includes/Api.php on line 61

    Warning: Trying to access array offset on value of type null in /home/.../public_html/wp-content/plugins/search-console/includes/Api.php on line 61

    Warning: Undefined array key "credentials" in /home/.../public_html/wp-content/plugins/search-console/includes/Api.php on line 62

    Warning: Trying to access array offset on value of type null in /home/.../public_html/wp-content/plugins/search-console/includes/Api.php on line 62

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter tinkerjet

    (@tinkerjet)

    Update: I tweaked it into working by switching to a second website associated with the same Google account, then switching back before saving, but it doesn’t appear to select the first website in the dropdown by default.

    Plugin Author tropicalista

    (@tropicalista)

    Please be sure you have select site and clicked on save button.

    If you can, check the first ajax request on page load to check if site option is correctly populated.

    Thread Starter tinkerjet

    (@tinkerjet)

    It doesn’t seem to be populating properly if there is only one website in the dropdown. I just updated Search Console on another website that only has the one and I’m not sure how to get it to recognize that an option is already selected.

    Thread Starter tinkerjet

    (@tinkerjet)

    Here are some screenshots in case they’re helpful.

    1. With more than one website, I can get it working correctly: https://i.imgur.com/QBdTLgA.png
    2. With only one website, I can’t get it working at all: https://i.imgur.com/4Q348LF.png
    Plugin Author tropicalista

    (@tropicalista)

    Can you check with latest update?

    Thread Starter tinkerjet

    (@tinkerjet)

    You’re a superstar! Everything is running perfectly now. I’ll mark this issue as resolved.

    Thank you.

    Plugin Author tropicalista

    (@tropicalista)

    Thanks for your help in debugging.

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Bug Report: Undefined.’ is closed to new replies.