Author Topic: PHP error message  (Read 2924 times)

Offline wolf

  • Newbie
  • *
  • Posts: 1
PHP error message
« on: March 12, 2010, 08:06:23 AM »
I’m running Roundcube 0.3.1 under Debian 4.0.
In my syslog I get to following PHP error messages:

PHP Warning:  Cannot use a scalar value as an array in /var/www/roundcubemail-0.3.1/program/ste
ps/mail/getunread.inc on line 33

PHP Warning:  Cannot use a scalar value as an array in /var/www/roundcubemail-0.3.1/program/ste
ps/mail/func.inc on line 629

PHP Warning:  Cannot use a scalar value as an array in /var/www/roundcubemail-0.3.1/program/ste
ps/mail/move_del.inc on line 109

Looking into the programs it seems that the error has something to do with $_SESSION['unseen_count'] variable:

Program line 33 says: $_SESSION['unseen_count'][$mbox_row] = $unseen;
Program line 629 says: $_SESSION['unseen_count'][$mbox_name] = $unseen;
Program line 109 says : $_SESSION['unseen_count'][$mbox] = $unseen_count;

Can anybody help me to get rid of the error messages.

Offline ElrondBCN

  • Newbie
  • *
  • Posts: 2
PHP error message
« Reply #1 on: March 25, 2010, 05:54:01 PM »
I am seeing these nonstop as well.