Results 1 to 2 of 2

Fatal error: Call to a member function add_wishlist()

This is a discussion on Fatal error: Call to a member function add_wishlist() within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Dear all, I am getting the following error everytime I try to add a product to the wishlist Fatal error ...

      
  1. #1
    Member
    Join Date
    Dec 2008
    Location
    MALTA
    Posts
    34
    Rep Power
    0


    Default Fatal error: Call to a member function add_wishlist()

    Dear all,

    I am getting the following error everytime I try to add a product to the wishlist

    Fatal error: Call to a member function add_wishlist() on a non-object in /home/....../wishlist.php on line 25

    The following is the code on line 25:

    PHP Code:
      if(tep_session_is_registered('wishlist_id')) {
     
    $wishList->add_wishlist($wishlist_id$attributes_id); 
    Furthermore I am also getting the same errors when I try to log in and also log off. Can anyone help please?

  2. #2
    New Member
    Join Date
    Oct 2009
    Posts
    21
    Rep Power
    0


    Default Re: Fatal error: Call to a member function add_wishlist()

    Quote Originally Posted by renrom View Post
    Fatal error: Call to a member function add_wishlist() on a non-object in /home/....../wishlist.php on line 25
    Your getting this error when you log in and log out?

Similar Threads

  1. Help please with.. Fatal error: Call to a member function
    By ozstar in forum osCmax v2 Installation issues
    Replies: 13
    Last Post: 12-17-2009, 10:34 AM
  2. Replies: 0
    Last Post: 10-14-2009, 12:32 PM
  3. Replies: 3
    Last Post: 03-08-2008, 04:32 PM
  4. PayPal error "Call to a member function on a non-object
    By brendanl79 in forum osCmax v2 Customization/Mods
    Replies: 13
    Last Post: 06-29-2007, 01:20 PM
  5. Fatal error: Call to a member function on a non-object in
    By tb1234 in forum osCommerce 2.2 Discussion
    Replies: 0
    Last Post: 05-17-2007, 11:54 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •