Google Instant indexing error.

#930331
  • Hi Team, I am getting an error when trying to submit indexing for google.
    URL: travelzine.co.uk.

    Error undefined (500 error) I have pasted the error from my logs in the sensitive Data section. Any ideas? I have checked the API in Google Cloud console and the service Account – both seem to be active.

    Any help on where I can look would be helpful.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Just to confirm, I have deactivated/deleted plugin and re installed. Same issue.

    Hi Team,

    After looking at MessageTrait.php file on line 267, I have replaced `throw new \InvalidArgumentException(sprintf(‘”%s” is not valid header value’, $value));
    ` with if (preg_match(‘/[\r\n]/’, $value)) {
    // Remove problematic newline characters
    $value = str_replace([“\r”, “\n”], ”, $value);

    // Log the sanitised value for debugging (optional)
    error_log(sprintf(‘Sanitised invalid header value: %s’, $value));
    }

    Now the log is showing “SUCCESS”

    Any ideas on if I’m the only one affected? Its now working but that is with me adding in this code to replace lie 267

    Just checked (gave it 24 hours) Although I’m getting a SUCCESS message for Google: Publish/update URL, Its doesn’t seem to be actually getting indexed

    Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    Our plugin makes use of a library called Guzzle HTTP to submit the requests but on your website, seems like there’s a plugin that is using an old version of the library and causing the custom headers to fail.

    If you don’t have all other plugins updated to the latest version on your site, please try updating them and see if the issue is resolved for you.

    If the issue persists, go for a plugin conflict check to identify the culprit behind this issue and get in touch with their support in order to fix this issue.
    https://rankmath.com/kb/check-plugin-conflicts/

    Regarding the indexing issue, please note that Instant Indexing only submits the URLs to Google so they can be crawled faster and potentially indexed but still, it solely depends on Google if they want to index a URL or not.

    You can check your Google Search Console Page Indexing report to determine any issues reported on your site: https://support.google.com/webmasters/answer/7440203?hl=en

    Let us know how it goes. Looking forward to helping you.

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

You must be logged in to reply to this ticket.