REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Weird PHP error
#1
I'm getting an error when I do a usergroup change by using MyPS points in the MyStore, the usergroup is shown as changed on the forum and in ACP, but the user can't see the forums and a php error is thrown. The error goes away after log out, but comes back when you login again with that account. It also goes away after changing their usergroup back to normal.

[Image: 2yyclrr.jpg]

[Image: 34s174p.jpg]

Anyway to fix this? The users on Source never reply. This is 1.4 by the way, so it should be supported.
Reply
#2
Looks like the users on central never reply either...
Reply
#3
(Aug 14, 2010, 06:48 PM)PeaKay Wrote: Looks like the users on central never reply either...

Maybe because we don't understand the problem? >.>
Smile
Reply
#4
Same error I am getting, let's wait for Omni.
Reply
#5
Are you both running 1.4 or 1.6?
Reply
#6
1.4, it seems no one knows.
Reply
#7
I've had a brief look at the code and it seems that as part of loading a user's data, mybb merges an array containing their primary usergroup with an array containing their display group. It's erroring because that function expects two arrays and one of them isn't be passed as an array.

The function in question is array_merge() which in PHP4 DID accept parameters that weren't arrays, but in PHP5 it doesn't. I'd be interested to test this on PHP4 server to see if it still errors. My best guess is a compatibility error, but I don't know labrocca's code well enough to confirm it, because I don't know how he's handled changing the usergroup.

Lacarmen, is your server PHP5 too?

P.S Sorry I couldn't be more help.
Reply
#8
This isn't a plugin made by labrocca, it's made by Nickman of MyBBSource.

Any possible way to fix the compatibility error? I know my server is PHP5.
Reply
#9
Oh? Are we talking about the MyStore plugin then?
Reply
#10
Yes =P

"I'm getting an error when I do a usergroup change by using MyPS points in the MyStore"
XD
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Exclamation bans.php Plugin? Salsut 14 8,408 Jul 03, 2017, 08:15 PM
Last Post: Farrahs
  Image Verfication Error. Arya 3 1,909 Dec 21, 2016, 06:13 AM
Last Post: walter
  MySubscription error.. AJRiley 3 1,814 Jun 19, 2016, 11:54 PM
Last Post: Jiant
  MyAwards SQL error when clicking "Activate" in Plugins Gh0st 1 1,240 Feb 11, 2016, 03:26 PM
Last Post: Gh0st
  forum/myawards.php not showing? pompano 4 2,710 Feb 24, 2015, 10:02 AM
Last Post: Genesis

Forum Jump:


Users browsing this thread: 1 Guest(s)