PHP Fatal error: Call to a member function getRow

Hello everyone,

I recently ran into an issue related to PHP, does anyone know how to fix this?

[13-Nov-2015 13:38:02 America/New_York] PHP Fatal error:  Call to a member function getRow() on a non-object in /home/*user*/public_html/www.mysite.com/inc/utils.inc.php on line 447

Thanks!

 

I have Dolphin 7.2.1, everything is green. the utils.inc.php is not modified.

 

Software requirements

  • PHP: 5.5.30 - OK
    • allow_url_fopen = On - OK
    • allow_url_include = Off - OK
    • magic_quotes_gpc = Off - OK
    • memory_limit = 134217728 - OK
    • post_max_size = 209715200 - OK
    • upload_max_filesize = 262144000 - OK
    • register_globals = Off - OK
    • safe_mode = Off - OK
    • disable_functions = - OK
    • php module: curl = curl - OK
    • php module: gd = gd - OK
    • php module: mbstring = mbstring - OK
    • php module: xsl = xsl - OK
    • php module: json = json - OK
    • php module: fileinfo = fileinfo - OK
    • php module: openssl = openssl - OK
    • php module: zip = zip - OK
    • php module: ftp = ftp - OK
    • php module: calendar = calendar - OK
    • php module: exif = exif - OK
  • MySQL: 5.5.46-cll - OK
  • Web-server: Apache/2.4.16 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4 
    • rewrite_module - OK
  • OS: Linux cpanel-02.worldispnetwork.com 3.10.0-229.11.1.el7.x86_64 #1 SMP Thu Aug 6 01:06:18 UTC 2015 x86_64
Quote · 14 Nov 2015

We need more information.  Does this occur on just trying to do one thing?  Is the rest of the site operating.  Does it just happen once in awhile or all the time?

Geeks, making the world a better place
Quote · 14 Nov 2015

I noticed it the Cron error log, it started since install a week ago and shows on the error log every minute since. Other that the site operates well, still figuring out a few things. Here are the lines in the utils.inc.php file:

445    // don't send mail to the user if he/she decided to not receive any site's notifications, unless it is critical emails (like email confirmation)
446    if (!$bForceSend) {
447        $aRealRecipient = $GLOBALS['MySQL']->getRow("SELECT * FROM `Profiles` WHERE `Email`='" . process_db_input($sRecipientEmail, BX_TAGS_NO_ACTION, BX_SLASHES_NO_ACTION) . "' LIMIT 1");
448        if ($aRealRecipient && 1 != $aRealRecipient['EmailNotify'])
449            return true;

 

I do have an issue with videos files stuck in "pending processing" but I think the problems are not related.

Quote · 14 Nov 2015

Hi There

 

I get the same error & can't seem to access any of my pages - including /administration.

 

See screenshot below

 

Database Error

 

Any assistance would greatly be appreciated.

Picture5.png · 118.5K · 344 views
Quote · 14 Nov 2015

 

Hi There

 

I get the same error & can't seem to access any of my pages - including /administration.

 

See screenshot below

 

Database Error

 

Any assistance would greatly be appreciated.

 In your case the error message is very clear; Dolphin can not connect to the database.  It could be your database server is down.  Contact your host and ask them to check it for you.

Geeks, making the world a better place
Quote · 14 Nov 2015

Thank you Geek-Girl...

 

I don't want to ride on someone else's Forum Topic... I'm also hosting it myself. I will open a New Topic.

 

Thank You

Quote · 14 Nov 2015

Hello, anyone can help me please, I changed provider and I am getting the same error !!!  

Mike
Quote · 21 Nov 2015

 

Hello, anyone can help me please, I changed provider and I am getting the same error !!!  

Make sure the database user and database name are correct - these can sometimes change after a move. Also make sure the database data was restored, as well as that the correct user password is set, and the user has access to the database.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 21 Nov 2015

 

 

Hello, anyone can help me please, I changed provider and I am getting the same error !!!  

Make sure the database user and database name are correct - these can sometimes change after a move. Also make sure the database data was restored, as well as that the correct user password is set, and the user has access to the database.

Does the prefix matter, my username was libertin_dolp520 after migration it looks like lifestyle_dolp520 

Mike
Quote · 21 Nov 2015

 

Does the prefix matter, my username was libertin_dolp520 after migration it looks like lifestyle_dolp520 

Yes.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 21 Nov 2015

 

 

Does the prefix matter, my username was libertin_dolp520 after migration it looks like lifestyle_dolp520 

Yes.

I sent you a PM 

Mike
Quote · 21 Nov 2015
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.