Sunfeast Moms Magic Rich Butter

We Are Finding Best Offers For You !

Speak Now...

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: saved_cart_items

Filename: product/product_detail.php

Line Number: 201

Backtrace:

File: /home/modernba/public_html/application/views/product/product_detail.php
Line: 201
Function: _error_handler

File: /home/modernba/public_html/application/controllers/Product.php
Line: 414
Function: view

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: saved_cartb_items

Filename: product/product_detail.php

Line Number: 201

Backtrace:

File: /home/modernba/public_html/application/views/product/product_detail.php
Line: 201
Function: _error_handler

File: /home/modernba/public_html/application/controllers/Product.php
Line: 414
Function: view

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: helpers/cart_helper.php

Line Number: 1786

Backtrace:

File: /home/modernba/public_html/application/helpers/cart_helper.php
Line: 1786
Function: _error_handler

File: /home/modernba/public_html/application/views/itemcart/sidecart.php
Line: 2
Function: update_cart

File: /home/modernba/public_html/application/views/product/product_detail.php
Line: 201
Function: view

File: /home/modernba/public_html/application/controllers/Product.php
Line: 414
Function: view

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

 

A PHP Error was encountered

Severity: Notice

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

Filename: includes/footer.php

Line Number: 971

Backtrace:

File: /home/modernba/public_html/application/views/includes/footer.php
Line: 971
Function: _error_handler

File: /home/modernba/public_html/application/views/product/product_detail.php
Line: 976
Function: view

File: /home/modernba/public_html/application/controllers/Product.php
Line: 414
Function: view

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

