skip to Main Content

I try to set up kakao login to my Shopify store, but when I run the test I encountered this message error, what should I do? Thank you

You can see details here pls :)

2

Answers


  1. The Cache facade doesn’t live in the AppHttpControllers namespace. If you do not include a use statement at the top of your PHP files for your classes, it is assumed the class does live in the same namespace.

    The Laravel Cache facade lives in the IlluminateSupportFacades namespace so at the top of your KakaoController with your other use statements, add the following:

    use IlluminateSupportFacadesCache;
    
    Login or Signup to reply.
  2. You must need to add "use IlluminateSupportFacadesCache;" on top of controller, middleware, command, event or blade files.

    for example

    <?php namespace AppHttpControllers;
    
    use IlluminateSupportFacadesCache;
    class KaKaoController extends Controller {
    ...
    

    or "use Cache;"

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search