Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the astra-addon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/erasoporte.es/soporte.erasoporte.es/wp-includes/functions.php on line 6260

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the astra-sites domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/erasoporte.es/soporte.erasoporte.es/wp-includes/functions.php on line 6260

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the uael domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/erasoporte.es/soporte.erasoporte.es/wp-includes/functions.php on line 6260

Warning: Attempt to read property "post_title" on null in /var/www/vhosts/erasoporte.es/soporte.erasoporte.es/wp-content/plugins/elementor/core/isolation/elementor-adapter.php on line 28

Deprecated: ¡La función WP_Dependencies->add_data() ha sido llamada con un argumento que está obsoleto desde la versión 6.9.0! Los comentarios condicionales de IE los ignoran todos los navegadores compatibles. in /var/www/vhosts/erasoporte.es/soporte.erasoporte.es/wp-includes/functions.php on line 6260
Error con el entrenador de spam - ERA Hosting

Error con el entrenador de spam

En Plesk Window spuede salir el siguiente error:

Error: Cannot exec ‘spammng –train-spam –filename=C:/Program Files (x86)/Parallels/Plesk/tmp/spmA94D.tmp –password=* –mailname=*’:
Learned tokens from 0 message(s) (1 message(s) examined)
—–
Use of uninitialized value in concatenation (.) or string at C:/Program Files (x86)/Parallels/Plesk/Additional/Perl/lib/File/Spec/Win32.pm line 275.
util: refusing to untaint suspicious path: “C:\Program Files (x86)\Parallels\Plesk\Additional\SpamAssassin\SpamFilterUserConfigsPath*\bayes” util: refusing to untaint suspicious path: “C:\Program Files (x86)\Parallels\Plesk\Additional\SpamAssassin\SpamFilterUserConfigsPath*\bayes_journal”
bayes: expire_old_tokens: Insecure dependency in sysopen while running with -T switch at C:\PROGRA~2\PARALL~1\Plesk\ADDITI~1\Perl\site\lib/Mail/SpamAssassin/Locker/Win32.pm line 71.
plugin: eval failed: bayes: (in learn) Insecure dependency in sysopen while running with -T switch at C:\PROGRA~2\PARALL~1\Plesk\ADDITI~1\Perl\site\lib/Mail/SpamAssassin/Locker/Win32.pm line 71.
ERROR: the Bayes learn function returned an error, please re-run with -D for more information at C:\PROGRA~2\PARALL~1\Plesk\ADDITI~1\Perl\bin\sa-learn line 490.
Unable to train spamassasin: Learned tokens from 0 message(s) (1 message(s) examined)

Solución:

C:\Program Files (x86)\Parallels\Plesk\Additional\Perl\site\lib\Mail\SpamAssassin\Util.pm y desmarca la de solo lectura. Luego edita el archivo y cambia la siguiente línea:

my $chars = ‘-_A-Za-z\xA0-\xFF0-9.\%\@=+\,\/\\:’;
Por:

my $chars = ‘-_A-Za-z\xA0-\xFF0-9.\%\@=+\,\/\\:()’;

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *