1
leeky
class XoopsUser Error
  • 2006/7/31 15:36

  • leeky

  • Just popping in

  • Posts: 6

  • Since: 2006/7/28


I had this error:

NoticeObject of class XoopsUser could not be converted to int in file /modules/system/blocks/system_blocks.php line 247


After moving some blocks around using the admin module. How do I go around to resolve this error?

On XOOPS 2.0.14.

2
Dave_L
Re: class XoopsUser Error
  • 2006/7/31 16:11

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Try changing line 247 of modules/system/blocks/system_blocks.php

From:

if ($xoopsUser != '') {

To:

if (is_object($xoopsUser)) {

Let us know if that fixes it, and I'll post a bug report on the tracker.

3
leeky
Re: class XoopsUser Error
  • 2006/8/1 1:15

  • leeky

  • Just popping in

  • Posts: 6

  • Since: 2006/7/28


Sweet. There is no more error notice. Thank you Dave.

4
Dave_L
Re: class XoopsUser Error
  • 2006/8/1 8:55

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Thanks for reporting the result.

I've posted it on the bug tracker.

Login

Who's Online

370 user(s) are online (49 user(s) are browsing Support Forums)


Members: 0


Guests: 370


more...

Donat-O-Meter

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

Latest GitHub Commits