i run my SM2 project_sonata on dev & prod localhost mode and it works well, but when i change to my website i get the error 500 :
Sonata Project - Internal Error
No site available
what missed is to update routes with the website's url:
sonata:page:update-core-routes --site=website.com
sonata:page:create-snapshots --site=website.com
Update core routes, from routing files to page manager Create a snapshots of all pages available