A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: models/MainModel.php

Line Number: 5344

Backtrace:

File: /var/www/html/application/models/MainModel.php
Line: 5344
Function: _error_handler

File: /var/www/html/application/controllers/main/MainController.php
Line: 5239
Function: get_products_by_id

File: /var/www/html/index.php
Line: 321
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: models/MainModel.php

Line Number: 5345

Backtrace:

File: /var/www/html/application/models/MainModel.php
Line: 5345
Function: _error_handler

File: /var/www/html/application/controllers/main/MainController.php
Line: 5239
Function: get_products_by_id

File: /var/www/html/index.php
Line: 321
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: models/MainModel.php

Line Number: 5346

Backtrace:

File: /var/www/html/application/models/MainModel.php
Line: 5346
Function: _error_handler

File: /var/www/html/application/controllers/main/MainController.php
Line: 5239
Function: get_products_by_id

File: /var/www/html/index.php
Line: 321
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: varient_set_id

Filename: main/MainController.php

Line Number: 5267

Backtrace:

File: /var/www/html/application/controllers/main/MainController.php
Line: 5267
Function: _error_handler

File: /var/www/html/index.php
Line: 321
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: product_id

Filename: main/MainController.php

Line Number: 5267

Backtrace:

File: /var/www/html/application/controllers/main/MainController.php
Line: 5267
Function: _error_handler

File: /var/www/html/index.php
Line: 321
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: vendor_id

Filename: main/MainController.php

Line Number: 5267

Backtrace:

File: /var/www/html/application/controllers/main/MainController.php
Line: 5267
Function: _error_handler

File: /var/www/html/index.php
Line: 321
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: models/ApiModel.php

Line Number: 6533

Backtrace:

File: /var/www/html/application/models/ApiModel.php
Line: 6533
Function: _error_handler

File: /var/www/html/application/controllers/main/MainController.php
Line: 5267
Function: get_product_varients

File: /var/www/html/index.php
Line: 321
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /var/www/html/application/models/ApiModel.php
Line: 6569
Function: get

File: /var/www/html/application/controllers/main/MainController.php
Line: 5267
Function: get_product_varients

File: /var/www/html/index.php
Line: 321
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1146

Table 'masalakada.masalakada_product_varient_' doesn't exist

SELECT `masalakada_product_varient_`.`id` as `var_id`, `stock_id`, `masalakada_product_varients_name`.`varient_name`, `mrp`, `selling_price`, `off`.`offer_id`, `off`.`offer_status`, `off`.`amazing_status`, `off`.`usable_count`, `off`.`discount_type`, `off`.`offer_discount`, DATE(CONVERT_TZ(FROM_UNIXTIME(off.offer_start), "+00:00", "+5:30")) as offer_start_date, DATE(CONVERT_TZ(FROM_UNIXTIME(off.offer_expiry), "+00:00", "+5:30")) as offer_end_date, `tag`.`offer_id` as `tag_id`, `tag`.`offer_status` as `tag_status`, `tag`.`amazing_status` as `tag_amz_status`, `tag`.`usable_count` as `tag_usable_count`, `tag`.`discount_type` as `tag_type`, `tag`.`offer_discount` as `tag_discount`, DATE(CONVERT_TZ(FROM_UNIXTIME(tag.offer_start), "+00:00", "+5:30")) as tag_start_date, DATE(CONVERT_TZ(FROM_UNIXTIME(tag.offer_expiry), "+00:00", "+5:30")) as tag_end_date, `special_price`, `special_price_start`, `special_price_end`, `masalakada_vendor_stock_products`.`vendor_id`, IFNULL((select SUM(masalakada_cart_details.item_quantity) from masalakada_cart_details left join masalakada_cart on masalakada_cart.cart_id=masalakada_cart_details.cart_id where masalakada_cart_details.stock_id=masalakada_vendor_stock_products.stock_id and masalakada_cart.customer_id=0 group by masalakada_cart_details.stock_id ), 0) as user_qty, IFNULL((select SUM(masalakada_wishlist_details.item_quantity) from masalakada_wishlist_details left join masalakada_wishlist on masalakada_wishlist.wishlist_id=masalakada_wishlist_details.wishlist_id where masalakada_wishlist_details.stock_id=masalakada_vendor_stock_products.stock_id and masalakada_wishlist.customer_id=0 group by masalakada_wishlist_details.stock_id ), 0) as wishlist_status, IFNULL((select COUNT(masalakada_order_details.amazing_offer_id) from masalakada_order_details left join masalakada_orders on masalakada_orders.order_id=masalakada_order_details.order_id where masalakada_orders.customer_id=0 and masalakada_order_details.stock_id=masalakada_vendor_stock_products.stock_id group by masalakada_order_details.stock_id ), 0) as used_offer_count, `masalakada_vendor_stock_products`.`reward_points` FROM `masalakada_product_varient_` LEFT JOIN `masalakada_products` ON `masalakada_products`.`product_id`=`masalakada_product_varient_`.`product_id` LEFT JOIN `masalakada_vendor_stock_products` ON `masalakada_vendor_stock_products`.`varient_id`=`masalakada_product_varient_`.`id` LEFT JOIN `masalakada_product_varients_name` ON `masalakada_product_varients_name`.`product_varient_id`=`masalakada_vendor_stock_products`.`varient_id` and `masalakada_product_varients_name`.`product_id`=`masalakada_vendor_stock_products`.`product_id` LEFT JOIN `masalakada_offers` as `off` ON `off`.`offer_id`=`masalakada_vendor_stock_products`.`offer_id` LEFT JOIN `masalakada_offers` as `tag` ON `tag`.`offer_id`=`masalakada_products`.`tag_id` WHERE `masalakada_product_varient_`.`product_id` IS NULL AND `masalakada_vendor_stock_products`.`product_id` IS NULL AND `masalakada_products`.`product_status` = 1 AND `masalakada_vendor_stock_products`.`stock_status` = 1 ORDER BY masalakada_vendor_stock_products.stock_id = '860' DESC

Filename: models/ApiModel.php

Line Number: 6569