cancel
Showing results for 
Search instead for 
Did you mean: 

Host transfer from Dev to Production

Host transfer from Dev to Production

hello all i've developed a site using the Magento 2.2 platform ive created it on a local Development server running webmin and now got to the point where we are moving to it to two nginx servers one has the DB on and the other has the webfiles which in its self isnt a problem

 

Probelm im having is when moving the website from dev subdomain.website.com to production website.com i've made all the relivant changes in the DB and ran

 

php bin/magento deploy:mode:set production

 

The Home page comes up fine and also the CMS pages come up ok but the Catergory and product pages come up with error

 

Method 'getExtensionAttributes' must be overridden in the interfaces which extend 'Magento\Framework\Api\ExtensibleDataInterface'. Concrete return type must be specified. Please fix :\Magento\Catalog\Api\Data\ProductInterface

also the admin comes up with a error saying this page isnt redirecting properly

im not sure if these errors are related or not

 

other things ive tried are

 

php  bin/magento cache:clean
php bin/magento cache:flush

ive also run the Re index command

and also rest the file permissions and ownership

 

 

1 REPLY

Re: Host transfer from Dev to Production

Based on this GitHub issue, the error you are seeing seems like a problem with the OPCache configuration in your production server. 

 

Try opening up your opcache.ini file and set opcache.save_comments to 1.

James Lee | Moderator • Magento Master
See My Recommended Magento Hosting & Security Tips