cancel
Showing results for 
Search instead for 
Did you mean: 

There has been an error processing your request

SOLVED

There has been an error processing your request

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?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: There has been an error processing your request

@gaurav_sharma18 

 

Have you checked primary key of table? do not compare column of table.

Manish Mittal
https://www.manishmittal.com/

View solution in original post

6 REPLIES 6

Re: There has been an error processing your request

Hello @gaurav_sharma18 

 

Please check cms_page table in the database, its primary key should missing.

Manish Mittal
https://www.manishmittal.com/

Re: There has been an error processing your request

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

Re: There has been an error processing your request

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.

Manish Mittal
https://www.manishmittal.com/

Re: There has been an error processing your request

Hi @Manish Mittal 

 

I have checked CMS_Page table and it is exactly same as old one. Any other table I need to check?

Re: There has been an error processing your request

@gaurav_sharma18 

 

Have you checked primary key of table? do not compare column of table.

Manish Mittal
https://www.manishmittal.com/

Re: There has been an error processing your request

@Manish Mittal 

 

I need your time. Can you please check in my database. I can share my PC screen with you.

 

Thanks