Today When I run my store it says following error message..
Notice: Undefined offset: 4 in /var/www/vhosts/myhost.com/Myproject/app/design/frontend/tapestore/default/template/catalog/product/featured_list.phtml on line 171
The following code is found in that place...
166 <?php if ($desct) { ?>
167 <div class="product-grid-description">
168 <ul>
169 <?php
170 $i = 0;
171 while ($desctexpl[$i] && $i < 4) {
172 echo "<li>" . Mage::helper('core/string')->truncate($desctexpl[$i], '40') . "</li>";
173 $i++;
174 }
175 ?>
176 </ul>
177 </div>
178 <?php } ?>
Could any one suggest what might be the problem ? and how to solve it ?