roundcube / roundcubemail

The Roundcube Webmail suite
https://roundcube.net
GNU General Public License v3.0
5.79k stars 1.62k forks source link

undefined constant #8092

Closed Lejooohn closed 3 years ago

Lejooohn commented 3 years ago

Hi guys,

I'm trying to use the plugin "markasjunk" with the latest version of roundcube but in the error.log i got this errors :

[07-Jun-2021 17:39:37 Europe/Berlin] PHP Warning: Use of undefined constant cmd_learn - assumed 'cmd_learn' (this will throw an Error in a future version of PHP) in /var/www/html/roundcubemail-1.4.11/plugins/markasjunk/config.inc.php on line 6 [07-Jun-2021 17:39:37 Europe/Berlin] PHP Warning: Use of undefined constant cmd_learn - assumed 'cmd_learn' (this will throw an Error in a future version of PHP) in /var/www/html/roundcubemail-1.4.11/plugins/markasjunk/config.inc.php on line 6 [07-Jun-2021 17:39:37 Europe/Berlin] PHP Warning: Use of undefined constant cmd_learn - assumed 'cmd_learn' (this will throw an Error in a future version of PHP) in /var/www/html/roundcubemail-1.4.11/plugins/markasjunk/config.inc.php on line 6 [07-Jun-2021 17:39:37 Europe/Berlin] PHP Warning: Use of undefined constant cmd_learn - assumed 'cmd_learn' (this will throw an Error in a future version of PHP) in /var/www/html/roundcubemail-1.4.11/plugins/markasjunk/config.inc.php on line 6

Even if i try to change the driver (i would like to use cmd_learn), the same errors appear.

I'm on up2date Debian 10 and with php 7.3 with this packages :

php7.3-cli php7.3-common php7.3-enchant php7.3-fpm php7.3-gd php7.3-imap php7.3-intl php7.3-json php7.3-ldap php7.3-mbstring php7.3-mysql php7.3-opcache php7.3-readline php7.3-xml php7.3-zip

Maybe i have forget to configure something or it's bug with this php version?

Thanks for you help :)

alecpl commented 3 years ago

This is a warning, not error. It indicates you used cmd_learn where you should use "cmd_learn" in the specified line..

Lejooohn commented 3 years ago

Oh god... sorry man it was obvious ...

Thanks a lot to pointing out i need to go home.

Regards,