Hello,
Thank you for contacting the support and sorry for any inconvenience that might have been caused due to that.
Assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.
To determine that, please follow this troubleshooting guide:
https://rankmath.com/kb/check-plugin-conflicts/
Only the site admin would know and your users won’t be affected by this troubleshooting.
If the issue persists, please record a video screencast using a tool like Loom showing the troubleshooting and edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
Please do take a complete backup of your website before sharing the information with us.
We really look forward to helping you.
But here: https://support.rankmath.com/ticket/error-an-error-occurred-while-running-mapselect/
Todd offer something else. So in my case the problem it is from my end?
I have no plugin that interfear with Schema data from rank math, because if I deactivate the Schema (Structured Data) from RankMath Dashboard, I have no error. And I read on other case that there are missing tables on the database, for pages rankmath dont create corect info for Schema option needs.
I whant to debugg this, but dont put me to record you things or give you access in may end because I just work for fun to a project, I am a small developper.
I can reproduse the error with all the plugins off and just the rank math active and with the default wordpress.
If I clean the coockies in browser the wordpress white page disapear and also this message:
The editor has encountered an unexpected error.
Attempt Recovery
Copy Post Text
Copy Error
So there is a problem in the database. It was ok, I work on the content of my new site, and after some days I can not edit nothing seo on pages just, but only on bulkeditor.
Hello,
Are you using the latest version of Rank math? The error in the ticket you are referring to was on a version that is outdated.
Something to also note is that the error on the referred ticket is Cannot read property ‘snippetType’ of undefined
; your issue is `Cannot read property ‘isPrimary’ of undefined. The cause of the issues might not be exactly the same.
Would you please try disabling the Schema module in Rank math dashboard to see if the issue still persists?
Without a way to replicate the issue, there is only much we can do.
Looking forward to helping you.
That I was saying, if I disable the Schema module the error dissapear. But this it is not a solution because the error affect only pages. Pages are the only content that was half imported by using WP Import Export plugin by VJInfotech. Maybe there was the start of the issue in the database.
Then I import rankmath settings from the original site. And I think in the new database it is not the same the tables as in the old one.
I will think to reinstall the rank math over a clean full website content restaurated to see if that import cause the problem.
Any other suggestions?
PS: The issue it is on a wp mu version.
Hello,
It looks like the wrong value is stored in the rank_math_schema field in the postmeta table. Did you change any schema data from the Database? Can you give us the data which is stored in the meta key starting with rank_math_schema_ in the postmeta table for the post which is showing the error?
Looking forward to helping you.
In the database i have just this meta_key rank_math_schema_Article with no meta_value. If I add something manual in that meta_value, could work? What should be there? Can you give me an example? Maybe I can add it manual and the the module will work.
Hello,
In the database i have just this meta_key rank_math_schema_Article with no meta_value.
If there is no value then please delete that entry from Database and select the Article Schema again from the Edit Post screen. That will fix the error which you are getting.
I hope that helps.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.