1
avtx30
search.php: member function on a non-object
  • 2007/3/4 7:57

  • avtx30

  • Not too shy to talk

  • Posts: 181

  • Since: 2006/10/12


I had this error when was trying to "Show all" news that an user post. I don't know how to fix this. Please help me!

Fatal errorCall to a member function on a non-object in /var/www/html/search.php on line 211


And the search.php read:

Resized Image

XOOPS Version: XOOPS 2.0.16
XOOPS Theme: namacha
XOOPS Template Set: default
PHP Version: 4.3.9
MySQL Version: 4.1.20
Server Software: Apache/2.0.52 (CentOS)
User's Browser: Firefox/2.0
PHP Debug Messages: On
MySQL Debug Messages: Off
Smarty Debug Messages: Off

2
Dave_L
Re: search.php: member function on a non-object
  • 2007/3/4 11:32

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


For debugging purposes, after:

$module =& $module_handler->get($mid);

Insert:

var_dump('mid', $mid, 'module', $module);#*#DEBUG#

In the future, it would be better to post code using the [ code ] [ /code ] tags, rather than posting a screenshot.

Login

Who's Online

285 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 285


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