Hi All,
First I would like to say that there is awesome knowledge gained at this site and I am very impressed with the level of support available on this site.
About 2 months ago I had a great idea to start up a website and I knew nothing about where to start, thanks to all of your articles I now have a website that I can be proud of......except 1 issue that I cannot find a fix for....
I have installed the Wishlist 5_1 (http://addons.oscommerce.com/info/1682) and it functions perfectly, except the very first time you go to my site the following error is shown on the right hand side above my shopping cart.
Notice: Undefined property: wishlist::$wishID in /home/crocket/public_html/catalog/includes/classes/wishlist.php on line 144
If you refresh the page the error goes away and the website including the wishlist functions perfectly, the error does not return again until you close down your browser and start a new session.
the code around line 144 on the "catalog/includes/classes/wishlist.php" is as follows
142 function count_wishlist() { // get total number of items in wishlist
143 $total_items = 0;
144 if (is_array($this->wishID)) {
145 reset($this->wishID);
146 while (list($wishlist_id, ) = each($this->wishID)) {
147 $total_items++;
148 }
149 }
Is there any way of stopping the error from appearing as it does not seem to stop anything working
Any help would be appreciated.
If you are interested in seeing the issue you can see it at www.topshelf-rc.co.nz/catalog
Thanks in advance............Dave :)