I just deployed my site on OVH and by launching the command php bin/magento to check all the magento namespace I come accross this error. enter image description here I have already tried to delete the folder var / to see if it could make it work but it seems not.

  • Try deleting generated folder in the document root. – Mohit Kumar Arora Jul 20 '18 at 11:45
  • Thanks, but which generated folder ? – Rija Cloud Jul 20 '18 at 11:48
  • you can delete the complete folder, named 'generated' under the document root. – Mohit Kumar Arora Jul 20 '18 at 12:03
  • 1
    I found the solution, in fact there were no Strategy class in my vendor so I uploaded it manually and everything is working fine. ^^ But thank you for your time. – Rija Cloud Jul 20 '18 at 12:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.