Call to a member function GetAssoc()

Discussion in 'PHP' started by seoexpert28, Dec 30, 2011.

  1. #1
    Hello All
    We are using PHP ld 2.2 version and we are facing these error at admin end we are using this version since last 2 years and we have not faced any problem like that please review this error and let us know thanks

    website
    antrimdirectory.co.uk

    Call to a member function GetAssoc() on a non-object in /home/d01/public_html/antrimdirectory.co.uk/admin/conf_payment.php on line 79
    Fatal error: Call to a member function GetAssoc() on a non-object in /home/d01/public_html/antrimdirectory.co.uk/admin/dir_links.php on line 86
    We Are Useing MySql Version 5.1 its was old Version 4.something but now its auto upgrde now in 5.1 so how me solve this problem
     
    seoexpert28, Dec 30, 2011 IP
  2. Basti

    Basti Active Member

    Messages:
    625
    Likes Received:
    6
    Best Answers:
    3
    Trophy Points:
    90
    #2
    You should at least share some code. Alone from the error you will unlikely get help. As something within the code ( a function called GetAssoc ) is wrong.

    Seb
     
    Basti, Dec 30, 2011 IP
  3. AlexanderZ

    AlexanderZ Member

    Messages:
    28
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    48
    #3
    A the variable on which you are calling that method is a primitive (most likely null).
     
    AlexanderZ, Jan 3, 2012 IP