1
masel
Array to string conversion
  • 2014/2/21 18:25

  • masel

  • Friend of XOOPS

  • Posts: 34

  • Since: 2004/10/6


After upgrade XOOPS from 2.0.18 to 2.5.6 I see debug note
"Array to string conversion in file /class/theme_blocks.php line 198"
All modules upgrade too.

How to cure it?

2
Mamba
Re: Array to string conversion
  • 2014/2/21 18:32

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


What theme are you using?

I assume, you've run the Upgrade, right?

Did you also clear the Cache? If not, go to Admin --> Maintenance, clear Cache there, and see if it helps.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

3
masel
Re: Array to string conversion
  • 2014/2/22 13:30

  • masel

  • Friend of XOOPS

  • Posts: 34

  • Since: 2004/10/6


I clear Cache and change themes - errors, errors, errors again. I chage templates - errors again, 69 identical error's massege. If switch block's cache - no errors.

4
masel
Re: Array to string conversion
  • 2014/3/1 20:43

  • masel

  • Friend of XOOPS

  • Posts: 34

  • Since: 2004/10/6


errors

5
Mamba
Re: Array to string conversion
  • 2014/3/1 23:17

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


You need to find out which module is causing it.
Try to deactivate one module at a time in the Admin, and after each deactivation, check if the errors are still there.

We just need to know exactly which module is causing this issue. Once you identify the module, we can see if we can help further.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

6
masel
Re: Array to string conversion
  • 2014/3/2 16:48

  • masel

  • Friend of XOOPS

  • Posts: 34

  • Since: 2004/10/6


Errors from Newbb 4.33 and Catads 1.53

Thanks, understand idea.

7
Mamba
Re: Array to string conversion
  • 2014/3/2 21:37

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Both of them?

The same error on the same code line?
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

8
masel
Re: Array to string conversion
  • 2014/3/3 19:51

  • masel

  • Friend of XOOPS

  • Posts: 34

  • Since: 2004/10/6


Yes, both.

Notice: Array to string conversion in file /class/theme_blocks.php line 198
Notice: Array to string conversion in file /class/theme_blocks.php line 198
Notice: Array to string conversion in file /class/theme_blocks.php line 198
Notice: Array to string conversion in file /class/theme_blocks.php line 198
....................
in all 66 notice

9
Mamba
Re: Array to string conversion
  • 2014/3/4 19:11

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


I'll see if I can replicate it, if not, I'll get back to you.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

10
Mamba
Re: Array to string conversion
  • 2014/3/8 23:37

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Go to the file

/class/theme_blocks.php

and on line 198 change from:

array_diff_assoc

to

array_diff_key

This should fix the issue.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

287 user(s) are online (182 user(s) are browsing Support Forums)


Members: 0


Guests: 287


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