| User | Post |
|
4:05 am June 7, 2010
| pixeline
Member
| | | |
|
| posts 3 |
|
|
Using version 1.2.2 with wordpress 2.9.2.
When trying to create a new post i get this fatal error:
Fatal error: Call to undefined function mb_strtolower() in /home/infograp/public_html/wp-content/plugins/role-scoper/admin/admin_rs.php on line 175
UPDATE:
I found another error message, when clicking on posts > Edit:
Role Scoper Config Error: the specified taxonomy () has not defined its relation to the object data source. A col_term2obj_tid or col_objtable_tid setting is required.
Please help!
Thanks a lot,
Alexandre
|
|
|
9:24 pm June 7, 2010
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
You must be running a PHP version that doesn't support that function. Try editing the RS php files to change every instance of mb_strtolower to strtolower
|
|
|
2:41 pm June 21, 2010
| cwjordan
Member
| | | |
|
| posts 2 |
|
|
As I understand it, I would need to recompile php to make the mbstrings functions available. I'm in the same boat as pixeline, and since it's not convenient to have php recompiled at this time, and I didn't feel like editing all the RS php files to change every instance of mb_strtolower to strtolower, instead I added a function to functions.php in my theme that made mb_strtolower a call to strtolower, like so:
<?php
/* workaround for mb_strtolower not being enabled in php */
function mb_strtolower ( $content ) {
$content = strtolower( $content );
return $content;
}
?>
I suppose that will cause problems in the case where mb_strtolower is actually needed, but it's a reasonable workaround for now, at least I can post without error.
|
|
|
10:08 am June 22, 2010
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
For the next release, I'm planning to revert to using strtolower unless SCOPER_MB_STRINGS is defined as true.
|
|
|
5:43 pm June 22, 2010
| cwjordan
Member
| | | |
|
| posts 2 |
|
|
Kevin, that sounds good to me, thanks!
|
|
|
12:21 am June 23, 2010
| pixeline
Member
| | | |
|
| posts 3 |
|
|
That's great, thanks a lot!
|
|