Well I test bluee solution and donncha solution and all works ... how odd!
tks
beduino
Well I test bluee solution and donncha solution and all works ... how odd!
tks
beduino
I posted a few weeks back about not know where to add the "false" statement and the reply was to look in the wp-includes directory for the file...
Yet, even though I did and auto upgrade to 2.7.1, when I look in the wp-includes directory, there is no wpmu-functions.php file.
I logged in as admin and when to the dashboard General Settings and down at the bottom right of the page the version shows 2.7.1.
So now what?
Can anyone help out?
Thanks,
Payne
Bluee's solution worked for me too! Perhaps someone can let Donncha know? I think that there is a bug-tracking system somewhere...
He already knows, it was already fixed in trac.
More or less that is; current trunk holds a workaround which disables the function using it... http://trac.mu.wordpress.org/ticket/998
Thanks for fixing this issue, it was such a pain in the ass not being able to post FLASH/IFRAMES.
I have had this problem for some time now, it has not been a priority for us admins since we are the only ones affected, however, looking closer at the issue this seems to be due to incorrect values being stored in the array_merge
The original code (wpmu-functions.php line 1975):
$user->{$cap_key} = array_merge(array( 'administrator' => '1' ), (array)$user->{$cap_key});
Changed to:
$user->{$cap_key} = array_merge(array( 'administrator' => '1' ), array($user->{$cap_key}));
Solves the problem.
Thanks bluee
find:
$user->{$cap_key} = array_merge(array( 'administrator' => '1' ), (array)$user->{$cap_key});
replace:
$user->{$cap_key} = array_merge(array( 'Administrator' => '1' ), (array)$user->{$cap_key});
It seems that this issue was not fixed in wpmu 2.8.2.
Well why not submit it to trac, that way it will get fixed properly.
There's already a ticket, which I've reopened because I can't see that the change has been made in 2.8.2
The Administrator change isn't the correct way to fix it as that role doesn't exist. I can't replicate the problem though, even after installing the unfiltered_html plugin.
After reading this thread and making the change based on the trac ticket, could someone confirm that I have this correct?
$user->{$cap_key} = array_merge(array( 'administrator' => '1' ), array($user->{$cap_key}));
return false;
}
The part I'm not sure of is the return false. I changed the return from true to false based on the ticket, which says "If the typo fixed is return false, changeset 1764 workaround needed? " but I'm not sure what that means, so any confirmation or correction would be great. I am no longer seeing the original error.
I appreciate your help.
What version of WPMU are you running? I'm surprised if this is isn't fixed in the latest release.
SteveAtty,
I am running 2.7.1 (db 9872). The error occurred after adding a user (set as Editor) via Admim > edit > Add a new user.
Thanks.
Does anyone know if this has been fixed as I haven't had the issue since 2.8.3
Great! It worked for me too. Thanks.
I'm using version 2.9.2 but cannot locate any of the codes listed above in my wpmu-functions.php file. Is there a new fix?
Thank you,
Lucy
« Previous 1 2