Skip to Content Skip to Menu

error message after pm reply

  • harry166
  • harry166
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
16 years 3 months ago #69888 by harry166
error message after pm reply was created by harry166
hello
I got a error message after each reply on a pm:

Fatal error: Unsupported operand types in /var/www/web239/html/dfools/includes/router.php on line 141

I use:
joomla 1.5
fireboard 1.04
uddeim 1.2

I have this after I moved the mod_uddeim block to the center of my page. I had him on the left area before and never had this message.

any ideas?

Please Log in or Create an account to join the conversation.

  • harry166
  • harry166
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
16 years 3 months ago #69890 by harry166
Replied by harry166 on topic Re:error message after pm reply
and if I bring him back to the left, its the same. I thought it had something to do with that cause it was first remarked after that change.

Please Log in or Create an account to join the conversation.

  • harry166
  • harry166
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
16 years 3 months ago #69894 by harry166
Replied by harry166 on topic Re:error message after pm reply
and right now I got the following m,essage if I go into my pn center:

Warning: array_slice() expects parameter 1 to be array, null given in /var/www/web239/html/dfools/administrator/components/com_uddeim/admin.shared.php on line 87

Warning: join() [function.join]: Invalid arguments passed in /var/www/web239/html/dfools/administrator/components/com_uddeim/admin.shared.php on line 87

Please Log in or Create an account to join the conversation.

  • harry166
  • harry166
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
16 years 3 months ago #69901 by harry166
Replied by harry166 on topic Re:error message after pm reply
I redo all my steps from yesterday and it looks like I found it.

after I moved the pm mod_uddein window to a new location in the middle, I deleted the pm center link in the main menu cause I thought I dont need it two times.

Now I have restored that link and it works again.

So it looks like that joomla was searching that link from the mainmenu and report an error with an missing operand.

or any better explanations?

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
16 years 3 months ago #69918 by slabbi
Replied by slabbi on topic Re:error message after pm reply
harry166 wrote:

and right now I got the following m,essage if I go into my pn center:

Warning: array_slice() expects parameter 1 to be array, null given in /var/www/web239/html/dfools/administrator/components/com_uddeim/admin.shared.php on line 87

Warning: join() [function.join]: Invalid arguments passed in /var/www/web239/html/dfools/administrator/components/com_uddeim/admin.shared.php on line 87


Damn... Use following fix:

admin.shared.php:
[code:1]function uddeIM_utf8_substr($str, $start) {
preg_match_all("/./su", $str, $ar);
if (func_num_args() >= 3) {
$end = func_get_arg(2);
return join("", array_slice($ar[0], $start, $end));
} else {
return join("", array_slice($ar[0], $start));
}
}
[/code:1]

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
16 years 3 months ago #69919 by slabbi
Replied by slabbi on topic Re:error message after pm reply
You are right. You also find this question in the FAQ section of the README.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum