Changed indexer class names and fixed failing functional tests

This commit is contained in:
jitendra 2022-10-06 15:05:18 +05:30
parent 6b2e68c3bf
commit 9ed41e0966
19 changed files with 352 additions and 39 deletions

View File

@ -26,7 +26,7 @@ class Kernel extends ConsoleKernel
{
$schedule->command('booking:cron')->dailyAt('3:00');
$schedule->command('invoice:cron')->dailyAt('3:00');
$schedule->command('invoice:cron')->dailyAt('23:59');
$schedule->command('products:price-index')->dailyAt('24:00');
}
/**

View File

@ -307,6 +307,6 @@ class Booking extends Virtual
*/
public function getPriceIndexer()
{
return '\Webkul\Product\Helpers\ProductPriceIndex\Virtual';
return '\Webkul\Product\Helpers\PriceIndexer\Virtual';
}
}

View File

@ -5,9 +5,9 @@ namespace Webkul\Product\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Bus;
use Webkul\Product\Repositories\ProductRepository;
use Webkul\Product\Jobs\ProductPriceIndexer as ProductPriceIndexerJob;
use Webkul\Product\Jobs\PriceIndexer as PriceIndexerJob;
class ProductPriceIndexer extends Command
class PriceIndexer extends Command
{
/**
* The name and signature of the console command.
@ -46,7 +46,7 @@ class ProductPriceIndexer extends Command
while (true) {
$paginator = $this->productRepository->cursorPaginate(10);
$batch->add(new ProductPriceIndexerJob($paginator->items()));
$batch->add(new PriceIndexerJob($paginator->items()));
if (! $cursor = $paginator->nextCursor()) {
break;

View File

@ -5,7 +5,7 @@ namespace Webkul\Product\Helpers;
use Webkul\Customer\Repositories\CustomerGroupRepository;
use Webkul\Product\Repositories\ProductPriceIndexRepository;
class ProductPriceIndexer
class PriceIndexer
{
/**
* Create a new command instance.

View File

@ -1,6 +1,6 @@
<?php
namespace Webkul\Product\Helpers\ProductPriceIndex;
namespace Webkul\Product\Helpers\PriceIndexer;
use Webkul\Customer\Repositories\CustomerRepository;
use Webkul\Product\Repositories\ProductCustomerGroupPriceRepository;
@ -76,9 +76,9 @@ abstract class AbstractPriceIndex
return [
'min_price' => ($minPrice = $this->getMinimalPrice()) ?? 0,
'regular_min_price' => $this->product->price,
'regular_min_price' => $this->product->price ?? 0,
'max_price' => $minPrice ?? 0,
'regular_max_price' => $this->product->price,
'regular_max_price' => $this->product->price ?? 0,
];
}

View File

@ -1,6 +1,6 @@
<?php
namespace Webkul\Product\Helpers\ProductPriceIndex;
namespace Webkul\Product\Helpers\PriceIndexer;
class Bundle extends AbstractPriceIndex
{

View File

@ -1,6 +1,6 @@
<?php
namespace Webkul\Product\Helpers\ProductPriceIndex;
namespace Webkul\Product\Helpers\PriceIndexer;
class Configurable extends AbstractPriceIndex
{

View File

@ -1,6 +1,6 @@
<?php
namespace Webkul\Product\Helpers\ProductPriceIndex;
namespace Webkul\Product\Helpers\PriceIndexer;
class Downloadable extends AbstractPriceIndex
{

View File

@ -1,6 +1,6 @@
<?php
namespace Webkul\Product\Helpers\ProductPriceIndex;
namespace Webkul\Product\Helpers\PriceIndexer;
class Grouped extends AbstractPriceIndex
{

View File

@ -0,0 +1,7 @@
<?php
namespace Webkul\Product\Helpers\PriceIndexer;
class Simple extends AbstractPriceIndex
{
}

View File

@ -0,0 +1,7 @@
<?php
namespace Webkul\Product\Helpers\PriceIndexer;
class Virtual extends AbstractPriceIndex
{
}

View File

@ -1,7 +0,0 @@
<?php
namespace Webkul\Product\Helpers\ProductPriceIndex;
class Simple extends AbstractPriceIndex
{
}

View File

@ -1,7 +0,0 @@
<?php
namespace Webkul\Product\Helpers\ProductPriceIndex;
class Virtual extends AbstractPriceIndex
{
}

View File

@ -8,9 +8,9 @@ use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Bus\Batchable;
use Illuminate\Queue\SerializesModels;
use Webkul\Product\Helpers\ProductPriceIndexer as ProductPriceIndexerHelper;
use Webkul\Product\Helpers\PriceIndexer as PriceIndexerHelper;
class ProductPriceIndexer implements ShouldQueue
class PriceIndexer implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels, Batchable;
@ -40,7 +40,7 @@ class ProductPriceIndexer implements ShouldQueue
public function handle()
{
foreach ($this->products as $product) {
app(ProductPriceIndexerHelper::class)->refresh($product);
app(PriceIndexerHelper::class)->refresh($product);
}
}
}

View File

@ -10,7 +10,7 @@ use Webkul\Product\Repositories\ProductBundleOptionProductRepository;
use Webkul\Product\Repositories\ProductGroupedProductRepository;
use Webkul\Product\Repositories\ProductFlatRepository;
use Webkul\Product\Helpers\ProductType;
use Webkul\Product\Helpers\ProductPriceIndexer;
use Webkul\Product\Helpers\PriceIndexer;
class Product
{
@ -41,7 +41,7 @@ class Product
* @param \Webkul\Product\Repositories\ProductBundleOptionProductRepository $productBundleOptionProductRepository
* @param \Webkul\Product\Repositories\ProductGroupedProductRepository $productGroupedProductRepository
* @param \Webkul\Product\Repositories\ProductFlatRepository $productFlatRepository
* @param \Webkul\Product\Helpers\ProductPriceIndexer $productPriceIndexer
* @param \Webkul\Product\Helpers\PriceIndexer $priceIndexer
* @return void
*/
public function __construct(
@ -51,7 +51,7 @@ class Product
protected ProductBundleOptionProductRepository $productBundleOptionProductRepository,
protected ProductGroupedProductRepository $productGroupedProductRepository,
protected ProductFlatRepository $productFlatRepository,
protected ProductPriceIndexer $productPriceIndexer
protected PriceIndexer $priceIndexer
)
{
$this->flatColumns = Schema::getColumnListing('product_flat');
@ -80,7 +80,7 @@ class Product
}
foreach ($products as $product) {
$this->productPriceIndexer->refresh($product);
$this->priceIndexer->refresh($product);
}
}

