-
Hi I reconnected the Google & Rank Math, but the Analytics still showing this:
-
Hello,
Circling back to this ticket, our developer would like to check your GSC/GA account. Can you please add this user to your GSC account as well?
n*********@r***********Here’s a guide you can follow: https://rankmath.com/kb/add-user-to-google-search-console/
Looking forward to hearing back from you.
We have Google console account, but we have no Google Analytics account
Hello,
That’s fine. You can grant access to the email address we mentioned for your Google Search Console account only.
Looking forward to helping you.
Ok, we have added n*********@r*********** into our Google Console users
Hello,
Thank you so much for your patience.
We checked this further and the issue doesn’t appear to be related to the Rank Math plugin itself.
From our investigation, there is a 500 server error being logged in the browser console when accessing Rank Math → Dashboard → General Settings → Analytics. This points to a server-level problem, which only your hosting provider can diagnose and resolve.
To help them investigate, please share the following details with your hosting support team:
– There is a 500 Internal Server Error occurring on the Rank Math Analytics settings page in the WordPress admin.
– Relevant error logs can be found in the/wwwlogs/directory via FTP.
– Additionally, there appears to be a possible .htaccess-related issue. At the bottom of the Permalinks page (/wp-admin/options-permalink.php), WordPress reports a problem, and attempting to create or update the .htaccess file manually via FTP also fails.Once your hosting provider resolves the server error, the Analytics connection should start working normally again.
Let us know how that goes. Looking forward to helping you.
Hi,
Our hosting support team engineer answered as bwlow:
It seems that the error is caused by the code layer calling a non-existent function. You need to provide the error log below to the plug-in provider for help to see how to modify and fix it.
PHP Fatal error: Uncaught Error: Call to undefined function RankMath\Google\sleep() in …/class-request.php on line 209
The probably reason is that in the namespace, sleep() will be interpreted as a function under the current namespace (i.e. RankMath\Google\sleep), and the function does not exist → an error is reported. You need to check whether it is modified to global search in the code or comments out this function or module function.
Hello,
The
sleep()is a Core PHP function ( https://www.php.net/manual/en/function.sleep.php ) and not a class method as the error log reported (RankMath\Google\sleep())You have added a patch in your
config.phpto fix this, but the current issue could mean there are other potential issues related to your PHP installation.Please share the above details with you hosting provider see if they could get it resolved. Maybe reinstalling PHP or updating it could resolve this.
Also please check the suggested improvements at https://www.wanrongie.com/wp-admin/site-health.php?tab, related to PHP modules ( extensions ) and SQL Server ( as some scheduled actions are failing and could be related to the first issue mentioned above ).Please do share with us the related response from your hosting provider.
Thank you.
If your website isn’t showing in Google Search Console or Google Analytics, here are a few common things to check:
1. Verification & Property Setup
Make sure the correct domain (http vs https, www vs non-www) is added and verified in Search Console.
In Analytics, confirm the tracking ID (GA4 measurement ID) is properly installed on all pages.
2. Tracking Code Installation
Check that the Analytics tag is placed inside the <head> section.
Use Tag Assistant or real-time reports to confirm data is being received.
3. Indexing Issues
In Search Console → URL Inspection, test your homepage.
Ensure there’s no noindex tag or robots.txt block preventing crawling.
4. New Website Delay
If the site is new, it can take several days (sometimes weeks) for data to appear.
5. Cache / CDN Issues
Clear website cache and CDN cache if you recently added tracking codes.
Once everything is verified correctly, data should start appearing in real-time reports first, then standard reports within 24–48 hours.
If helpful, I’ve also shared beginner-friendly guides on website setup and tracking basics here:
https://alightmotionapp.co/
You must be logged in to reply to this ticket.