Closed dipcb05 closed 3 years ago
Does this help? vanilophp/product#12
If not, please post the contents of config/concord.php
thanks for the reply. i have disconnected from the internet for some days. sorry for the late. here is my config/concord.php
<?php
return [
'modules' => [
Konekt\AppShell\Providers\ModuleServiceProvider::class => [
'ui' => [
'name' => 'Vanilo',
'url' => '/admin/product'
],
'modules' => [
Konekt\Customer\Providers\ModuleServiceProvider::class
],
'modules' => [
Konekt\Address\Providers\ModuleServiceProvider::class
]
],
Vanilo\Framework\Providers\ModuleServiceProvider::class => [
'image' => [
'variants' => [
'thumbnail' => [
'width' => 250,
'height' => 188,
'fit' => 'fill'
],
'medium' => [
'width' => 540,
'height' => 406,
'fit' => 'fill'
]
]
],
]
]
];
the output of php artisan concord:enums
In EnumProxy.php line 33:
Return value of Konekt\Concord\Proxies\EnumProxy::targetClass() must be of the type string, null returned
@dipcb05 The config is wrong:
modules
key is present 3 time --> it last one overrides the first 2.The correct config is:
// config/concord.php
<?php
return [
'modules' => [
Konekt\AppShell\Providers\ModuleServiceProvider::class => [
'ui' => [
'name' => 'Vanilo',
'url' => '/admin/product'
]
],
Vanilo\Framework\Providers\ModuleServiceProvider::class => [
'image' => [
'variants' => [
'thumbnail' => [
'width' => 250,
'height' => 188,
'fit' => 'fill'
],
'medium' => [
'width' => 540,
'height' => 406,
'fit' => 'fill'
]
]
],
]
]
];
I just installed some konekt module, i have no idea about enum proxy, but this error arises. i checked php artisan concord:enums. same error showing