1.2.1 Fatal error: Call to a member function query() on a non-object

Discussion in 'Install/Upgrade Support' started by lots2blox, Oct 28, 2017.

  1. lots2blox

    lots2blox New Member

    Joined:
    Oct 28, 2017
    Messages:
    1
    Likes Received:
    0
    Hi I'm trying to install webid on my hostgator reseller server. I'm getting this error. I tried installing through softaculous and manually and I'm getting the same problem. I contacted hostgator for help and they weren't any help and basically said this is an issue with webid :/ I don't really know what I'm doing with PHP so any help would be much appreciated. Thank you in advance!

    Fatal error: Call to a member function query() on a non-object in /home/xxxxxx/public_html/includes/database/DatabasePDO.php on line 53


    LINE 49 - 58

    // to run a direct query
    public function direct_query($query)
    {
    try {
    $this->lastquery = $this->conn->query($query);
    }
    catch(PDOException $e) {
    $this->error_handler($e->getMessage());
    }
    }
     

Share This Page