var PRODUCT_IMAGE_URL = ASSETS_URL1+'uploads/product/'; var PRODUCT_IMAGE_PLACEHOLDER_URL = PRODUCT_IMAGE_URL+'product_placeholder.png'; function imgError(obj){ $(obj).attr('src', PRODUCT_IMAGE_URL+'product_placeholder.png'); } /*For product listing page*/ $(document).on("change", ".pro-var", function(){ var pathname = location.pathname; var arr = pathname.split('/'); var arrlen = arr.length-1; var th = $(this); var weight_id = $(this).val(); // console.log(arr[2]); // console.log(weight_id); $(this).parents().parents().eq(1).find('.hidden_content').find('input[name="weight_id"]').val(weight_id); var product_id = $(this).parents().parents().eq(1).find('.hidden_content').find('input[name="product_id"]').val(); if(weight_id != '' && product_id != ''){ $.ajax({ type : "POST", url : "https://www.modernbazaar.online/category/get_product_weight_data", data : "product_id="+product_id+"&weight_id="+weight_id+"&type=listing", async :'false', dataType:'json', beforeSend: function (response) { $(th).parents('.favourite_div').find('.best_seller_price').html(''); var loader = ""; $(th).parents('.favourite_div').find('.best_seller_price').append(loader); }, success : function(res) { console.log(res); var str = ''; var discount = ''; // console.log(res['status']); if(res['status'] == 'success') { /*Offer section*/ var offer_obj = $(th).parents('.favourite_div'); var upto_limit_msg = ''; var get_offer_limit = ''; if(res['get_offer_limit']>0){ get_offer_limit = res['get_offer_limit']; if(get_offer_limit>0){ upto_limit_msg+= res['offers_data']['discount_title']; upto_limit_msg+= "
Offer is applicable upto "+get_offer_limit+" unit"; $('.information').html(upto_limit_msg); } $('#get_offer_img').show(); // to show image }else{ $('#get_offer_img').hide(); // to hide image $(".information").html(''); } if(res['offers_data']['offers_type']=='offer') { var offer_str = ''; var free_offer_str = ''; var offer_price = res["price"]; if(offer_price<0){offer_price=0;} offer_price = parseFloat(offer_price).toFixed(2); offer_price = offer_price.split('.'); offer_str += '

'; offer_str += ''; offer_str += ''+offer_price[0]+'.'+offer_price[1]; offer_str +='

'; $(offer_obj).find('.best_seller_price').html(offer_str); free_offer_str += '
'; free_offer_str += '
'; free_offer_str += ''; free_offer_str += ''; free_offer_str += ''; free_offer_str += '
'; free_offer_str += '

'+res['offers_data']['offer_title']+'

'; $(res['offers_data']['free_products']).each(function(index,free_products){ free_offer_str += '

'+free_products['product_name']+'

'; }); free_offer_str += '
'; free_offer_str += '
'; free_offer_str += '
'; free_offer_str += '
'; free_offer_str += '
'; $(offer_obj).find('.all_offer_div').html(free_offer_str); } else if(res['offers_data']['offers_type']=='special_price') { // alert(res['offers_data']['offers_type']); var sp_cut_price = res["price"]; if(sp_cut_price<0){sp_cut_price=0;} sp_cut_price = parseFloat(sp_cut_price).toFixed(2); sp_cut_price = sp_cut_price.split('.'); var sp_price = res["product_s_price"]; if(sp_price<0){sp_price=0;} sp_price = parseFloat(sp_price).toFixed(2); sp_price = sp_price.split('.'); var special_price = ''; special_price += '

'; special_price += ' '+sp_price[0]+'.'+sp_price[1]; special_price += ' '+sp_cut_price[0]+'.'+sp_cut_price[1]+''; //special_price += 'Special Price'; special_price += '

'; $(offer_obj).find('.all_offer_div').html(''); $(offer_obj).find('.best_seller_price').html(special_price); $(offer_obj).find('.all_offer_div').html('

Special Price

'); } else if(res['offers_data']['offers_type']=='discount') { var discount_str = ''; var discounted_amt = ''; discount_str += '

'; if(res['offers_data']['discount_type']=='percentage') { var discountable_amt = (res["price"]*res['offers_data']['discount'])/100; discounted_amt = res["price"]-discountable_amt; if(discounted_amt<0){discounted_amt=0;} discounted_amt = parseFloat(discounted_amt).toFixed(2); discounted_amt = discounted_amt.split('.'); $(offer_obj).find('.all_offer_div').html('

'+res['offers_data']['discount']+'%

'); } else if(res['offers_data']['discount_type']=='flat') { discounted_amt = (res["price"]-res['offers_data']['discount']); if(discounted_amt<0){discounted_amt=0;} discounted_amt = parseFloat(discounted_amt).toFixed(2); discounted_amt = discounted_amt.split('.'); $(offer_obj).find('.all_offer_div').html('

'+res['offers_data']['discount']+'

'); } discount_str += ' '+discounted_amt[0]+'.'+discounted_amt[1]; discount_str += ' '+res["price"]+''; discount_str += '

'; $(offer_obj).find('.best_seller_price').html(discount_str); } else { var normal_price = res["price"]; if(normal_price<0){normal_price=0;} normal_price = parseFloat(normal_price).toFixed(2); normal_price = normal_price.split('.'); var normal_str = ''; normal_str += '

'; normal_str += ''; normal_str += ' '+normal_price[0]+'.'+normal_price[1]; normal_str +='

'; $(offer_obj).find('.best_seller_price').html(normal_str); $(offer_obj).find('.all_offer_div').html(''); } /*Offer section*/ /*wishlist section*/ var wishlist_str = ''; if(res['wishlist']==1) { var wishlist_str = ''; } $(offer_obj).find('.favourite_logo').html(wishlist_str); /*wishlist section*/ if(res['variant_img'] != '' && res['variant_img'] != null) { th.parents().parents().eq(1).find('.best_seller_img a img').attr( 'src', PRODUCT_IMAGE_URL+res['variant_img']); } else{ var oldSrc = PRODUCT_IMAGE_PLACEHOLDER_URL; th.parents().parents().eq(1).find('.best_seller_img a img').attr( 'src', oldSrc); } /*Changing cart and plus minus button*/ if(res['is_in_stock'] == 'yes') { if(res['in_cart_quantity'] != '' || res['in_cart_quantity'] != 0 ){ th.parents().parents().eq(1).find('.add_btn_container').find('.update_cart').removeClass('hide').attr('',); th.parents().parents().eq(1).find('.add_btn_container').find('.update_cart').find('.item_cart_qnty_down').attr('data-weightid',weight_id); th.parents().parents().eq(1).find('.add_btn_container').find('.update_cart').find('.item_cart_qnty_up').attr('data-weightid',weight_id); th.parents().parents().eq(1).find('.add_btn_container').find('.update_cart').removeClass('hide').attr('',); th.parents().parents().eq(1).find('.add_btn_container').find('.add_cart_add').addClass('hide'); th.parents().parents().eq(1).find('.add_btn_container').find('.update_cart').find('input[name="qnty"]').val(res['in_cart_quantity']); }else{ th.parents().parents().eq(1).find('.hidden_content').find('input[name="weight_id"]').val(weight_id); th.parents().parents().eq(1).find('.add_btn_container').find('.update_cart').addClass('hide'); th.parents().parents().eq(1).find('.add_btn_container').find('.add_cart_add').removeClass('hide'); } th.parents().parents().eq(1).find('.add_btn_container').find('.outofstock').addClass('hide'); } else if(res['is_in_stock'] == 'no'){ th.parents().parents().eq(1).find('.add_btn_container').find('.add_cart_add').addClass('hide'); th.parents().parents().eq(1).find('.add_btn_container').find('.update_cart').addClass('hide'); th.parents().parents().eq(1).find('.add_btn_container').find('.outofstock').removeClass('hide'); } /*Updating quantity in hidden field*/ th.parents().parents().eq(1).find('.hidden_content').find('input[name="quantity"]').val(res['in_cart_quantity']); /*End of Changing cart and plus minus button*/ } else if(res['status'] == 'noStore') { $("#locationModal").modal('show'); } else if(res['status'] == 'error'){ alert("Soemthing went wrong!") } } }); } }); /*For product details page*/ /*For product details page*/ $(document).on("change", ".pro-var-detail", function(){ var pathname = location.pathname; var arr = pathname.split('/'); var arrlen = arr.length-1; var th = $(this); var weight_id = $(this).val(); // console.log(arr[2]); // console.log(location); $(this).parents().parents().eq(1).find('.hidden_content').find('input[name="weight_id"]').val(weight_id); var product_id = $(this).parents().parents().eq(1).find('.hidden_content').find('input[name="product_id"]').val(); if(weight_id != '' && product_id != ''){ $.ajax({ type : "POST", url : "https://www.modernbazaar.online/category/get_product_weight_data", data : "product_id="+product_id+"&weight_id="+weight_id+"&type=detail", async :'false', dataType:'json', beforeSend: function (response) { $(th).parents('.product_desc').find('.product_price').html(''); var loader = ""; $(th).parents('.product_desc').find('.product_price').append(loader); }, success : function(res) { // console.log(res); var str = ''; var discount = ''; if(res['status'] == 'success') { /*Offer section*/ var offer_obj = $(th).parents('.product_desc'); $(offer_obj).find('.free_offer_div_item_listing').html(''); var upto_limit_msg = ''; var get_offer_limit = ''; if(res['get_offer_limit']>0){ get_offer_limit = res['get_offer_limit']; if(get_offer_limit>0){ upto_limit_msg+= res['offers_data']['discount_title']; upto_limit_msg+= "
Offer is applicable upto "+get_offer_limit+" unit"; $('.information').html(upto_limit_msg); } $('#get_offer_img').show(); // to show image }else{ $('#get_offer_img').hide(); // to hide image $(".information").html(''); } if(res['offers_data']['offers_type']=='offer') { var offer_str = ''; var free_offer_str = ''; var free_offer_str_prducts = ''; var offer_price = res["price"]; if(offer_price<0){offer_price=0;} offer_price = parseFloat(offer_price).toFixed(2); offer_price = offer_price.split('.'); offer_str += '

'; offer_str += ''; offer_str += ' '+offer_price[0]+'.'+offer_price[1]; offer_str += '

'; $(offer_obj).find('.product_price').html(offer_str); free_offer_str += '
'; free_offer_str += ''; free_offer_str += '
'; $(offer_obj).find('.all_offer_div').html(free_offer_str); free_offer_str_prducts += '
'; free_offer_str_prducts += '
'; if(res['image']!=null && res['image']!='') { free_offer_str_prducts += ''; } else if(res['product_image']!=null && res['product_image']!='') { free_offer_str_prducts += ''; } else { free_offer_str_prducts += ''; } free_offer_str_prducts += '
'; free_offer_str_prducts += '
'; free_offer_str_prducts += '

'+res['product_name']+' ('+res['product_pec_weight']+')

'; free_offer_str_prducts += '
'; free_offer_str_prducts += '
'; free_offer_str_prducts += '

Qty: '+res['offers_data']['buy_item_quantity']+'

'; free_offer_str_prducts += '
'; free_offer_str_prducts += '
'; free_offer_str_prducts += '

'; free_offer_str_prducts +=''+res['price']+'

'; free_offer_str_prducts += '
'; free_offer_str_prducts += '
'; var free_qnty = res['offers_data']['free_item_quantity']; free_qnty = free_qnty.split(','); $(res['offers_data']['free_products']).each(function(index,free_products){ free_offer_str_prducts += '
'; free_offer_str_prducts += '
'; if(free_products['image']!=null && free_products['image']!='' ) { free_offer_str_prducts += ''; } else if(free_products['product_image']!=null && free_products['product_image']!='' ) { free_offer_str_prducts += ''; } else { free_offer_str_prducts += ''; } free_offer_str_prducts += '
'; free_offer_str_prducts += '
'; free_offer_str_prducts += '

'+free_products['product_name']+' ('+free_products['product_pec_weight']+')

'; free_offer_str_prducts += '
'; free_offer_str_prducts += '
'; free_offer_str_prducts += '

Qty: '+free_qnty[index]+'

'; free_offer_str_prducts += '
'; free_offer_str_prducts += '
'; free_offer_str_prducts += '

Free

'; free_offer_str_prducts += '
'; free_offer_str_prducts += '
'; }); $(offer_obj).find('.free_offer_div_item_listing').html(free_offer_str_prducts); } else if(res['offers_data']['offers_type']=='special_price') { // alert(res['offers_data']['offers_type']); var special_price_amt = res["product_s_price"]; special_price_amt = parseFloat(special_price_amt).toFixed(2); if(isNaN(special_price_amt)){special_price_amt=0;} special_price_amt = special_price_amt.split('.'); var special_price = ''; special_price += '

'; special_price += ' '+special_price_amt[0]+'.'+special_price_amt[1]; var cut_price = res["price"]; cut_price = parseFloat(cut_price).toFixed(2); if(isNaN(cut_price)){cut_price=0;} cut_price = cut_price.split('.'); special_price += ' '+cut_price[0]+'.'+cut_price[1]+''; // special_price += 'Special Price'; special_price += '

'; $(offer_obj).find('.product_price').html(special_price); $(offer_obj).find('.all_offer_div').html('

Special Price

'); } else if(res['offers_data']['offers_type']=='discount') { var discounted_amt = 0; var discount_str = ''; discount_str += '

'; if(res['offers_data']['discount_type']=='percentage') { var discountable_amt = (res["price"]*res['offers_data']['discount'])/100; discounted_amt = res["price"]-discountable_amt; if(discounted_amt<0){discounted_amt=0;} discounted_amt = parseFloat(discounted_amt).toFixed(2); discounted_amt = discounted_amt.split('.'); $(offer_obj).find('.all_offer_div').html('

'+res['offers_data']['discount']+'%

'); } else if(res['offers_data']['discount_type']=='flat') { discounted_amt = (res["price"]-res['offers_data']['discount']); if(discounted_amt<0){discounted_amt=0;} discounted_amt = parseFloat(discounted_amt).toFixed(2); discounted_amt = discounted_amt.split('.'); $(offer_obj).find('.all_offer_div').html('

'+res['offers_data']['discount']+'

'); } discount_str += ' '+discounted_amt[0]+'.'+discounted_amt[1]; var cut_price = res["price"]; cut_price = parseFloat(cut_price).toFixed(2); if(isNaN(cut_price)){cut_price=0;} cut_price = cut_price.split('.'); discount_str += ' '+cut_price[0]+'.'+cut_price[1]+''; discount_str += '

'; // alert(discount_str) $(offer_obj).find('.product_price').html(discount_str); } else { var normal_str = ''; normal_str += '

'; normal_str += ''; var normal_price = res["price"]; normal_price = parseFloat(normal_price).toFixed(2); if(isNaN(normal_price)){normal_price=0;} normal_price = normal_price.split('.'); normal_str += ' '+normal_price[0]+'.'+normal_price[1]; normal_str +='

'; $(offer_obj).find('.product_price').html(normal_str); $(offer_obj).find('.all_offer_div').html(''); } /*Offer section*/ /*wishlist section*/ var wishlist_str = ''; if(res['wishlist']==1) { var wishlist_str = ''; } $(".product_view_top").find('.favourite_logo').html(wishlist_str); /*wishlist section*/ // th.parents().parents().eq(1).find('.product_price').html(str); $('.variant_des').text(res['description']); var galImage = ''; var productImage = ''; var zoomable_image = ''; if(res['variant_img'] != null && res['variant_img'] !='' && res['variant_img'][0].image != ''){ var newSrc = PRODUCT_IMAGE_URL+res['variant_img'][0].image; $('.img-'+product_id).attr( 'src',newSrc); $.each(res['variant_img'],function(i,val){ galImage += ''; }); productImage += ''; zoomable_image = PRODUCT_IMAGE_URL+res['variant_img'][0].image; } else{ var oldSrc = ''; if(res['product_image']!='' && res['product_image']!=null) { oldSrc = PRODUCT_IMAGE_URL+res['product_image']; $('.img-'+product_id).attr( 'src', oldSrc); galImage += ''; $(".img-"+product_id ).on('error',function() { $( ".img-"+product_id ).attr( "src", PRODUCT_IMAGE_PLACEHOLDER_URL ); }); productImage += ''; zoomable_image = oldSrc; } else { oldSrc = PRODUCT_IMAGE_PLACEHOLDER_URL; $('.img-'+product_id).attr( 'src', oldSrc); galImage += ''; productImage += ''; zoomable_image = oldSrc; } } $(".show").html(productImage); $(".show").attr('href',zoomable_image); $("#small-img-roll").html(galImage); if(res['variant_img']!='') { th.parents().parents().eq(1).find('.best_seller_img a img').attr( 'src',res['variant_img']); } else{ var oldSrc = PRODUCT_IMAGE_PLACEHOLDER_URL; th.parents().parents().eq(1).find('.best_seller_img a img').attr( 'src', oldSrc ); } /*Changing cart and plus minus button*/ if(res['is_in_stock'] == 'yes') { if(res['in_cart_quantity'] != '' || res['in_cart_quantity'] != 0 ){ th.parents().parents().eq(1).find('.add_btn_container').find('.update_cart').removeClass('hide').attr('',); th.parents().parents().eq(1).find('.add_btn_container').find('.update_cart').find('.item_cart_qnty_down').attr('data-weightid',weight_id); th.parents().parents().eq(1).find('.add_btn_container').find('.update_cart').find('.item_cart_qnty_up').attr('data-weightid',weight_id); th.parents().parents().eq(1).find('.add_btn_container').find('.update_cart').removeClass('hide').attr('',); th.parents().parents().eq(1).find('.add_btn_container').find('.add_cart_add').addClass('hide'); th.parents().parents().eq(1).find('.add_btn_container').find('.update_cart').find('input[name="qnty"]').val(res['in_cart_quantity']); }else{ th.parents().parents().eq(1).find('.hidden_content').find('input[name="weight_id"]').val(weight_id); th.parents().parents().eq(1).find('.add_btn_container').find('.update_cart').addClass('hide'); th.parents().parents().eq(1).find('.add_btn_container').find('.add_cart_add').removeClass('hide'); } th.parents().parents().eq(1).find('.add_btn_container').find('.outofstock').addClass('hide'); }else if(res['is_in_stock'] == 'no'){ th.parents().parents().eq(1).find('.add_btn_container').find('.add_cart_add').addClass('hide'); th.parents().parents().eq(1).find('.add_btn_container').find('.update_cart').addClass('hide'); th.parents().parents().eq(1).find('.add_btn_container').find('.outofstock').removeClass('hide'); } /*Updating quantity in hidden field*/ th.parents().parents().eq(1).find('.hidden_content').find('input[name="quantity"]').val(res['in_cart_quantity']); /*End of Changing cart and plus minus button*/ /*Initialize image zoom*/ $('.show').zoomImage(); $('.show-small-img:first-of-type').css({'border': 'solid 1px #951b25', 'padding': '2px'}) $('.show-small-img:first-of-type').attr('alt', 'now').siblings().removeAttr('alt') $('.show-small-img').click(function () { $('#show-img').attr('src', $(this).attr('src')) $('#big-img').attr('src', $(this).attr('src')) $(this).attr('alt', 'now').siblings().removeAttr('alt') $(this).css({'border': 'solid 1px #951b25', 'padding': '2px'}).siblings().css({'border': 'none', 'padding': '0'}) if ($('#small-img-roll').children().length > 4) { if ($(this).index() >= 3 && $(this).index() < $('#small-img-roll').children().length - 1){ $('#small-img-roll').css('left', -($(this).index() - 2) * 76 + 'px') } else if ($(this).index() == $('#small-img-roll').children().length - 1) { $('#small-img-roll').css('left', -($('#small-img-roll').children().length - 4) * 76 + 'px') } else { $('#small-img-roll').css('left', '0') } } }); /*Initialize image zoom*/ } else if(res['status'] == 'noStore') { $("#locationModal").modal('show'); } else if(res['status'] == 'error'){ } } }); } });

A PHP Error was encountered

Severity: Warning

Message: ini_set(): A session is active. You cannot change the session module's ini settings at this time

Filename: Session/Session.php

Line Number: 281

Backtrace:

File: /home/modernba/public_html/application/controllers/Product.php
Line: 4
Function: __construct

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_set_cookie_params(): Cannot change session cookie parameters when session is active

Filename: Session/Session.php

Line Number: 293

Backtrace:

File: /home/modernba/public_html/application/controllers/Product.php
Line: 4
Function: __construct

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): A session is active. You cannot change the session module's ini settings at this time

Filename: Session/Session.php

Line Number: 303

Backtrace:

File: /home/modernba/public_html/application/controllers/Product.php
Line: 4
Function: __construct

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): A session is active. You cannot change the session module's ini settings at this time

Filename: Session/Session.php

Line Number: 313

Backtrace:

File: /home/modernba/public_html/application/controllers/Product.php
Line: 4
Function: __construct

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): A session is active. You cannot change the session module's ini settings at this time

Filename: Session/Session.php

Line Number: 314

Backtrace:

File: /home/modernba/public_html/application/controllers/Product.php
Line: 4
Function: __construct

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): A session is active. You cannot change the session module's ini settings at this time

Filename: Session/Session.php

Line Number: 315

Backtrace:

File: /home/modernba/public_html/application/controllers/Product.php
Line: 4
Function: __construct

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): A session is active. You cannot change the session module's ini settings at this time

Filename: Session/Session.php

Line Number: 316

Backtrace:

File: /home/modernba/public_html/application/controllers/Product.php
Line: 4
Function: __construct

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): A session is active. You cannot change the session module's ini settings at this time

Filename: drivers/Session_files_driver.php

Line Number: 94

Backtrace:

File: /home/modernba/public_html/application/controllers/Product.php
Line: 4
Function: __construct

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_set_save_handler(): Cannot change save handler when session is active

Filename: Session/Session.php

Line Number: 107

Backtrace:

File: /home/modernba/public_html/application/controllers/Product.php
Line: 4
Function: __construct

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: session_start(): A session had already been started - ignoring

Filename: Session/Session.php

Line Number: 140

Backtrace:

File: /home/modernba/public_html/application/controllers/Product.php
Line: 4
Function: __construct

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: explode() expects parameter 2 to be string, array given

Filename: database/DB_query_builder.php

Line Number: 1191

Backtrace:

File: /home/modernba/public_html/application/models/Search_model.php
Line: 1687
Function: order_by

File: /home/modernba/public_html/application/controllers/Product.php
Line: 42
Function: get_substitute_product

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: database/DB_query_builder.php

Line Number: 1191

Backtrace:

File: /home/modernba/public_html/application/models/Search_model.php
Line: 1687
Function: order_by

File: /home/modernba/public_html/application/controllers/Product.php
Line: 42
Function: get_substitute_product

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: helpers/modernbazaar_helper.php

Line Number: 4557

Backtrace:

File: /home/modernba/public_html/application/helpers/modernbazaar_helper.php
Line: 4557
Function: _error_handler

File: /home/modernba/public_html/application/controllers/Product.php
Line: 76
Function: get_offer

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: offer_data

Filename: controllers/Product.php

Line Number: 103

Backtrace:

File: /home/modernba/public_html/application/controllers/Product.php
Line: 103
Function: _error_handler

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: helpers/modernbazaar_helper.php

Line Number: 4557

Backtrace:

File: /home/modernba/public_html/application/helpers/modernbazaar_helper.php
Line: 4557
Function: _error_handler

File: /home/modernba/public_html/application/controllers/Product.php
Line: 76
Function: get_offer

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: offer_data

Filename: controllers/Product.php

Line Number: 103

Backtrace:

File: /home/modernba/public_html/application/controllers/Product.php
Line: 103
Function: _error_handler

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: helpers/modernbazaar_helper.php

Line Number: 4557

Backtrace:

File: /home/modernba/public_html/application/helpers/modernbazaar_helper.php
Line: 4557
Function: _error_handler

File: /home/modernba/public_html/application/controllers/Product.php
Line: 76
Function: get_offer

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: offer_data

Filename: controllers/Product.php

Line Number: 103

Backtrace:

File: /home/modernba/public_html/application/controllers/Product.php
Line: 103
Function: _error_handler

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: helpers/modernbazaar_helper.php

Line Number: 4557

Backtrace:

File: /home/modernba/public_html/application/helpers/modernbazaar_helper.php
Line: 4557
Function: _error_handler

File: /home/modernba/public_html/application/controllers/Product.php
Line: 76
Function: get_offer

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: offer_data

Filename: controllers/Product.php

Line Number: 103

