Fatal error: Call to a member function getId()

Hello

Im getting this Fatal error messages : when visitor click any ads from the site

 

Fatal error: Call to a member function getId() on a non-object in /homez/XXXXXXX/public_html/XXXXXX/inc/classes/BxDolPageView.php(572) : eval()'d code on line 1

 

I check like #1 by downloading Dolphin 7.2 to check >> BxDolPageView.php and my old BxDolPageView.php

but they have the same code on line one

 

__________________________________________________________________________________________________

 

<?php
/***************************************************************************
*                            Dolphin Smart Community Builder
*                              -------------------
*     begin                : Mon Mar 23 2006
*     copyright            : (C) 2007 BoonEx Group
*     website              : http://www.boonex.com
* This file is part of Dolphin - Smart Community Builder
*
* Dolphin is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the
* License, or  any later version.
*
* Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
* You should have received a copy of the GNU General Public License along with Dolphin,
* see license.txt file; if not, write to marketing@boonex.com
***************************************************************************/

bx_import('BxDolPrivacy');
bx_import('BxDolPageViewAdmin'); // for caching abilities


Post Reply - if you going to help - No for - bla bla bla bla
Quote · 29 Aug 2010

eval()'d code on line 1

That means error exist at line 1 on code being called by the php eval function. The error is not where you think it is. Your error is in a block of code being processed by eval. In other words. The error exists in a php page block somewhere.

https://www.deanbassett.com
Quote · 29 Aug 2010

how I get fix please

Thank's

 

eval()'d code on line 1

That means error exist at line 1 on code being called by the php eval function. The error is not where you think it is. Your error is in a block of code being processed by eval. In other words. The error exists in a php page block somewhere.

 

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 29 Aug 2010

Yea. I am psychic.

I put my fingers to my forehead, and babble a few words that don't exist in any dictionary and boom. I know exactly whats wrong.

Dude. I said the error is occurring within some eval code. Thus is a php block. So you have to find it.

1) Are there any php blocks on the page with the ads?

2) If so, did you move any to the inactive area in page builder to see if the error went away?

3) Have you even tried anything?

I am not magic. There is a limit to what i can do and i don't have the time to look through your site to find it.



https://www.deanbassett.com
Quote · 29 Aug 2010

Dude >> Greate Job man

 

I move the Ad Location to the  inactive block

and refresh the site and is workign perfect I add the Ad Location back is workign perfect two

 

Thank's a lot man

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 29 Aug 2010
 
 
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.