Site stuffed

  • Anonymous - 2012-10-15

    I've recently moved hosting but confess that I haven't checked my genealogy site for a little while so don't know if the fault was brought across or introduced by the move.

    Anyway here's what I get:

    ERROR 2: get_class() expects parameter 1 to be object, integer given
    0 Error occurred on in function get_class
    1 called from line 1177 of file DB.php in function isError
    2 called from line 1099 of file DB.php in function connect
    3 called from line 199 of file functions.php in function check_db
    4 called from line 705 of file session.php in function require_once
    5 called from line 69 of file config.php in function require
    6 called from line 55 of file index.php

    Warning: get_class() expects parameter 1 to be object, integer given in /home/stubbyd/public_html/ on line 1177

    Is this something somebody can help with or am I doomed?

  • Stephen Arnold

    Stephen Arnold - 2012-10-15

    Dear ?? (You logged in with an anonymous google account and didn't sign your post)
    Sounds like you are now using at least PHP v5.3 where a change in INT calculations caused some strange results. It also sounds like you are not using the most current version of PGV - SVN v4.3.0

    You should upgrade and see if the problem persists (unlikely), and (2) see if your host is offering a newer PHP, v5.4.x


Log in to post a comment.