Backtrace:

File: /home/modernba/public_html/application/controllers/Product.php
Line: 103
Function: _error_handler

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: helpers/modernbazaar_helper.php

Line Number: 4557

Backtrace:

File: /home/modernba/public_html/application/helpers/modernbazaar_helper.php
Line: 4557
Function: _error_handler

File: /home/modernba/public_html/application/controllers/Product.php
Line: 76
Function: get_offer

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: offer_data

Filename: controllers/Product.php

Line Number: 103

Backtrace:

File: /home/modernba/public_html/application/controllers/Product.php
Line: 103
Function: _error_handler

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: helpers/modernbazaar_helper.php

Line Number: 4557

Backtrace:

File: /home/modernba/public_html/application/helpers/modernbazaar_helper.php
Line: 4557
Function: _error_handler

File: /home/modernba/public_html/application/controllers/Product.php
Line: 76
Function: get_offer

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: offer_data

Filename: controllers/Product.php

Line Number: 103

Backtrace:

File: /home/modernba/public_html/application/controllers/Product.php
Line: 103
Function: _error_handler

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: helpers/modernbazaar_helper.php

Line Number: 4557

Backtrace:

File: /home/modernba/public_html/application/helpers/modernbazaar_helper.php
Line: 4557
Function: _error_handler

