Recent Topics

Found Error while adding parameters Repository on Controller Class



  • I got error like this

    "Target [\Contracts\PlanLimitation] is not instantiable while building [\Http\Controllers\Admin\PlanLimitationController]."

    This error come out when i tried to adding repository to my construct function in my controller
    93068383-c343-4590-a25b-000f2fa16d62-image.png

    can someone help me?



  • Hi!

    What's the content of file "Contracts/PlanLimitation.php" and model() function inside the file "Repositories/PlanLimitationRepostory.php"?



  • thanks for replying, i just miss one backslash in herefc8a1c34-ac4b-416d-8993-bdc338c344ea-image.png


Log in to reply