1
mariane
problems with yogurt social network
  • 2008/7/5 11:21

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


hello im using yogurt social network module,the last version,i installed it succefully and everything work correctly, from a fiew days i notice that when i click on view account (only in admin account) i get this error :
Fatal error: Call to a member function getVar() on a non-object in /home/zeitouny/public_html/en/modules/yogurt/index.php on line 67

here is the line 67
$petitioner_uid = $petitioner->getVar('uid');

how can i resolve this problem?? thank you
the website is http://www.zeitouny.com
the road of success is always under construction

2
trabis
Re: problems with yogurt social network
  • 2008/7/5 14:23

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Try:

$petitioner_uid = is_object($petitioner)?$petitioner->getVar('uid'):0;

3
mariane
Re: problems with yogurt social network
  • 2008/7/5 17:01

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


hello i try this solution but i get this message :
Fatal error: Call to a member function getVar() on a non-object in /home/zeitouny/public_html/en/modules/yogurt/index.php on line 68

here the content of line 68 :
$petitioner_uname = $petitioner->getVar('uname');

thank you again
the road of success is always under construction

4
Anonymous
Re: problems with yogurt social network
  • 2008/7/6 22:36

  • Anonymous

  • Posts: 0

  • Since:


replace:
$petitioner_uname = $petitioner->getVar('uname');
with:
$petitioner_uname = is_object($petitioner)?$petitioner->getVar('uname'):0;

5
mariane
Re: problems with yogurt social network
  • 2008/7/7 10:47

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


thank you MOOOOOOOOOOOOF, i tried it and my account run correctly now
the road of success is always under construction

Login

Who's Online

227 user(s) are online (146 user(s) are browsing Support Forums)


Members: 0


Guests: 227


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits