1
terrion
After 2.5.6 upgrade profile module gives white screen
  • 2013/8/27 20:19

  • terrion

  • Friend of XOOPS

  • Posts: 299

  • Since: 2004/9/19


Last night I updated one of my sites from xoops 2.5.5 to 2.5.6 and now when i try to view someones profile I get a blank white screen. I turned on the inline debugger and got the following error message on the screen:

Fatal error: Cannot make static method MyTextSanitizer::getInstance() non static in class MyAlbumTextSanitizer in /home/content/35/3698335/html/totjf/modules/myalbum/class/myalbum.textsanitizer.php on line 7

Any ideas how to fix this?


2
redheadedrod
Re: After 2.5.6 upgrade profile module gives white screen

Did you also update the module to the one included?

3
Mamba
Re: After 2.5.6 upgrade profile module gives white screen
  • 2013/8/27 23:58

  • Mamba

  • Moderator

  • Posts: 11381

  • Since: 2004/4/23


go to:
myalbum/class/myalbum.textsanitizer.php

and around line 35 add the word "static" to function &getInstance(), so it looks like this:

static function &getInstance()


or go and download the latest version of MyAlbum...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

4
terrion
Re: After 2.5.6 upgrade profile module gives white screen
  • 2013/8/28 5:14

  • terrion

  • Friend of XOOPS

  • Posts: 299

  • Since: 2004/9/19


Thanks Mamba, that completely fixed my problem.

5
option
Re: After 2.5.6 upgrade profile module gives white screen
  • 2014/3/12 4:34

  • option

  • Just popping in

  • Posts: 50

  • Since: 2006/5/24


Te amo Mamba :)
Quote:

Mamba wrote:
go to:
myalbum/class/myalbum.textsanitizer.php

and around line 35 add the word "static" to function &getInstance(), so it looks like this:

static function &getInstance()


or go and download the latest version of MyAlbum...

6
guspel
Re: After 2.5.6 upgrade profile module gives white screen
  • 2020/8/2 23:53

  • guspel

  • Just popping in

  • Posts: 12

  • Since: 2012/2/25


Quote:

Mamba wrote:
go to:
myalbum/class/myalbum.textsanitizer.php

and around line 35 add the word "static" to function &getInstance(), so it looks like this:

static function &getInstance()


or go and download the latest version of MyAlbum...


Thanks you very much. Mamba

Login

Who's Online

170 user(s) are online (45 user(s) are browsing Support Forums)


Members: 0


Guests: 170


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