Whenever i try to run npm run production and npm run watch in pacakages/webkul/admin, packages/webkul/ui and packages/webkul/shop, The following error occurs.How to solve it
Undefined variable $__env (View: /var/www/html/public) (View: /var/www/html/resources/themes/velocity/views/home/index.blade.php)
Gon an issue error at mini-cart.php
reyadek last edited by
im new in bagisto after install and set all configuration bagisto, i got error after "add to cart"
"Trying to get property 'type' of non-object (View: /Users/adeputra/Sites/wkwk/resources/themes/wkwk/views/checkout/cart/mini-cart.blade.php)
How to resolve that?
Jyoti last edited by
This issue has been fixed in our latest release. Please take a pull
nessuno last edited by
@Jyoti I am facing the same issue on 1.2 at create shipment blade, any advise please ? thank you.
Vaishali Agarwal last edited by
have you done any customization on your code?
nessuno last edited by nessuno
Hi @Vaishali-Agarwal thanks for your answer !
Yes, lots of customisation
I've fixed the problem but you might want check this perhaps:
When creating a shipment, admin dash
the blade packages/Webkul/Admin/src/Resources/views/sales/shipments/create.blade.php
Please look for this line:
$sourceQty = $product->type == 'bundle' ? $item->qty_ordered : $product->inventory_source_qty($inventorySource->id);
( around line 310 )
When creating a shipment for a product variant that no longer exists
( client deleted a configurable product variant before invoice or shipment )
it will fall into this.
I have worked around by simply ( is !isset - and if so, default to a qty so client can ship but it triggers an email ) ...