A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Product.php

Line Number: 36

Backtrace:

File: /home/magen/public_html/yizkor.com/application/controllers/Product.php
Line: 36
Function: _error_handler

File: /home/magen/public_html/yizkor.com/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Product.php

Line Number: 43

Backtrace:

File: /home/magen/public_html/yizkor.com/application/controllers/Product.php
Line: 43
Function: _error_handler

File: /home/magen/public_html/yizkor.com/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Product.php

Line Number: 47

Backtrace:

File: /home/magen/public_html/yizkor.com/application/controllers/Product.php
Line: 47
Function: _error_handler

File: /home/magen/public_html/yizkor.com/index.php
Line: 292
Function: require_once

Per Page
accessories'; } var current_view = $(".modes a.active").attr("id"); var ShowNoOfRecord = $('#limiter').val(); var sort_by = $(this).val(); $.ajax({ type: "POST", url: "http://yizkor.com/product/productSorting/", data: 'current_view='+current_view+'&sort_by='+sort_by+'&ShowNoOfRecord='+ShowNoOfRecord+'&category_id='+category_id, dataType: "html", success: function(result){ $('#loading-image').hide(); $('#sort-products').html(result); } }); }); }); // Declare a loop variable var i; var elements = document.getElementsByClassName("item"); // List View function listView() { var category_id = ""; if($('#clicked_category').val() != ""){ category_id = $('#clicked_category').val(); }else{ category_id = 'accessories'; } $('#grid-view').removeClass('active'); $('#list-view').addClass('active'); $('#loading-image').show(); var current_view = $(".modes a.active").attr("id"); var ShowNoOfRecord = $('#limiter').val(); var sort_by = $("#sort-product :selected").val(); var shop_by_checked = $('.block-content ul > li > a').hasClass('active'); var shop_by = ''; if(shop_by_checked){ var shop_by = $('.block-content ul > li > a.active').attr('id'); } $.ajax({ url: "http://yizkor.com/product/getProductListView", type: "POST", data: 'current_view='+current_view+'&ShowNoOfRecord='+ShowNoOfRecord+'&category_id='+category_id+'&sort_by='+sort_by+'&shop_by='+shop_by, dataType: "html", success: function(result){ $('#loading-image').hide(); $('#sort-products').html(result); } }); } // Grid View function gridView() { if($('#clicked_category').val() != ""){ var category_id = $('#clicked_category').val(); }else{ var category_id = 'accessories'; } $('#list-view').removeClass('active'); $('#grid-view').addClass('active'); var current_view = $(".modes a.active").attr("id"); var ShowNoOfRecord = $('#limiter').val(); var shop_by_checked = $('.block-content ul > li > a').hasClass('active'); var shop_by = ''; if(shop_by_checked){ var shop_by = $('.block-content ul > li > a.active').attr('id'); } $('#loading-image').show(); $.ajax({ url: "http://yizkor.com/product/getProductListView", type: "POST", data: 'current_view='+current_view+'&ShowNoOfRecord='+ShowNoOfRecord+'&category_id='+category_id+'&shop_by='+shop_by, dataType: "html", success: function(result){ $('#loading-image').hide(); $('#sort-products').html(result); } }); } $('#without-profile').click(function(){ if($(this).is(":checked")){ $("#all-profiles").val("default"); $("#all-profiles").selectpicker("refresh"); $('#saved-profiles').val('') $('#other-profile').show(); $('#select-saved-profile').hide(); $('#send-notification').show(); }else{ $('#other-profile').hide(); $('#select-saved-profile').show(); $('#send-notification').hide(); } });