View File

@ -4,7 +4,7 @@ namespace Webkul\Product\Providers;
use Illuminate\Foundation\AliasLoader;
use Illuminate\Support\ServiceProvider;
use Webkul\Product\Console\Commands\ProductPriceIndexer;
use Webkul\Product\Console\Commands\PriceIndexer;
use Webkul\Product\Facades\ProductImage as ProductImageFacade;
use Webkul\Product\Facades\ProductVideo as ProductVideoFacade;
use Webkul\Product\Models\ProductProxy;
@ -66,7 +66,7 @@ class ProductServiceProvider extends ServiceProvider
protected function registerCommands(): void
{
if ($this->app->runningInConsole()) {
$this->commands([ProductPriceIndexer::class]);
$this->commands([PriceIndexer::class]);
}
}

View File

@ -1099,6 +1099,6 @@ abstract class AbstractType
*/
public function getPriceIndexer()
{
return '\Webkul\Product\Helpers\ProductPriceIndex\\' . ucfirst($this->product->type);
return '\Webkul\Product\Helpers\PriceIndexer\\' . ucfirst($this->product->type);
}
}

View File

@ -1,2 +0,0 @@
*
!.gitignore

315
storage/logs/laravel.log Normal file
View File

@ -0,0 +1,315 @@
[2022-10-06 15:02:28] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'regular_min_price' cannot be null (SQL: insert into `product_price_indices` (`customer_group_id`, `product_id`, `min_price`, `regular_min_price`, `max_price`, `regular_max_price`, `updated_at`, `created_at`) values (1, 251, 0, ?, 0, ?, 2022-10-06 15:02:28, 2022-10-06 15:02:28)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'regular_min_price' cannot be null (SQL: insert into `product_price_indices` (`customer_group_id`, `product_id`, `min_price`, `regular_min_price`, `max_price`, `regular_max_price`, `updated_at`, `created_at`) values (1, 251, 0, ?, 0, ?, 2022-10-06 15:02:28, 2022-10-06 15:02:28)) at /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Connection.php:759)
[stacktrace]
#0 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Connection.php(719): Illuminate\\Database\\Connection->runQueryCallback()
#1 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Connection.php(545): Illuminate\\Database\\Connection->run()
#2 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Connection.php(497): Illuminate\\Database\\Connection->statement()
#3 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/Processor.php(32): Illuminate\\Database\\Connection->insert()
#4 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3246): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId()
#5 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1834): Illuminate\\Database\\Query\\Builder->insertGetId()
#6 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1220): Illuminate\\Database\\Eloquent\\Builder->__call()
#7 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1185): Illuminate\\Database\\Eloquent\\Model->insertAndSetId()
#8 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1026): Illuminate\\Database\\Eloquent\\Model->performInsert()
#9 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(568): Illuminate\\Database\\Eloquent\\Model->save()
#10 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Support/helpers.php(302): Illuminate\\Database\\Eloquent\\Builder->Illuminate\\Database\\Eloquent\\{closure}()
#11 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(569): tap()
#12 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): Illuminate\\Database\\Eloquent\\Builder->updateOrCreate()
#13 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2176): Illuminate\\Database\\Eloquent\\Model->forwardCallTo()
#14 /home/jitendra/www/html/laravel/bagisto/vendor/prettus/l5-repository/src/Prettus/Repository/Eloquent/BaseRepository.php(734): Illuminate\\Database\\Eloquent\\Model->__call()
#15 /home/jitendra/www/html/laravel/bagisto/packages/Webkul/Product/src/Helpers/PriceIndexer.php(41): Prettus\\Repository\\Eloquent\\BaseRepository->updateOrCreate()
#16 /home/jitendra/www/html/laravel/bagisto/packages/Webkul/Product/src/Listeners/Product.php(83): Webkul\\Product\\Helpers\\PriceIndexer->refresh()
#17 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(441): Webkul\\Product\\Listeners\\Product->reIndexPrice()
#18 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(249): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}()
#19 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(337): Illuminate\\Events\\Dispatcher->dispatch()
#20 /home/jitendra/www/html/laravel/bagisto/packages/Webkul/Product/src/Http/Controllers/ProductController.php(164): Illuminate\\Support\\Facades\\Facade::__callStatic()
#21 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): Webkul\\Product\\Http\\Controllers\\ProductController->update()
#22 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction()
#23 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Route.php(268): Illuminate\\Routing\\ControllerDispatcher->dispatch()
#24 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\\Routing\\Route->runController()
#25 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Router.php(725): Illuminate\\Routing\\Route->run()
#26 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()
#27 /home/jitendra/www/html/laravel/bagisto/packages/Webkul/User/src/Http/Middleware/Bouncer.php(45): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#28 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Webkul\\User\\Http\\Middleware\\Bouncer->handle()
#29 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#30 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()
#31 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#32 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle()
#33 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#34 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle()
#35 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#36 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()
#37 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle()
#38 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#39 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()
#40 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#41 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()
#42 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#43 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Router.php(726): Illuminate\\Pipeline\\Pipeline->then()
#44 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Router.php(703): Illuminate\\Routing\\Router->runRouteWithinStack()
#45 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Router.php(667): Illuminate\\Routing\\Router->runRoute()
#46 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Router.php(656): Illuminate\\Routing\\Router->dispatchToRoute()
#47 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167): Illuminate\\Routing\\Router->dispatch()
#48 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()
#49 /home/jitendra/www/html/laravel/bagisto/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#50 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Barryvdh\\Debugbar\\Middleware\\InjectDebugbar->handle()
#51 /home/jitendra/www/html/laravel/bagisto/packages/Webkul/Core/src/Http/Middleware/SecureHeaders.php(30): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#52 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Webkul\\Core\\Http\\Middleware\\SecureHeaders->handle()
#53 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#54 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#55 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()
#56 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#57 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle()
#58 /home/jitendra/www/html/laravel/bagisto/packages/Webkul/Core/src/Http/Middleware/CheckForMaintenanceMode.php(105): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#59 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Webkul\\Core\\Http\\Middleware\\CheckForMaintenanceMode->handle()
#60 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#61 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\HandleCors->handle()
#62 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#63 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\TrustProxies->handle()
#64 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#65 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then()
#66 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#67 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(984): Illuminate\\Foundation\\Http\\Kernel->handle()
#68 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/module-laravel/src/Codeception/Lib/Connector/Laravel.php(113): Illuminate\\Foundation\\Application->handle()
#69 /home/jitendra/www/html/laravel/bagisto/vendor/symfony/browser-kit/AbstractBrowser.php(370): Codeception\\Lib\\Connector\\Laravel->doRequest()
#70 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/lib-innerbrowser/src/Codeception/Lib/InnerBrowser.php(243): Symfony\\Component\\BrowserKit\\AbstractBrowser->request()
#71 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/lib-innerbrowser/src/Codeception/Lib/InnerBrowser.php(937): Codeception\\Lib\\InnerBrowser->clientRequest()
#72 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/lib-innerbrowser/src/Codeception/Lib/InnerBrowser.php(487): Codeception\\Lib\\InnerBrowser->proceedSubmitForm()
#73 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/lib-innerbrowser/src/Codeception/Lib/InnerBrowser.php(418): Codeception\\Lib\\InnerBrowser->clickButton()
#74 [internal function]: Codeception\\Lib\\InnerBrowser->click()
#75 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Step.php(273): call_user_func_array()
#76 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Scenario.php(75): Codeception\\Step->run()
#77 /home/jitendra/www/html/laravel/bagisto/tests/_support/_generated/FunctionalTesterActions.php(1877): Codeception\\Scenario->runStep()
#78 /home/jitendra/www/html/laravel/bagisto/tests/functional/Admin/Catalog/ProductCest.php(118): FunctionalTester->click()
#79 [internal function]: Tests\\Functional\\Admin\\Catalog\\ProductCest->selectEmptyAttributeOptionOnProductCreation()
#80 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs()
#81 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Test/Cest.php(175): Codeception\\Lib\\Di->injectDependencies()
#82 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Test/Cest.php(191): Codeception\\Test\\Cest->invoke()
#83 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Test/Cest.php(120): Codeception\\Test\\Cest->executeTestMethod()
#84 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Test/Test.php(172): Codeception\\Test\\Cest->test()
#85 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Suite.php(132): Codeception\\Test\\Test->realRun()
#86 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/SuiteManager.php(148): Codeception\\Suite->run()
#87 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\\SuiteManager->run()
#88 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\\Codecept->runSuite()
#89 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Command/Run.php(444): Codeception\\Codecept->run()
#90 /home/jitendra/www/html/laravel/bagisto/vendor/symfony/console/Command/Command.php(308): Codeception\\Command\\Run->execute()
#91 /home/jitendra/www/html/laravel/bagisto/vendor/symfony/console/Application.php(998): Symfony\\Component\\Console\\Command\\Command->run()
#92 /home/jitendra/www/html/laravel/bagisto/vendor/symfony/console/Application.php(299): Symfony\\Component\\Console\\Application->doRunCommand()
#93 /home/jitendra/www/html/laravel/bagisto/vendor/symfony/console/Application.php(171): Symfony\\Component\\Console\\Application->doRun()
#94 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\\Component\\Console\\Application->run()
#95 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/app.php(45): Codeception\\Application->run()
#96 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/app.php(46): {closure}()
#97 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/codecept(7): require('...')
#98 /home/jitendra/www/html/laravel/bagisto/vendor/bin/codecept(117): include('...')
#99 {main}
[previous exception] [object] (Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'regular_min_price' cannot be null at /home/jitendra/www/html/laravel/bagisto/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18)
[stacktrace]
#0 /home/jitendra/www/html/laravel/bagisto/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(119): Doctrine\\DBAL\\Driver\\PDO\\Exception::new()
#1 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Connection.php(544): Doctrine\\DBAL\\Driver\\PDOStatement->execute()
#2 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Connection.php(752): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}()
#3 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Connection.php(719): Illuminate\\Database\\Connection->runQueryCallback()
#4 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Connection.php(545): Illuminate\\Database\\Connection->run()
#5 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Connection.php(497): Illuminate\\Database\\Connection->statement()
#6 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/Processor.php(32): Illuminate\\Database\\Connection->insert()
#7 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3246): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId()
#8 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1834): Illuminate\\Database\\Query\\Builder->insertGetId()
#9 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1220): Illuminate\\Database\\Eloquent\\Builder->__call()
#10 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1185): Illuminate\\Database\\Eloquent\\Model->insertAndSetId()
#11 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1026): Illuminate\\Database\\Eloquent\\Model->performInsert()
#12 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(568): Illuminate\\Database\\Eloquent\\Model->save()
#13 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Support/helpers.php(302): Illuminate\\Database\\Eloquent\\Builder->Illuminate\\Database\\Eloquent\\{closure}()
#14 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(569): tap()
#15 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): Illuminate\\Database\\Eloquent\\Builder->updateOrCreate()
#16 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2176): Illuminate\\Database\\Eloquent\\Model->forwardCallTo()
#17 /home/jitendra/www/html/laravel/bagisto/vendor/prettus/l5-repository/src/Prettus/Repository/Eloquent/BaseRepository.php(734): Illuminate\\Database\\Eloquent\\Model->__call()
#18 /home/jitendra/www/html/laravel/bagisto/packages/Webkul/Product/src/Helpers/PriceIndexer.php(41): Prettus\\Repository\\Eloquent\\BaseRepository->updateOrCreate()
#19 /home/jitendra/www/html/laravel/bagisto/packages/Webkul/Product/src/Listeners/Product.php(83): Webkul\\Product\\Helpers\\PriceIndexer->refresh()
#20 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(441): Webkul\\Product\\Listeners\\Product->reIndexPrice()
#21 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(249): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}()
#22 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(337): Illuminate\\Events\\Dispatcher->dispatch()
#23 /home/jitendra/www/html/laravel/bagisto/packages/Webkul/Product/src/Http/Controllers/ProductController.php(164): Illuminate\\Support\\Facades\\Facade::__callStatic()
#24 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): Webkul\\Product\\Http\\Controllers\\ProductController->update()
#25 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction()
#26 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Route.php(268): Illuminate\\Routing\\ControllerDispatcher->dispatch()
#27 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\\Routing\\Route->runController()
#28 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Router.php(725): Illuminate\\Routing\\Route->run()
#29 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()
#30 /home/jitendra/www/html/laravel/bagisto/packages/Webkul/User/src/Http/Middleware/Bouncer.php(45): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#31 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Webkul\\User\\Http\\Middleware\\Bouncer->handle()
#32 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#33 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()
#34 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#35 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle()
#36 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#37 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle()
#38 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#39 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()
#40 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle()
#41 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#42 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()
#43 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#44 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()
#45 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#46 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Router.php(726): Illuminate\\Pipeline\\Pipeline->then()
#47 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Router.php(703): Illuminate\\Routing\\Router->runRouteWithinStack()
#48 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Router.php(667): Illuminate\\Routing\\Router->runRoute()
#49 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Router.php(656): Illuminate\\Routing\\Router->dispatchToRoute()
#50 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167): Illuminate\\Routing\\Router->dispatch()
#51 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()
#52 /home/jitendra/www/html/laravel/bagisto/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#53 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Barryvdh\\Debugbar\\Middleware\\InjectDebugbar->handle()
#54 /home/jitendra/www/html/laravel/bagisto/packages/Webkul/Core/src/Http/Middleware/SecureHeaders.php(30): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#55 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Webkul\\Core\\Http\\Middleware\\SecureHeaders->handle()
#56 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#57 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#58 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()
#59 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#60 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle()
#61 /home/jitendra/www/html/laravel/bagisto/packages/Webkul/Core/src/Http/Middleware/CheckForMaintenanceMode.php(105): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#62 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Webkul\\Core\\Http\\Middleware\\CheckForMaintenanceMode->handle()
#63 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#64 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\HandleCors->handle()
#65 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#66 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\TrustProxies->handle()
#67 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#68 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then()
#69 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#70 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(984): Illuminate\\Foundation\\Http\\Kernel->handle()
#71 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/module-laravel/src/Codeception/Lib/Connector/Laravel.php(113): Illuminate\\Foundation\\Application->handle()
#72 /home/jitendra/www/html/laravel/bagisto/vendor/symfony/browser-kit/AbstractBrowser.php(370): Codeception\\Lib\\Connector\\Laravel->doRequest()
#73 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/lib-innerbrowser/src/Codeception/Lib/InnerBrowser.php(243): Symfony\\Component\\BrowserKit\\AbstractBrowser->request()
#74 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/lib-innerbrowser/src/Codeception/Lib/InnerBrowser.php(937): Codeception\\Lib\\InnerBrowser->clientRequest()
#75 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/lib-innerbrowser/src/Codeception/Lib/InnerBrowser.php(487): Codeception\\Lib\\InnerBrowser->proceedSubmitForm()
#76 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/lib-innerbrowser/src/Codeception/Lib/InnerBrowser.php(418): Codeception\\Lib\\InnerBrowser->clickButton()
#77 [internal function]: Codeception\\Lib\\InnerBrowser->click()
#78 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Step.php(273): call_user_func_array()
#79 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Scenario.php(75): Codeception\\Step->run()
#80 /home/jitendra/www/html/laravel/bagisto/tests/_support/_generated/FunctionalTesterActions.php(1877): Codeception\\Scenario->runStep()
#81 /home/jitendra/www/html/laravel/bagisto/tests/functional/Admin/Catalog/ProductCest.php(118): FunctionalTester->click()
#82 [internal function]: Tests\\Functional\\Admin\\Catalog\\ProductCest->selectEmptyAttributeOptionOnProductCreation()
#83 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs()
#84 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Test/Cest.php(175): Codeception\\Lib\\Di->injectDependencies()
#85 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Test/Cest.php(191): Codeception\\Test\\Cest->invoke()
#86 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Test/Cest.php(120): Codeception\\Test\\Cest->executeTestMethod()
#87 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Test/Test.php(172): Codeception\\Test\\Cest->test()
#88 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Suite.php(132): Codeception\\Test\\Test->realRun()
#89 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/SuiteManager.php(148): Codeception\\Suite->run()
#90 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\\SuiteManager->run()
#91 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\\Codecept->runSuite()
#92 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Command/Run.php(444): Codeception\\Codecept->run()
#93 /home/jitendra/www/html/laravel/bagisto/vendor/symfony/console/Command/Command.php(308): Codeception\\Command\\Run->execute()
#94 /home/jitendra/www/html/laravel/bagisto/vendor/symfony/console/Application.php(998): Symfony\\Component\\Console\\Command\\Command->run()
#95 /home/jitendra/www/html/laravel/bagisto/vendor/symfony/console/Application.php(299): Symfony\\Component\\Console\\Application->doRunCommand()
#96 /home/jitendra/www/html/laravel/bagisto/vendor/symfony/console/Application.php(171): Symfony\\Component\\Console\\Application->doRun()
#97 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\\Component\\Console\\Application->run()
#98 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/app.php(45): Codeception\\Application->run()
#99 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/app.php(46): {closure}()
#100 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/codecept(7): require('...')
#101 /home/jitendra/www/html/laravel/bagisto/vendor/bin/codecept(117): include('...')
#102 {main}
[previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'regular_min_price' cannot be null at /home/jitendra/www/html/laravel/bagisto/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117)
[stacktrace]
#0 /home/jitendra/www/html/laravel/bagisto/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(117): PDOStatement->execute()
#1 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Connection.php(544): Doctrine\\DBAL\\Driver\\PDOStatement->execute()
#2 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Connection.php(752): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}()
#3 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Connection.php(719): Illuminate\\Database\\Connection->runQueryCallback()
#4 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Connection.php(545): Illuminate\\Database\\Connection->run()
#5 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Connection.php(497): Illuminate\\Database\\Connection->statement()
#6 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/Processor.php(32): Illuminate\\Database\\Connection->insert()
#7 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3246): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId()
#8 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1834): Illuminate\\Database\\Query\\Builder->insertGetId()
#9 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1220): Illuminate\\Database\\Eloquent\\Builder->__call()
#10 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1185): Illuminate\\Database\\Eloquent\\Model->insertAndSetId()
#11 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1026): Illuminate\\Database\\Eloquent\\Model->performInsert()
#12 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(568): Illuminate\\Database\\Eloquent\\Model->save()
#13 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Support/helpers.php(302): Illuminate\\Database\\Eloquent\\Builder->Illuminate\\Database\\Eloquent\\{closure}()
#14 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(569): tap()
#15 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): Illuminate\\Database\\Eloquent\\Builder->updateOrCreate()
#16 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2176): Illuminate\\Database\\Eloquent\\Model->forwardCallTo()
#17 /home/jitendra/www/html/laravel/bagisto/vendor/prettus/l5-repository/src/Prettus/Repository/Eloquent/BaseRepository.php(734): Illuminate\\Database\\Eloquent\\Model->__call()
#18 /home/jitendra/www/html/laravel/bagisto/packages/Webkul/Product/src/Helpers/PriceIndexer.php(41): Prettus\\Repository\\Eloquent\\BaseRepository->updateOrCreate()
#19 /home/jitendra/www/html/laravel/bagisto/packages/Webkul/Product/src/Listeners/Product.php(83): Webkul\\Product\\Helpers\\PriceIndexer->refresh()
#20 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(441): Webkul\\Product\\Listeners\\Product->reIndexPrice()
#21 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(249): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}()
#22 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(337): Illuminate\\Events\\Dispatcher->dispatch()
#23 /home/jitendra/www/html/laravel/bagisto/packages/Webkul/Product/src/Http/Controllers/ProductController.php(164): Illuminate\\Support\\Facades\\Facade::__callStatic()
#24 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): Webkul\\Product\\Http\\Controllers\\ProductController->update()
#25 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction()
#26 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Route.php(268): Illuminate\\Routing\\ControllerDispatcher->dispatch()
#27 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\\Routing\\Route->runController()
#28 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Router.php(725): Illuminate\\Routing\\Route->run()
#29 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()
#30 /home/jitendra/www/html/laravel/bagisto/packages/Webkul/User/src/Http/Middleware/Bouncer.php(45): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#31 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Webkul\\User\\Http\\Middleware\\Bouncer->handle()
#32 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#33 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()
#34 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#35 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle()
#36 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#37 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle()
#38 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#39 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()
#40 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle()
#41 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#42 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()
#43 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#44 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()
#45 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#46 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Router.php(726): Illuminate\\Pipeline\\Pipeline->then()
#47 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Router.php(703): Illuminate\\Routing\\Router->runRouteWithinStack()
#48 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Router.php(667): Illuminate\\Routing\\Router->runRoute()
#49 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Routing/Router.php(656): Illuminate\\Routing\\Router->dispatchToRoute()
#50 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167): Illuminate\\Routing\\Router->dispatch()
#51 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()
#52 /home/jitendra/www/html/laravel/bagisto/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#53 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Barryvdh\\Debugbar\\Middleware\\InjectDebugbar->handle()
#54 /home/jitendra/www/html/laravel/bagisto/packages/Webkul/Core/src/Http/Middleware/SecureHeaders.php(30): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#55 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Webkul\\Core\\Http\\Middleware\\SecureHeaders->handle()
#56 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#57 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#58 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()
#59 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#60 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle()
#61 /home/jitendra/www/html/laravel/bagisto/packages/Webkul/Core/src/Http/Middleware/CheckForMaintenanceMode.php(105): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#62 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Webkul\\Core\\Http\\Middleware\\CheckForMaintenanceMode->handle()
#63 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#64 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\HandleCors->handle()
#65 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#66 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\TrustProxies->handle()
#67 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#68 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then()
#69 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#70 /home/jitendra/www/html/laravel/bagisto/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(984): Illuminate\\Foundation\\Http\\Kernel->handle()
#71 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/module-laravel/src/Codeception/Lib/Connector/Laravel.php(113): Illuminate\\Foundation\\Application->handle()
#72 /home/jitendra/www/html/laravel/bagisto/vendor/symfony/browser-kit/AbstractBrowser.php(370): Codeception\\Lib\\Connector\\Laravel->doRequest()
#73 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/lib-innerbrowser/src/Codeception/Lib/InnerBrowser.php(243): Symfony\\Component\\BrowserKit\\AbstractBrowser->request()
#74 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/lib-innerbrowser/src/Codeception/Lib/InnerBrowser.php(937): Codeception\\Lib\\InnerBrowser->clientRequest()
#75 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/lib-innerbrowser/src/Codeception/Lib/InnerBrowser.php(487): Codeception\\Lib\\InnerBrowser->proceedSubmitForm()
#76 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/lib-innerbrowser/src/Codeception/Lib/InnerBrowser.php(418): Codeception\\Lib\\InnerBrowser->clickButton()
#77 [internal function]: Codeception\\Lib\\InnerBrowser->click()
#78 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Step.php(273): call_user_func_array()
#79 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Scenario.php(75): Codeception\\Step->run()
#80 /home/jitendra/www/html/laravel/bagisto/tests/_support/_generated/FunctionalTesterActions.php(1877): Codeception\\Scenario->runStep()
#81 /home/jitendra/www/html/laravel/bagisto/tests/functional/Admin/Catalog/ProductCest.php(118): FunctionalTester->click()
#82 [internal function]: Tests\\Functional\\Admin\\Catalog\\ProductCest->selectEmptyAttributeOptionOnProductCreation()
#83 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs()
#84 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Test/Cest.php(175): Codeception\\Lib\\Di->injectDependencies()
#85 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Test/Cest.php(191): Codeception\\Test\\Cest->invoke()
#86 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Test/Cest.php(120): Codeception\\Test\\Cest->executeTestMethod()
#87 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Test/Test.php(172): Codeception\\Test\\Cest->test()
#88 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Suite.php(132): Codeception\\Test\\Test->realRun()
#89 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/SuiteManager.php(148): Codeception\\Suite->run()
#90 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\\SuiteManager->run()
#91 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\\Codecept->runSuite()
#92 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Command/Run.php(444): Codeception\\Codecept->run()
#93 /home/jitendra/www/html/laravel/bagisto/vendor/symfony/console/Command/Command.php(308): Codeception\\Command\\Run->execute()
#94 /home/jitendra/www/html/laravel/bagisto/vendor/symfony/console/Application.php(998): Symfony\\Component\\Console\\Command\\Command->run()
#95 /home/jitendra/www/html/laravel/bagisto/vendor/symfony/console/Application.php(299): Symfony\\Component\\Console\\Application->doRunCommand()
#96 /home/jitendra/www/html/laravel/bagisto/vendor/symfony/console/Application.php(171): Symfony\\Component\\Console\\Application->doRun()
#97 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\\Component\\Console\\Application->run()
#98 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/app.php(45): Codeception\\Application->run()
#99 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/app.php(46): {closure}()
#100 /home/jitendra/www/html/laravel/bagisto/vendor/codeception/codeception/codecept(7): require('...')
#101 /home/jitendra/www/html/laravel/bagisto/vendor/bin/codecept(117): include('...')
#102 {main}
"}