I have moved my magento site from one server to another. But facing an issue
Notice: Undefined index: PK_CMS_PAGE in /home/j240as0669rt/public_html/vendor/magento/framework/EntityManager/EntityMetadata.php on line 96
Error log record number: 886971804236
Anyone who have an idea to resolve this issue?
Solved! Go to Solution.
Have you checked primary key of table? do not compare column of table.
Hello @gaurav_sharma18
Please check cms_page table in the database, its primary key should missing.
Hi @Manish Mittal ,
Can you please tell me in detail where I can find the key as I am not a developer. Step by step procedure will be appreciated.
Thanks
Hello @gaurav_sharma18
Can you compare old server and new server database cms_page table, or you can export and import table again.
Please make sure both table should have same structure.
I have checked CMS_Page table and it is exactly same as old one. Any other table I need to check?
Have you checked primary key of table? do not compare column of table.
I need your time. Can you please check in my database. I can share my PC screen with you.
Thanks