Error on return value in ModelProxy::targetClass()
-
Hi everyone,
I'm trying to setup Bagisto into an existing Laravel application, but I'm currently stuck on this error:
Return value of Konekt\Concord\Proxies\ModelProxy::targetClass() must be of the type string, null returned
The error originates in
packages/Webkul/Category/src/Providers/CategoryServiceProvider.php
in the following line:
CategoryProxy::observe(CategoryObserver::class);
It's a fresh installation, but I'm trying to implement it in an existing Laravel application (we're trying to get Bagisto working with our in-house CMS.). So far I've added the composer packages and added everything in config/app.php under the
providers
key.I searched but I couldn't find a solution to this. Can you guys help me out here?
-
Hi @Yorg,
can you share the full implementation step by step so that I can investigate it further?
-
This post is deleted! -
Hi,
What about this file?
Have you added this?