ecommdev Posted August 25, 2014 Share Posted August 25, 2014 Backoffice - 1.6.0.8 The product associations for the category is not showing any categories or any options. Error reporting turned on and here is details from chrome console response tab. TWO ERROR INTERNAL ERRORS 1) <style> #psException{font-family: Verdana; font-size: 14px} #psException h2{color: #F20000} #psException p{padding-left: 20px} #psException ul li{margin-bottom: 10px} #psException a{font-size: 12px; color: #000000} #psException .psTrace, #psException .psArgs{display: none} #psException pre{border: 1px solid #236B04; background-color: #EAFEE1; padding: 5px; font-family: Courier; width: 99%; overflow-x: auto; margin-bottom: 30px;} #psException .psArgs pre{background-color: #F1FDFE;} #psException pre .selected{color: #F20000; font-weight: bold;} </style><div id="psException"><h2>[PrestaShopException]</h2><p><b>Root category must be an integer value</b><br /><i>at line </i><b>125</b><i> in file </i><b>classes/helper/HelperTreeCategories.php</b></p><div class="psTrace" id="psTrace_" style="display: block"><pre>119. } 120. 121. public function setRootCategory($value) 122. { 123. if (!Validate::isInt($value)) <span class="selected">124. throw new PrestaShopException('Root category must be an integer value'); </span>125. 126. $this->_root_category = $value; 127. return $this; 128. } 129. </pre></div><ul><li><b>HelperTreeCategoriesCore->setRootCategory</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_0').style.display = (document.getElementById('psTrace_0').style.display != 'block') ? 'block' : 'none'; return false">[line 3023 - controllers/admin/AdminProductsController.php]</a> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psArgs_0').style.display = (document.getElementById('psArgs_0').style.display != 'block') ? 'block' : 'none'; return false">[1 Arguments]</a><div class="psTrace" id="psTrace_0" ><pre>3017. $categories[] = $key; 3018. 3019. $tree = new HelperTreeCategories('associated-categories-tree', 'Associated categories'); 3020. $tree->setTemplate('tree_associated_categories.tpl') 3021. ->setHeaderTemplate('tree_associated_header.tpl') <span class="selected">3022. ->setRootCategory($root->id) </span>3023. ->setUseCheckBox(true) 3024. ->setUseSearch(true) 3025. ->setSelectedCategories($categories); 3026. 3027. $data->assign(array('default_category' => $default_category, </pre></div><div class="psArgs" id="psArgs_0"><pre><b>Argument [0]</b> </pre></li><li><b>AdminProductsControllerCore->initFormAssociations</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_1').style.display = (document.getElementById('psTrace_1').style.display != 'block') ? 'block' : 'none'; return false">[line 2694 - controllers/admin/AdminProductsController.php]</a> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psArgs_1').style.display = (document.getElementById('psArgs_1').style.display != 'block') ? 'block' : 'none'; return false">[1 Arguments]</a><div class="psTrace" id="psTrace_1" ><pre>2688. // if there was an error while saving, we don't want to lose posted data 2689. if (!empty($this->errors)) 2690. $this->copyFromPost($this->object, $this->table); 2691. 2692. $this->initPack($this->object); <span class="selected">2693. $this->{'initForm'.$this->tab_display}($this->object); </span>2694. $this->tpl_form_vars['product'] = $this->object; 2695. 2696. if ($this->ajax) 2697. if (!isset($this->tpl_form_vars['custom_form'])) 2698. throw new PrestaShopException('custom_form empty for action '.$this->tab_display); </pre></div><div class="psArgs" id="psArgs_1"><pre><b>Argument [0]</b> Product Object ( [tax_name] => [tax_rate] => [id_manufacturer] => 2 [id_supplier] => 0 [id_category_default] => 12 [id_shop_default] => 1 [manufacturer_name] => [supplier_name] => [name] => Array ( [1] => Flex-a-Bed Value-Flex Bed & Mattress ) [description] => Array ( [1] => <div id="ProductDetail_ProductDetails_div"> <span id="product_description"> <div class="mid_product_mn"> <h1><span>Flex-A-Bed Value-Flex</span> Adjustable Bed</h1> </div> <p> Model 158 </p> The Flex-a-Bed Value Series is a great alternative to a hospital style bed. The Value-Flex includes a 7" thick non-reversible innerspring mattress. The Value Series bed hand control has a cord attached to it instead of wireless like more expensive adjustable beds.<br><br>Adjustable Bed with independent head, foot motors. High resilience foam foundation with exclusive hand control holders. <br><br>Not designed for use with headboard. <br><br>The Value-Flex Series is popular because it's economically priced. Wired hand-control and no massage (optional) means savings for you. Makes a great Home care bed. Quilted mattress is much more comfortable than a hospital bed mattress.<br><br><b>Price includes mattress:</b><br>Mattress is 7" height non-reversible innerspring mattress. It is a 336-coil single sided innerspring mattress with attractive traditional puff quilted ticking.<br><br></span> <div style="height: 15px;"></div> <div style="clear: both;"></div> </div> <td> <b>Features:</b><br> <ul><li>Independent head and foot operation.</li><li>Locking heavy-duty casters.</li><li>Open frame construction.</li><li>Advantec platform boards (decking material, stronger than plywood and won't warp or squeak).</li><li>4" high-density foam foundation for even, quiet support.</li><li>Top of mattress to floor is 22"</li><li>Low amp motors prevent power outages, with easy-to-use slide switches on hand control.</li><li>Holders to store and protect your hand control.</li><li>Mattress use a strong 336-coil bonnell spring unit.</li><li>Optional "single" massage covers entire bed.</li><li>5 year limited warranty on the entire bed.</li></ul><br><br><div> </div><table style="border-collapse: collapse;" border="0" cellSpacing="0" borderColor="#111111" cellPadding="2" width="100%"><tbody><tr style="font-family: Verdana;"><td bgColor="#336699" width="100%" colSpan="4" align="center"><p align="left"><span style="color: rgb(255, 255, 255); font-size: 8pt; font-style: italic;">Specifications:</span></p></td></tr><tr><td style="font-family: Verdana;" bgColor="#f4f7fa" width="25%" align="center"><span style="color: rgb(51, 102, 153); font-size: 8pt; font-style: italic; font-weight: bold;">Model</span></td><td style="font-family: Verdana;" bgColor="#f4f7fa" width="25%" align="center"><span style="color: rgb(51, 102, 153); font-size: 8pt; font-style: italic; font-weight: bold;">Size</span></td><td style="font-family: Verdana;" bgColor="#f4f7fa" width="25%" align="center"><span style="color: rgb(51, 102, 153); font-size: 8pt; font-style: italic; font-weight: bold;">Weight Capacity</span></td><td bgColor="#f4f7fa" width="25%" align="center"><span style="color: rgb(51, 102, 153); font-family: Tahoma; font-size: 10pt; font-style: italic; font-weight: bold;"><br></span></td></tr><tr><td style="font-family: Verdana;" bgColor="#ffffff" width="25%" align="center"><span style="font-size: 8pt;">Twin Small</span></td><td style="font-family: Verdana;" bgColor="#ffffff" width="25%" align="center"><span style="font-size: 8pt;">30"x80"</span></td><td style="font-family: Verdana;" bgColor="#ffffff" width="25%" align="center"><span style="font-size: 8pt;">250-lbs</span></td><td bgColor="#ffffff" width="25%" align="center"><span style="color: rgb(204, 0, 0); font-family: Tahoma; font-size: 10pt; font-style: italic; font-weight: bold;"><br></span></td></tr><tr><td style="font-family: Verdana;" bgColor="#f0f0f0" width="25%" align="center"><span style="font-size: 8pt;">Twin XL</span></td><td style="font-family: Verdana;" bgColor="#f0f0f0" width="25%" align="center"><span style="font-size: 8pt;">38"x80"</span></td><td style="font-family: Verdana;" bgColor="#f0f0f0" width="25%" align="center"><span style="font-size: 8pt;">250-lbs</span></td><td bgColor="#f0f0f0" width="25%" align="center"><span style="color: rgb(204, 0, 0); font-family: Tahoma; font-size: 10pt; font-style: italic; font-weight: bold;"><br></span></td></tr><tr><td style="font-family: Verdana;" bgColor="#ffffff" width="25%" align="center"><span style="font-size: 8pt;">Full XL</span></td><td style="font-family: Verdana;" bgColor="#ffffff" width="25%" align="center"><span style="font-size: 8pt;">53"x80"</span></td><td style="font-family: Verdana;" bgColor="#ffffff" width="25%" align="center"><span style="font-size: 8pt;">340-lbs</span></td><td bgColor="#ffffff" width="25%" align="center"><span style="color: rgb(204, 0, 0); font-family: Tahoma; font-size: 10pt; font-style: italic; font-weight: bold;"><br></span></td></tr><tr><td style="font-family: Verdana;" bgColor="#f0f0f0" width="25%" align="center"><span style="font-size: 8pt;">Queen XL</span></td><td style="font-family: Verdana;" bgColor="#f0f0f0" width="25%" align="center"><span style="font-size: 8pt;">60"x80"</span></td><td style="font-family: Verdana;" bgColor="#f0f0f0" width="25%" align="center"><span style="font-size: 8pt;">425-lbs</span></td><td bgColor="#f0f0f0" width="25%" align="center"><span style="color: rgb(204, 0, 0); font-family: Tahoma; font-size: 10pt; font-style: italic; font-weight: bold;"><br></span></td></tr><tr><td style="font-family: Verdana;" bgColor="#ffffff" width="25%" align="center"><span style="font-size: 8pt;">*King XL</span></td><td style="font-family: Verdana;" bgColor="#ffffff" width="25%" align="center"><span style="font-size: 8pt;">38"x80" (2 ea.)</span></td><td style="font-family: Verdana;" bgColor="#ffffff" width="25%" align="center"><span style="font-size: 8pt;">250-lbs</span></td><td bgColor="#ffffff" width="25%" align="center"><span style="color: rgb(204, 0, 0); font-family: Tahoma; font-size: 10pt; font-style: italic; font-weight: bold;"><br></span></td></tr></tbody></table><br><span style="font-style: italic; font-weight: bold;"></span><br> </td> ) [description_short] => Array ( [1] => Adjustable Bed Package Flex-a-Bed model 158, Value-Flex ) [quantity] => 100 [minimal_quantity] => 1 [available_now] => Array ( [1] => In stock ) [available_later] => Array ( [1] => ) [price] => 1169.000000 [additional_shipping_cost] => 0.00 [wholesale_price] => 0.000000 [on_sale] => 0 [online_only] => 0 [unity] => [unit_price] => [unit_price_ratio] => 0.000000 [ecotax] => 0.000000 [reference] => FLEX-A-BED-158 [supplier_reference] => [location] => [width] => 0.000000 [height] => 0.000000 [depth] => 0.000000 [weight] => 0.000000 [ean13] => [upc] => [link_rewrite] => Array ( [1] => valueadjustablebedp-flex-a-bed-158 ) [meta_description] => Array ( [1] => Flex-a-Bed Adjustable Bed includes mattress, optional bed rails, optional massage and FREE shipping. SAVE on Value-Flex Beds. ) [meta_keywords] => Array ( [1] => adjustable bed, flex-a-bed, 185, electric adjustable bed, full size, hospital bed, ) [meta_title] => Array ( [1] => Flex-a-Bed Value-Flex Series Adjustable Beds - Home Care Bed ) [quantity_discount] => 0 [customizable] => 0 [new] => [uploadable_files] => 0 [text_fields] => 0 [active] => 1 [redirect_type] => [id_product_redirected] => 0 [available_for_order] => 1 [available_date] => 0000-00-00 [condition] => new [show_price] => 1 [indexed] => 0 [visibility] => both [date_add] => 2014-08-24 23:26:47 [date_upd] => 2014-08-24 23:26:47 [tags] => [id_tax_rules_group] => 0 [id_color_default] => 0 [advanced_stock_management] => 0 [out_of_stock] => 0 [depends_on_stock] => [isFullyLoaded] => [cache_is_pack] => 0 [cache_has_attachments] => 0 [is_virtual] => 0 [cache_default_attribute] => [category] => [webserviceParameters:protected] => Array ( [objectMethods] => Array ( [add] => addWs [update] => updateWs ) [objectNodeNames] => products [fields] => Array ( [id_manufacturer] => Array ( [xlink_resource] => manufacturers ) [id_supplier] => Array ( [xlink_resource] => suppliers ) [id_category_default] => Array ( [xlink_resource] => categories ) [new] => Array ( ) [cache_default_attribute] => Array ( ) [id_default_image] => Array ( [getter] => getCoverWs [setter] => setCoverWs [xlink_resource] => Array ( [resourceName] => images [subResourceName] => products ) ) [id_default_combination] => Array ( [getter] => getWsDefaultCombination [setter] => setWsDefaultCombination [xlink_resource] => Array ( [resourceName] => combinations ) ) [id_tax_rules_group] => Array ( [xlink_resource] => Array ( [resourceName] => tax_rule_groups ) ) [position_in_category] => Array ( [getter] => getWsPositionInCategory [setter] => ) [manufacturer_name] => Array ( [getter] => getWsManufacturerName [setter] => ) [quantity] => Array ( [getter] => [setter] => ) [type] => Array ( [getter] => getWsType [setter] => setWsType ) ) [associations] => Array ( [categories] => Array ( [resource] => category [fields] => Array ( [id] => Array ( [required] => 1 ) ) ) [images] => Array ( [resource] => image [fields] => Array ( [id] => Array ( ) ) ) [combinations] => Array ( [resource] => combinations [fields] => Array ( [id] => Array ( [required] => 1 ) ) ) [product_option_values] => Array ( [resource] => product_options_values [fields] => Array ( [id] => Array ( [required] => 1 ) ) ) [product_features] => Array ( [resource] => product_feature [fields] => Array ( [id] => Array ( [required] => 1 ) [custom] => Array ( [required] => ) [id_feature_value] => Array ( [required] => 1 [xlink_resource] => product_feature_values ) ) ) [tags] => Array ( [resource] => tag [fields] => Array ( [id] => Array ( [required] => 1 ) ) ) [stock_availables] => Array ( [resource] => stock_available [fields] => Array ( [id] => Array ( [required] => 1 ) [id_product_attribute] => Array ( [required] => 1 ) ) [setter] => ) [accessories] => Array ( [resource] => product [fields] => Array ( [id] => Array ( [required] => 1 [xlink_resource] => product ) ) ) [product_bundle] => Array ( [resource] => products [fields] => Array ( [id] => Array ( [required] => 1 ) [quantity] => Array ( ) ) ) ) ) [id] => 1 [id_lang:protected] => [id_shop:protected] => 1 [id_shop_list] => [get_shop_from_context:protected] => 1 [table:protected] => product [identifier:protected] => id_product [fieldsRequired:protected] => Array ( [0] => price ) [fieldsSize:protected] => Array ( [reference] => 32 [supplier_reference] => 32 [location] => 64 [ean13] => 13 [upc] => 12 ) [fieldsValidate:protected] => Array ( [id_shop_default] => isUnsignedId [id_manufacturer] => isUnsignedId [id_supplier] => isUnsignedId [reference] => isReference [supplier_reference] => isReference [location] => isReference [width] => isUnsignedFloat [height] => isUnsignedFloat [depth] => isUnsignedFloat [weight] => isUnsignedFloat [quantity_discount] => isBool [ean13] => isEan13 [upc] => isUpc [cache_is_pack] => isBool [cache_has_attachments] => isBool [is_virtual] => isBool [id_category_default] => isUnsignedId [id_tax_rules_group] => isUnsignedId [on_sale] => isBool [online_only] => isBool [ecotax] => isPrice [minimal_quantity] => isUnsignedInt [price] => isPrice [wholesale_price] => isPrice [unity] => isString [additional_shipping_cost] => isPrice [customizable] => isUnsignedInt [text_fields] => isUnsignedInt [uploadable_files] => isUnsignedInt [active] => isBool [redirect_type] => isString [id_product_redirected] => isUnsignedId [available_for_order] => isBool [available_date] => isDateFormat [condition] => isGenericName [show_price] => isBool [indexed] => isBool [visibility] => isProductVisibility [advanced_stock_management] => isBool [date_add] => isDateFormat [date_upd] => isDateFormat ) [fieldsRequiredLang:protected] => Array ( [0] => link_rewrite [1] => name ) [fieldsSizeLang:protected] => Array ( [meta_description] => 255 [meta_keywords] => 255 [meta_title] => 128 [link_rewrite] => 128 [name] => 128 [available_now] => 255 [available_later] => 255 ) [fieldsValidateLang:protected] => Array ( [meta_description] => isGenericName [meta_keywords] => isGenericName [meta_title] => isGenericName [link_rewrite] => isLinkRewrite [name] => isCatalogName [description] => isCleanHtml [description_short] => isCleanHtml [available_now] => isGenericName [available_later] => IsGenericName ) [tables:protected] => Array ( ) [image_dir:protected] => [image_format:protected] => jpg [def:protected] => Array ( [table] => product [primary] => id_product [multilang] => 1 [multilang_shop] => 1 [fields] => Array ( [id_shop_default] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_manufacturer] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_supplier] => Array ( [type] => 1 [validate] => isUnsignedId ) [reference] => Array ( [type] => 3 [validate] => isReference [size] => 32 ) [supplier_reference] => Array ( [type] => 3 [validate] => isReference [size] => 32 ) [location] => Array ( [type] => 3 [validate] => isReference [size] => 64 ) [width] => Array ( [type] => 4 [validate] => isUnsignedFloat ) [height] => Array ( [type] => 4 [validate] => isUnsignedFloat ) [depth] => Array ( [type] => 4 [validate] => isUnsignedFloat ) [weight] => Array ( [type] => 4 [validate] => isUnsignedFloat ) [quantity_discount] => Array ( [type] => 2 [validate] => isBool ) [ean13] => Array ( [type] => 3 [validate] => isEan13 [size] => 13 ) [upc] => Array ( [type] => 3 [validate] => isUpc [size] => 12 ) [cache_is_pack] => Array ( [type] => 2 [validate] => isBool ) [cache_has_attachments] => Array ( [type] => 2 [validate] => isBool ) [is_virtual] => Array ( [type] => 2 [validate] => isBool ) [id_category_default] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedId ) [id_tax_rules_group] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedId ) [on_sale] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [online_only] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [ecotax] => Array ( [type] => 4 [shop] => 1 [validate] => isPrice ) [minimal_quantity] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedInt ) [price] => Array ( [type] => 4 [shop] => 1 [validate] => isPrice [required] => 1 ) [wholesale_price] => Array ( [type] => 4 [shop] => 1 [validate] => isPrice ) [unity] => Array ( [type] => 3 [shop] => 1 [validate] => isString ) [unit_price_ratio] => Array ( [type] => 4 [shop] => 1 ) [additional_shipping_cost] => Array ( [type] => 4 [shop] => 1 [validate] => isPrice ) [customizable] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedInt ) [text_fields] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedInt ) [uploadable_files] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedInt ) [active] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [redirect_type] => Array ( [type] => 3 [shop] => 1 [validate] => isString ) [id_product_redirected] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedId ) [available_for_order] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [available_date] => Array ( [type] => 5 [shop] => 1 [validate] => isDateFormat ) [condition] => Array ( [type] => 3 [shop] => 1 [validate] => isGenericName [values] => Array ( [0] => new [1] => used [2] => refurbished ) [default] => new ) [show_price] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [indexed] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [visibility] => Array ( [type] => 3 [shop] => 1 [validate] => isProductVisibility [values] => Array ( [0] => both [1] => catalog [2] => search [3] => none ) [default] => both ) [cache_default_attribute] => Array ( [type] => 1 [shop] => 1 ) [advanced_stock_management] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [date_add] => Array ( [type] => 5 [shop] => 1 [validate] => isDateFormat ) [date_upd] => Array ( [type] => 5 [shop] => 1 [validate] => isDateFormat ) [meta_description] => Array ( [type] => 3 [lang] => 1 [validate] => isGenericName [size] => 255 ) [meta_keywords] => Array ( [type] => 3 [lang] => 1 [validate] => isGenericName [size] => 255 ) [meta_title] => Array ( [type] => 3 [lang] => 1 [validate] => isGenericName [size] => 128 ) [link_rewrite] => Array ( [type] => 3 [lang] => 1 [validate] => isLinkRewrite [required] => 1 [size] => 128 [ws_modifier] => Array ( [http_method] => 2 [modifier] => modifierWsLinkRewrite ) ) [name] => Array ( [type] => 3 [lang] => 1 [validate] => isCatalogName [required] => 1 [size] => 128 ) [description] => Array ( [type] => 6 [lang] => 1 [validate] => isCleanHtml ) [description_short] => Array ( [type] => 6 [lang] => 1 [validate] => isCleanHtml ) [available_now] => Array ( [type] => 3 [lang] => 1 [validate] => isGenericName [size] => 255 ) [available_later] => Array ( [type] => 3 [lang] => 1 [validate] => IsGenericName [size] => 255 ) ) [associations] => Array ( [manufacturer] => Array ( [type] => 1 ) [supplier] => Array ( [type] => 1 ) [default_category] => Array ( [type] => 1 [field] => id_category_default [object] => Category ) [tax_rules_group] => Array ( [type] => 1 ) [categories] => Array ( [type] => 2 [field] => id_category [object] => Category [association] => category_product ) [stock_availables] => Array ( [type] => 2 [field] => id_stock_available [object] => StockAvailable [association] => stock_availables ) [l] => Array ( [type] => 2 [field] => id_product [foreign_field] => id_product ) ) [classname] => Product ) [update_fields:protected] => [force_id] => [packItems] => Array ( ) ) </pre></li><li><b>AdminProductsControllerCore->renderForm</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_2').style.display = (document.getElementById('psTrace_2').style.display != 'block') ? 'block' : 'none'; return false">[line 1751 - classes/controller/AdminController.php]</a><div class="psTrace" id="psTrace_2" ><pre>1745. if ($this->display == 'edit' || $this->display == 'add') 1746. { 1747. if (!$this->loadObject(true)) 1748. return; 1749. <span class="selected">1750. $this->content .= $this->renderForm(); </span>1751. } 1752. elseif ($this->display == 'view') 1753. { 1754. // Some controllers use the view action without an object 1755. if ($this->className) </pre></div></li><li><b>AdminControllerCore->initContent</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_3').style.display = (document.getElementById('psTrace_3').style.display != 'block') ? 'block' : 'none'; return false">[line 2362 - controllers/admin/AdminProductsController.php]</a><div class="psTrace" id="psTrace_3" ><pre>2356. $this->tpl_list_vars['base_url'] = preg_replace('#&id_category=[0-9]*#', '', self::$currentIndex).'&token='.$this->token; 2357. } 2358. // @todo module free 2359. $this->tpl_form_vars['vat_number'] = file_exists(_PS_MODULE_DIR_.'vatnumber/ajax.php'); 2360. <span class="selected">2361. parent::initContent(); </span>2362. } 2363. 2364. public function renderKpis() 2365. { 2366. $time = time(); </pre></div></li><li><b>AdminProductsControllerCore->initContent</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_4').style.display = (document.getElementById('psTrace_4').style.display != 'block') ? 'block' : 'none'; return false">[line 180 - classes/controller/Controller.php]</a><div class="psTrace" id="psTrace_4" ><pre>174. 175. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) 176. $this->initHeader(); 177. 178. if ($this->viewAccess()) <span class="selected">179. $this->initContent(); </span>180. else 181. $this->errors[] = Tools::displayError('Access denied.'); 182. 183. if (!$this->content_only && ($this->display_footer || (isset($this->className) && $this->className))) 184. $this->initFooter(); </pre></div></li><li><b>ControllerCore->run</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_5').style.display = (document.getElementById('psTrace_5').style.display != 'block') ? 'block' : 'none'; return false">[line 373 - classes/Dispatcher.php]</a><div class="psTrace" id="psTrace_5" ><pre>367. // Execute hook dispatcher 368. if (isset($params_hook_action_dispatcher)) 369. Hook::exec('actionDispatcher', $params_hook_action_dispatcher); 370. 371. // Running controller <span class="selected">372. $controller->run(); </span>373. } 374. catch (PrestaShopException $e) 375. { 376. $e->displayMessage(); 377. } </pre></div></li><li><b>DispatcherCore->dispatch</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_6').style.display = (document.getElementById('psTrace_6').style.display != 'block') ? 'block' : 'none'; return false">[line 54 - admin/index.php]</a><div class="psTrace" id="psTrace_6" ><pre>48. $_POST['controller'] = strtolower($_POST['tab']); 49. if (!isset($_REQUEST['controller']) && isset($_REQUEST['tab'])) 50. $_REQUEST['controller'] = strtolower($_REQUEST['tab']); 51. 52. // Prepare and trigger admin dispatcher <span class="selected">53. Dispatcher::getInstance()->dispatch(); </span></pre></div></li></ul></div> 2) <style> #psException{font-family: Verdana; font-size: 14px} #psException h2{color: #F20000} #psException p{padding-left: 20px} #psException ul li{margin-bottom: 10px} #psException a{font-size: 12px; color: #000000} #psException .psTrace, #psException .psArgs{display: none} #psException pre{border: 1px solid #236B04; background-color: #EAFEE1; padding: 5px; font-family: Courier; width: 99%; overflow-x: auto; margin-bottom: 30px;} #psException .psArgs pre{background-color: #F1FDFE;} #psException pre .selected{color: #F20000; font-weight: bold;} </style><div id="psException"><h2>[PrestaShopException]</h2><p><b>Root category must be an integer value</b><br /><i>at line </i><b>125</b><i> in file </i><b>classes/helper/HelperTreeCategories.php</b></p><div class="psTrace" id="psTrace_" style="display: block"><pre>119. } 120. 121. public function setRootCategory($value) 122. { 123. if (!Validate::isInt($value)) <span class="selected">124. throw new PrestaShopException('Root category must be an integer value'); </span>125. 126. $this->_root_category = $value; 127. return $this; 128. } 129. </pre></div><ul><li><b>HelperTreeCategoriesCore->setRootCategory</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_0').style.display = (document.getElementById('psTrace_0').style.display != 'block') ? 'block' : 'none'; return false">[line 3023 - controllers/admin/AdminProductsController.php]</a> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psArgs_0').style.display = (document.getElementById('psArgs_0').style.display != 'block') ? 'block' : 'none'; return false">[1 Arguments]</a><div class="psTrace" id="psTrace_0" ><pre>3017. $categories[] = $key; 3018. 3019. $tree = new HelperTreeCategories('associated-categories-tree', 'Associated categories'); 3020. $tree->setTemplate('tree_associated_categories.tpl') 3021. ->setHeaderTemplate('tree_associated_header.tpl') <span class="selected">3022. ->setRootCategory($root->id) </span>3023. ->setUseCheckBox(true) 3024. ->setUseSearch(true) 3025. ->setSelectedCategories($categories); 3026. 3027. $data->assign(array('default_category' => $default_category, </pre></div><div class="psArgs" id="psArgs_0"><pre><b>Argument [0]</b> </pre></li><li><b>AdminProductsControllerCore->initFormAssociations</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_1').style.display = (document.getElementById('psTrace_1').style.display != 'block') ? 'block' : 'none'; return false">[line 2694 - controllers/admin/AdminProductsController.php]</a> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psArgs_1').style.display = (document.getElementById('psArgs_1').style.display != 'block') ? 'block' : 'none'; return false">[1 Arguments]</a><div class="psTrace" id="psTrace_1" ><pre>2688. // if there was an error while saving, we don't want to lose posted data 2689. if (!empty($this->errors)) 2690. $this->copyFromPost($this->object, $this->table); 2691. 2692. $this->initPack($this->object); <span class="selected">2693. $this->{'initForm'.$this->tab_display}($this->object); </span>2694. $this->tpl_form_vars['product'] = $this->object; 2695. 2696. if ($this->ajax) 2697. if (!isset($this->tpl_form_vars['custom_form'])) 2698. throw new PrestaShopException('custom_form empty for action '.$this->tab_display); </pre></div><div class="psArgs" id="psArgs_1"><pre><b>Argument [0]</b> Product Object ( [tax_name] => [tax_rate] => [id_manufacturer] => 2 [id_supplier] => 0 [id_category_default] => 12 [id_shop_default] => 1 [manufacturer_name] => [supplier_name] => [name] => Array ( [1] => Flex-a-Bed Value-Flex Bed & Mattress ) [description] => Array ( [1] => <div id="ProductDetail_ProductDetails_div"> <span id="product_description"> <div class="mid_product_mn"> <h1><span>Flex-A-Bed Value-Flex</span> Adjustable Bed</h1> </div> <p> Model 158 </p> The Flex-a-Bed Value Series is a great alternative to a hospital style bed. The Value-Flex includes a 7" thick non-reversible innerspring mattress. The Value Series bed hand control has a cord attached to it instead of wireless like more expensive adjustable beds.<br><br>Adjustable Bed with independent head, foot motors. High resilience foam foundation with exclusive hand control holders. <br><br>Not designed for use with headboard. <br><br>The Value-Flex Series is popular because it's economically priced. Wired hand-control and no massage (optional) means savings for you. Makes a great Home care bed. Quilted mattress is much more comfortable than a hospital bed mattress.<br><br><b>Price includes mattress:</b><br>Mattress is 7" height non-reversible innerspring mattress. It is a 336-coil single sided innerspring mattress with attractive traditional puff quilted ticking.<br><br></span> <div style="height: 15px;"></div> <div style="clear: both;"></div> </div> <td> <b>Features:</b><br> <ul><li>Independent head and foot operation.</li><li>Locking heavy-duty casters.</li><li>Open frame construction.</li><li>Advantec platform boards (decking material, stronger than plywood and won't warp or squeak).</li><li>4" high-density foam foundation for even, quiet support.</li><li>Top of mattress to floor is 22"</li><li>Low amp motors prevent power outages, with easy-to-use slide switches on hand control.</li><li>Holders to store and protect your hand control.</li><li>Mattress use a strong 336-coil bonnell spring unit.</li><li>Optional "single" massage covers entire bed.</li><li>5 year limited warranty on the entire bed.</li></ul><br><br><div> </div><table style="border-collapse: collapse;" border="0" cellSpacing="0" borderColor="#111111" cellPadding="2" width="100%"><tbody><tr style="font-family: Verdana;"><td bgColor="#336699" width="100%" colSpan="4" align="center"><p align="left"><span style="color: rgb(255, 255, 255); font-size: 8pt; font-style: italic;">Specifications:</span></p></td></tr><tr><td style="font-family: Verdana;" bgColor="#f4f7fa" width="25%" align="center"><span style="color: rgb(51, 102, 153); font-size: 8pt; font-style: italic; font-weight: bold;">Model</span></td><td style="font-family: Verdana;" bgColor="#f4f7fa" width="25%" align="center"><span style="color: rgb(51, 102, 153); font-size: 8pt; font-style: italic; font-weight: bold;">Size</span></td><td style="font-family: Verdana;" bgColor="#f4f7fa" width="25%" align="center"><span style="color: rgb(51, 102, 153); font-size: 8pt; font-style: italic; font-weight: bold;">Weight Capacity</span></td><td bgColor="#f4f7fa" width="25%" align="center"><span style="color: rgb(51, 102, 153); font-family: Tahoma; font-size: 10pt; font-style: italic; font-weight: bold;"><br></span></td></tr><tr><td style="font-family: Verdana;" bgColor="#ffffff" width="25%" align="center"><span style="font-size: 8pt;">Twin Small</span></td><td style="font-family: Verdana;" bgColor="#ffffff" width="25%" align="center"><span style="font-size: 8pt;">30"x80"</span></td><td style="font-family: Verdana;" bgColor="#ffffff" width="25%" align="center"><span style="font-size: 8pt;">250-lbs</span></td><td bgColor="#ffffff" width="25%" align="center"><span style="color: rgb(204, 0, 0); font-family: Tahoma; font-size: 10pt; font-style: italic; font-weight: bold;"><br></span></td></tr><tr><td style="font-family: Verdana;" bgColor="#f0f0f0" width="25%" align="center"><span style="font-size: 8pt;">Twin XL</span></td><td style="font-family: Verdana;" bgColor="#f0f0f0" width="25%" align="center"><span style="font-size: 8pt;">38"x80"</span></td><td style="font-family: Verdana;" bgColor="#f0f0f0" width="25%" align="center"><span style="font-size: 8pt;">250-lbs</span></td><td bgColor="#f0f0f0" width="25%" align="center"><span style="color: rgb(204, 0, 0); font-family: Tahoma; font-size: 10pt; font-style: italic; font-weight: bold;"><br></span></td></tr><tr><td style="font-family: Verdana;" bgColor="#ffffff" width="25%" align="center"><span style="font-size: 8pt;">Full XL</span></td><td style="font-family: Verdana;" bgColor="#ffffff" width="25%" align="center"><span style="font-size: 8pt;">53"x80"</span></td><td style="font-family: Verdana;" bgColor="#ffffff" width="25%" align="center"><span style="font-size: 8pt;">340-lbs</span></td><td bgColor="#ffffff" width="25%" align="center"><span style="color: rgb(204, 0, 0); font-family: Tahoma; font-size: 10pt; font-style: italic; font-weight: bold;"><br></span></td></tr><tr><td style="font-family: Verdana;" bgColor="#f0f0f0" width="25%" align="center"><span style="font-size: 8pt;">Queen XL</span></td><td style="font-family: Verdana;" bgColor="#f0f0f0" width="25%" align="center"><span style="font-size: 8pt;">60"x80"</span></td><td style="font-family: Verdana;" bgColor="#f0f0f0" width="25%" align="center"><span style="font-size: 8pt;">425-lbs</span></td><td bgColor="#f0f0f0" width="25%" align="center"><span style="color: rgb(204, 0, 0); font-family: Tahoma; font-size: 10pt; font-style: italic; font-weight: bold;"><br></span></td></tr><tr><td style="font-family: Verdana;" bgColor="#ffffff" width="25%" align="center"><span style="font-size: 8pt;">*King XL</span></td><td style="font-family: Verdana;" bgColor="#ffffff" width="25%" align="center"><span style="font-size: 8pt;">38"x80" (2 ea.)</span></td><td style="font-family: Verdana;" bgColor="#ffffff" width="25%" align="center"><span style="font-size: 8pt;">250-lbs</span></td><td bgColor="#ffffff" width="25%" align="center"><span style="color: rgb(204, 0, 0); font-family: Tahoma; font-size: 10pt; font-style: italic; font-weight: bold;"><br></span></td></tr></tbody></table><br><span style="font-style: italic; font-weight: bold;"></span><br> </td> ) [description_short] => Array ( [1] => Adjustable Bed Package Flex-a-Bed model 158, Value-Flex ) [quantity] => 100 [minimal_quantity] => 1 [available_now] => Array ( [1] => In stock ) [available_later] => Array ( [1] => ) [price] => 1169.000000 [additional_shipping_cost] => 0.00 [wholesale_price] => 0.000000 [on_sale] => 0 [online_only] => 0 [unity] => [unit_price] => [unit_price_ratio] => 0.000000 [ecotax] => 0.000000 [reference] => FLEX-A-BED-158 [supplier_reference] => [location] => [width] => 0.000000 [height] => 0.000000 [depth] => 0.000000 [weight] => 0.000000 [ean13] => [upc] => [link_rewrite] => Array ( [1] => valueadjustablebedp-flex-a-bed-158 ) [meta_description] => Array ( [1] => Flex-a-Bed Adjustable Bed includes mattress, optional bed rails, optional massage and FREE shipping. SAVE on Value-Flex Beds. ) [meta_keywords] => Array ( [1] => adjustable bed, flex-a-bed, 185, electric adjustable bed, full size, hospital bed, ) [meta_title] => Array ( [1] => Flex-a-Bed Value-Flex Series Adjustable Beds - Home Care Bed ) [quantity_discount] => 0 [customizable] => 0 [new] => [uploadable_files] => 0 [text_fields] => 0 [active] => 1 [redirect_type] => [id_product_redirected] => 0 [available_for_order] => 1 [available_date] => 0000-00-00 [condition] => new [show_price] => 1 [indexed] => 0 [visibility] => both [date_add] => 2014-08-24 23:26:47 [date_upd] => 2014-08-24 23:26:47 [tags] => [id_tax_rules_group] => 0 [id_color_default] => 0 [advanced_stock_management] => 0 [out_of_stock] => 0 [depends_on_stock] => [isFullyLoaded] => [cache_is_pack] => 0 [cache_has_attachments] => 0 [is_virtual] => 0 [cache_default_attribute] => [category] => [webserviceParameters:protected] => Array ( [objectMethods] => Array ( [add] => addWs [update] => updateWs ) [objectNodeNames] => products [fields] => Array ( [id_manufacturer] => Array ( [xlink_resource] => manufacturers ) [id_supplier] => Array ( [xlink_resource] => suppliers ) [id_category_default] => Array ( [xlink_resource] => categories ) [new] => Array ( ) [cache_default_attribute] => Array ( ) [id_default_image] => Array ( [getter] => getCoverWs [setter] => setCoverWs [xlink_resource] => Array ( [resourceName] => images [subResourceName] => products ) ) [id_default_combination] => Array ( [getter] => getWsDefaultCombination [setter] => setWsDefaultCombination [xlink_resource] => Array ( [resourceName] => combinations ) ) [id_tax_rules_group] => Array ( [xlink_resource] => Array ( [resourceName] => tax_rule_groups ) ) [position_in_category] => Array ( [getter] => getWsPositionInCategory [setter] => ) [manufacturer_name] => Array ( [getter] => getWsManufacturerName [setter] => ) [quantity] => Array ( [getter] => [setter] => ) [type] => Array ( [getter] => getWsType [setter] => setWsType ) ) [associations] => Array ( [categories] => Array ( [resource] => category [fields] => Array ( [id] => Array ( [required] => 1 ) ) ) [images] => Array ( [resource] => image [fields] => Array ( [id] => Array ( ) ) ) [combinations] => Array ( [resource] => combinations [fields] => Array ( [id] => Array ( [required] => 1 ) ) ) [product_option_values] => Array ( [resource] => product_options_values [fields] => Array ( [id] => Array ( [required] => 1 ) ) ) [product_features] => Array ( [resource] => product_feature [fields] => Array ( [id] => Array ( [required] => 1 ) [custom] => Array ( [required] => ) [id_feature_value] => Array ( [required] => 1 [xlink_resource] => product_feature_values ) ) ) [tags] => Array ( [resource] => tag [fields] => Array ( [id] => Array ( [required] => 1 ) ) ) [stock_availables] => Array ( [resource] => stock_available [fields] => Array ( [id] => Array ( [required] => 1 ) [id_product_attribute] => Array ( [required] => 1 ) ) [setter] => ) [accessories] => Array ( [resource] => product [fields] => Array ( [id] => Array ( [required] => 1 [xlink_resource] => product ) ) ) [product_bundle] => Array ( [resource] => products [fields] => Array ( [id] => Array ( [required] => 1 ) [quantity] => Array ( ) ) ) ) ) [id] => 1 [id_lang:protected] => [id_shop:protected] => 1 [id_shop_list] => [get_shop_from_context:protected] => 1 [table:protected] => product [identifier:protected] => id_product [fieldsRequired:protected] => Array ( [0] => price ) [fieldsSize:protected] => Array ( [reference] => 32 [supplier_reference] => 32 [location] => 64 [ean13] => 13 [upc] => 12 ) [fieldsValidate:protected] => Array ( [id_shop_default] => isUnsignedId [id_manufacturer] => isUnsignedId [id_supplier] => isUnsignedId [reference] => isReference [supplier_reference] => isReference [location] => isReference [width] => isUnsignedFloat [height] => isUnsignedFloat [depth] => isUnsignedFloat [weight] => isUnsignedFloat [quantity_discount] => isBool [ean13] => isEan13 [upc] => isUpc [cache_is_pack] => isBool [cache_has_attachments] => isBool [is_virtual] => isBool [id_category_default] => isUnsignedId [id_tax_rules_group] => isUnsignedId [on_sale] => isBool [online_only] => isBool [ecotax] => isPrice [minimal_quantity] => isUnsignedInt [price] => isPrice [wholesale_price] => isPrice [unity] => isString [additional_shipping_cost] => isPrice [customizable] => isUnsignedInt [text_fields] => isUnsignedInt [uploadable_files] => isUnsignedInt [active] => isBool [redirect_type] => isString [id_product_redirected] => isUnsignedId [available_for_order] => isBool [available_date] => isDateFormat [condition] => isGenericName [show_price] => isBool [indexed] => isBool [visibility] => isProductVisibility [advanced_stock_management] => isBool [date_add] => isDateFormat [date_upd] => isDateFormat ) [fieldsRequiredLang:protected] => Array ( [0] => link_rewrite [1] => name ) [fieldsSizeLang:protected] => Array ( [meta_description] => 255 [meta_keywords] => 255 [meta_title] => 128 [link_rewrite] => 128 [name] => 128 [available_now] => 255 [available_later] => 255 ) [fieldsValidateLang:protected] => Array ( [meta_description] => isGenericName [meta_keywords] => isGenericName [meta_title] => isGenericName [link_rewrite] => isLinkRewrite [name] => isCatalogName [description] => isCleanHtml [description_short] => isCleanHtml [available_now] => isGenericName [available_later] => IsGenericName ) [tables:protected] => Array ( ) [image_dir:protected] => [image_format:protected] => jpg [def:protected] => Array ( [table] => product [primary] => id_product [multilang] => 1 [multilang_shop] => 1 [fields] => Array ( [id_shop_default] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_manufacturer] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_supplier] => Array ( [type] => 1 [validate] => isUnsignedId ) [reference] => Array ( [type] => 3 [validate] => isReference [size] => 32 ) [supplier_reference] => Array ( [type] => 3 [validate] => isReference [size] => 32 ) [location] => Array ( [type] => 3 [validate] => isReference [size] => 64 ) [width] => Array ( [type] => 4 [validate] => isUnsignedFloat ) [height] => Array ( [type] => 4 [validate] => isUnsignedFloat ) [depth] => Array ( [type] => 4 [validate] => isUnsignedFloat ) [weight] => Array ( [type] => 4 [validate] => isUnsignedFloat ) [quantity_discount] => Array ( [type] => 2 [validate] => isBool ) [ean13] => Array ( [type] => 3 [validate] => isEan13 [size] => 13 ) [upc] => Array ( [type] => 3 [validate] => isUpc [size] => 12 ) [cache_is_pack] => Array ( [type] => 2 [validate] => isBool ) [cache_has_attachments] => Array ( [type] => 2 [validate] => isBool ) [is_virtual] => Array ( [type] => 2 [validate] => isBool ) [id_category_default] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedId ) [id_tax_rules_group] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedId ) [on_sale] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [online_only] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [ecotax] => Array ( [type] => 4 [shop] => 1 [validate] => isPrice ) [minimal_quantity] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedInt ) [price] => Array ( [type] => 4 [shop] => 1 [validate] => isPrice [required] => 1 ) [wholesale_price] => Array ( [type] => 4 [shop] => 1 [validate] => isPrice ) [unity] => Array ( [type] => 3 [shop] => 1 [validate] => isString ) [unit_price_ratio] => Array ( [type] => 4 [shop] => 1 ) [additional_shipping_cost] => Array ( [type] => 4 [shop] => 1 [validate] => isPrice ) [customizable] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedInt ) [text_fields] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedInt ) [uploadable_files] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedInt ) [active] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [redirect_type] => Array ( [type] => 3 [shop] => 1 [validate] => isString ) [id_product_redirected] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedId ) [available_for_order] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [available_date] => Array ( [type] => 5 [shop] => 1 [validate] => isDateFormat ) [condition] => Array ( [type] => 3 [shop] => 1 [validate] => isGenericName [values] => Array ( [0] => new [1] => used [2] => refurbished ) [default] => new ) [show_price] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [indexed] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [visibility] => Array ( [type] => 3 [shop] => 1 [validate] => isProductVisibility [values] => Array ( [0] => both [1] => catalog [2] => search [3] => none ) [default] => both ) [cache_default_attribute] => Array ( [type] => 1 [shop] => 1 ) [advanced_stock_management] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [date_add] => Array ( [type] => 5 [shop] => 1 [validate] => isDateFormat ) [date_upd] => Array ( [type] => 5 [shop] => 1 [validate] => isDateFormat ) [meta_description] => Array ( [type] => 3 [lang] => 1 [validate] => isGenericName [size] => 255 ) [meta_keywords] => Array ( [type] => 3 [lang] => 1 [validate] => isGenericName [size] => 255 ) [meta_title] => Array ( [type] => 3 [lang] => 1 [validate] => isGenericName [size] => 128 ) [link_rewrite] => Array ( [type] => 3 [lang] => 1 [validate] => isLinkRewrite [required] => 1 [size] => 128 [ws_modifier] => Array ( [http_method] => 2 [modifier] => modifierWsLinkRewrite ) ) [name] => Array ( [type] => 3 [lang] => 1 [validate] => isCatalogName [required] => 1 [size] => 128 ) [description] => Array ( [type] => 6 [lang] => 1 [validate] => isCleanHtml ) [description_short] => Array ( [type] => 6 [lang] => 1 [validate] => isCleanHtml ) [available_now] => Array ( [type] => 3 [lang] => 1 [validate] => isGenericName [size] => 255 ) [available_later] => Array ( [type] => 3 [lang] => 1 [validate] => IsGenericName [size] => 255 ) ) [associations] => Array ( [manufacturer] => Array ( [type] => 1 ) [supplier] => Array ( [type] => 1 ) [default_category] => Array ( [type] => 1 [field] => id_category_default [object] => Category ) [tax_rules_group] => Array ( [type] => 1 ) [categories] => Array ( [type] => 2 [field] => id_category [object] => Category [association] => category_product ) [stock_availables] => Array ( [type] => 2 [field] => id_stock_available [object] => StockAvailable [association] => stock_availables ) [l] => Array ( [type] => 2 [field] => id_product [foreign_field] => id_product ) ) [classname] => Product ) [update_fields:protected] => [force_id] => [packItems] => Array ( ) ) </pre></li><li><b>AdminProductsControllerCore->renderForm</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_2').style.display = (document.getElementById('psTrace_2').style.display != 'block') ? 'block' : 'none'; return false">[line 1751 - classes/controller/AdminController.php]</a><div class="psTrace" id="psTrace_2" ><pre>1745. if ($this->display == 'edit' || $this->display == 'add') 1746. { 1747. if (!$this->loadObject(true)) 1748. return; 1749. <span class="selected">1750. $this->content .= $this->renderForm(); </span>1751. } 1752. elseif ($this->display == 'view') 1753. { 1754. // Some controllers use the view action without an object 1755. if ($this->className) </pre></div></li><li><b>AdminControllerCore->initContent</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_3').style.display = (document.getElementById('psTrace_3').style.display != 'block') ? 'block' : 'none'; return false">[line 2362 - controllers/admin/AdminProductsController.php]</a><div class="psTrace" id="psTrace_3" ><pre>2356. $this->tpl_list_vars['base_url'] = preg_replace('#&id_category=[0-9]*#', '', self::$currentIndex).'&token='.$this->token; 2357. } 2358. // @todo module free 2359. $this->tpl_form_vars['vat_number'] = file_exists(_PS_MODULE_DIR_.'vatnumber/ajax.php'); 2360. <span class="selected">2361. parent::initContent(); </span>2362. } 2363. 2364. public function renderKpis() 2365. { 2366. $time = time(); </pre></div></li><li><b>AdminProductsControllerCore->initContent</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_4').style.display = (document.getElementById('psTrace_4').style.display != 'block') ? 'block' : 'none'; return false">[line 180 - classes/controller/Controller.php]</a><div class="psTrace" id="psTrace_4" ><pre>174. 175. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) 176. $this->initHeader(); 177. 178. if ($this->viewAccess()) <span class="selected">179. $this->initContent(); </span>180. else 181. $this->errors[] = Tools::displayError('Access denied.'); 182. 183. if (!$this->content_only && ($this->display_footer || (isset($this->className) && $this->className))) 184. $this->initFooter(); </pre></div></li><li><b>ControllerCore->run</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_5').style.display = (document.getElementById('psTrace_5').style.display != 'block') ? 'block' : 'none'; return false">[line 373 - classes/Dispatcher.php]</a><div class="psTrace" id="psTrace_5" ><pre>367. // Execute hook dispatcher 368. if (isset($params_hook_action_dispatcher)) 369. Hook::exec('actionDispatcher', $params_hook_action_dispatcher); 370. 371. // Running controller <span class="selected">372. $controller->run(); </span>373. } 374. catch (PrestaShopException $e) 375. { 376. $e->displayMessage(); 377. } </pre></div></li><li><b>DispatcherCore->dispatch</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_6').style.display = (document.getElementById('psTrace_6').style.display != 'block') ? 'block' : 'none'; return false">[line 54 - admin/index.php]</a><div class="psTrace" id="psTrace_6" ><pre>48. $_POST['controller'] = strtolower($_POST['tab']); 49. if (!isset($_REQUEST['controller']) && isset($_REQUEST['tab'])) 50. $_REQUEST['controller'] = strtolower($_REQUEST['tab']); 51. 52. // Prepare and trigger admin dispatcher <span class="selected">53. Dispatcher::getInstance()->dispatch(); </span></pre></div></li></ul></div> This ERROR may be related to this topic, http://www.prestashop.com/forums/topic/323111-some-tabs-was-not-loaded-correctly-would-you-like-to-reload-them/page-2#entry1774654 Link to comment Share on other sites More sharing options...
vekia Posted August 25, 2014 Share Posted August 25, 2014 somehow it displays specification of $product object you modified something in controllers / admin templates? do you use there some {$product|print_r} (in .tpl files) or print_r($product) somewhere in php files? Link to comment Share on other sites More sharing options...
ecommdev Posted August 26, 2014 Author Share Posted August 26, 2014 I haven't edited any of those files. The only things, 1) started using prestashop manager 2) updated many modules Can't use prestashop store until its fixed, very concerned. Any instructions or clues how to fix the issue? Link to comment Share on other sites More sharing options...
ecommdev Posted August 27, 2014 Author Share Posted August 27, 2014 BUMP: Any ideas for corrections? This appears to be happening to multiple stores besides my own store. Please advise. Link to comment Share on other sites More sharing options...
N02SRT Posted August 28, 2014 Share Posted August 28, 2014 Bump having the same issues. Link to comment Share on other sites More sharing options...
Fernand WAFO Posted August 30, 2014 Share Posted August 30, 2014 hi Check that languages correspond cdt, Link to comment Share on other sites More sharing options...
ecommdev Posted August 31, 2014 Author Share Posted August 31, 2014 Can you advise how to check that languages correspond? Let me know. Link to comment Share on other sites More sharing options...
jillmandy Posted September 11, 2014 Share Posted September 11, 2014 I'm having the same issue Link to comment Share on other sites More sharing options...
jillmandy Posted September 11, 2014 Share Posted September 11, 2014 Oh I figured it out. Everything goes under the "Home" Category, then it all shows up properly. I had multiple categories under the Root and it could only read the ones under "Home" Link to comment Share on other sites More sharing options...
ecommdev Posted September 19, 2014 Author Share Posted September 19, 2014 Issue fixed. Post mark solved. Link to comment Share on other sites More sharing options...
Recommended Posts