11
rowdie
Re: Fatal error: Call to a member function on a non-object ...
  • 2004/12/18 2:10

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


If it's a case of changing all the foreach statements then I'd suggest leaving it to the core developers. The XOOPS core is filled with foreach loops written that way - it's not just a case of changing a few files, it's a major change, best left to the ones who really know the code imho.

I saw that it's also used in the Smarty plugin - so I took at look at the Smarty website and found one post from someone having problems with foreach... they were advised to upgrade the Zend-optimizer. Just for the record, are you running the latest zend-optimizer? I was just curious after reading the advice from the Smarty website.

Rowd

12
EmptyMind
Re: Fatal error: Call to a member function on a non-object ...
  • 2004/12/18 2:12

  • EmptyMind

  • Just popping in

  • Posts: 6

  • Since: 2004/12/17


2.5.0 not the LATEST.. let me update that and see what happens..

13
EmptyMind
Re: Fatal error: Call to a member function on a non-object ...
  • 2004/12/18 2:23

  • EmptyMind

  • Just popping in

  • Posts: 6

  • Since: 2004/12/17


Well.. appears that was actually the problem.. go figure..

ZendOptimizer 2.5.7 installed and fixes the error..

All you who are having this problem.. might be interested in calling your hosting company and letting them know that when they upgrade to 4.3.10 they need to ensure they upgrade the ZendOptimizer libraries as well.. :)

All the best..

14
CrazyJoe
Re: Fatal error: Call to a member function on a non-object ...
  • 2004/12/19 1:17

  • CrazyJoe

  • Friend of XOOPS

  • Posts: 2

  • Since: 2004/6/12


WOW!

Thanks for all the fast replies and especially to you EmptyMind for all the hard work to find the fix.

Great Job to All !

15
usera
Re: Fatal error: Call to a member function on a non-object ...
  • 2004/12/21 15:28

  • usera

  • Just popping in

  • Posts: 29

  • Since: 2004/8/28


I got this same error today on one of the XOOPS sites I installed on a shared host. However it doesn't appear to be happening for all the sites... why is that? is it from a module? I have 2.0.7.3 and 2.0.9 sites working so I don't think it's from XOOPS itself.

Oh I see. I created symbolic links to php.ini that reference old installs versus the new installs which didn't have it.

16
alecao
Re: Fatal error: Call to a member function on a non-object ...
  • 2004/12/24 2:15

  • alecao

  • Just popping in

  • Posts: 1

  • Since: 2004/11/14


My site works with XOOPS 2.0.9b and got the same error. But my question is: this error happens in wich XOOPS version? Anyone got trouble with other XOOPS versions?

Login

Who's Online

372 user(s) are online (309 user(s) are browsing Support Forums)


Members: 1


Guests: 371


heyula,

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