File: /home/modernba/public_html/application/controllers/Product.php
Line: 76
Function: get_offer

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: offer_data

Filename: controllers/Product.php

Line Number: 103

Backtrace:

File: /home/modernba/public_html/application/controllers/Product.php
Line: 103
Function: _error_handler

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: helpers/modernbazaar_helper.php

Line Number: 4557

Backtrace:

File: /home/modernba/public_html/application/helpers/modernbazaar_helper.php
Line: 4557
Function: _error_handler

File: /home/modernba/public_html/application/controllers/Product.php
Line: 132
Function: get_offer

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: offer_data

Filename: controllers/Product.php

Line Number: 160

Backtrace:

File: /home/modernba/public_html/application/controllers/Product.php
Line: 160
Function: _error_handler

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: added_cart_quantity

Filename: controllers/Product.php

Line Number: 214

Backtrace:

File: /home/modernba/public_html/application/controllers/Product.php
Line: 214
Function: _error_handler

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: explode() expects parameter 2 to be string, array given

Filename: database/DB_query_builder.php

Line Number: 1191

Backtrace:

File: /home/modernba/public_html/application/models/Search_model.php
Line: 1591
Function: order_by

File: /home/modernba/public_html/application/controllers/Product.php
Line: 268
Function: best_seller_products

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: database/DB_query_builder.php

Line Number: 1191

Backtrace:

File: /home/modernba/public_html/application/models/Search_model.php
Line: 1591
Function: order_by

File: /home/modernba/public_html/application/controllers/Product.php
Line: 268
Function: best_seller_products

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: controllers/Product.php

Line Number: 271

Backtrace:

File: /home/modernba/public_html/application/controllers/Product.php
Line: 271
Function: _error_handler

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: category_id

Filename: controllers/Product.php

Line Number: 408

Backtrace:

File: /home/modernba/public_html/application/controllers/Product.php
Line: 408
Function: _error_handler

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: array_filter() expects parameter 1 to be array, bool given

Filename: product/product_detail.php

Line Number: 293

Backtrace:

File: /home/modernba/public_html/application/views/product/product_detail.php
Line: 293
Function: array_filter

File: /home/modernba/public_html/application/controllers/Product.php
Line: 414
Function: view

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: count(): Parameter must be an array or an object that implements Countable

Filename: product/product_detail.php

Line Number: 293

Backtrace:

File: /home/modernba/public_html/application/views/product/product_detail.php
Line: 293
Function: _error_handler

File: /home/modernba/public_html/application/controllers/Product.php
Line: 414
Function: view

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: product/product_detail.php

Line Number: 331

Backtrace:

File: /home/modernba/public_html/application/views/product/product_detail.php
Line: 331
Function: _error_handler

File: /home/modernba/public_html/application/controllers/Product.php
Line: 414
Function: view

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'image' of non-object

Filename: product/product_detail.php

Line Number: 331

Backtrace:

File: /home/modernba/public_html/application/views/product/product_detail.php
Line: 331
Function: _error_handler

File: /home/modernba/public_html/application/controllers/Product.php
Line: 414
Function: view

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

product Image

Sunfeast Moms Magic Butter 65g

10.00

A PHP Error was encountered

Severity: Warning

Message: Illegal string offset 'country_flag'

Filename: product/product_detail.php

Line Number: 503

Backtrace:

File: /home/modernba/public_html/application/views/product/product_detail.php
Line: 503
Function: _error_handler

File: /home/modernba/public_html/application/controllers/Product.php
Line: 414
Function: view

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once

Item Additionals Details

Sunfeast Moms Magic Rich Butter

Item Details

Sunfeast Moms Magic Butter 65g

You might also like

A PHP Error was encountered

Severity: Warning

Message: count(): Parameter must be an array or an object that implements Countable

Filename: product/product_detail.php

Line Number: 638

Backtrace:

File: /home/modernba/public_html/application/views/product/product_detail.php
Line: 638
Function: _error_handler

File: /home/modernba/public_html/application/controllers/Product.php
Line: 414
Function: view

File: /home/modernba/public_html/index.php
Line: 299
Function: require_once