Recent Topics
Target [Webkul\Attribute\Contracts\Attribute] is not instantiable.
-
Target [Webkul\Attribute\Contracts\Attribute] is not instantiable. (View: /var/www/html/bagisto/packages/Webkul/Admin/src/Resources/views/catalog/products/field-types/text.blade.php) (View: /var/www/html/bagisto/packages/Webkul/Admin/src/Resources/views/catalog/products/field-types/text.blade.php)
i am facing this error after adding product.
i already have \Webkul\Attribute\Providers\ModuleServiceProvider::class, in config/concord.php
i have tried composer dump-autoload.
laravel version: 9.52.4
php version: 8.2.3
bagisto version: v1.4.3please help
-
Hello There,
Have you entered the details related to the Service Provider in the below path. Please check and update us so that we can help you with better response.
Link - https://github.com/bagisto/bagisto/blob/master/packages/Webkul/Product/src/Providers/ModuleServiceProvider.php#L10
-
@ashish2409 hello, here is the file content
<?phpnamespace Webkul\Product\Providers;
use Webkul\Core\Providers\CoreModuleServiceProvider;
class ModuleServiceProvider extends CoreModuleServiceProvider
{
protected $models = [
\Webkul\Product\Models\Product::class,
\Webkul\Product\Models\ProductAttributeValue::class,
\Webkul\Product\Models\ProductFlat::class,
\Webkul\Product\Models\ProductImage::class,
\Webkul\Product\Models\ProductInventory::class,
\Webkul\Product\Models\ProductOrderedInventory::class,
\Webkul\Product\Models\ProductReview::class,
\Webkul\Product\Models\ProductSalableInventory::class,
\Webkul\Product\Models\ProductDownloadableSample::class,
\Webkul\Product\Models\ProductDownloadableLink::class,
\Webkul\Product\Models\ProductGroupedProduct::class,
\Webkul\Product\Models\ProductBundleOption::class,
\Webkul\Product\Models\ProductBundleOptionTranslation::class,
\Webkul\Product\Models\ProductBundleOptionProduct::class,
\Webkul\Product\Models\ProductCustomerGroupPrice::class,
\Webkul\Product\Models\ProductVideo::class,
\Webkul\Product\Models\ProductReviewImage::class,
];
}
-
Hi there
Please share this file.packages/Webkul/Attribute/src/Providers/ModuleServiceProvider.php