Salta al contenuto principale


!Friendica Support
Hi there

With Friendica 'Interrupted Fern' 2025.02-dev - 1576 I am getting an error with worker.php - job is killed

php bin/console.php worker

Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in /home/user/public_html/domain.tld/src/Content/Text/HTML.php on line 164
Killed
in reply to Hiker

@Hiker A deprecation warning should not kill a script...

Friendica Support reshared this.

in reply to Hiker

The server sends me same error message

/bin/bash: line 1: 2319610 Killed          php bin/console.php worker

Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in /home/user/public_html/domain.tld/src/Content/Text/HTML.php on line 164
in reply to Hiker

@Hiker Unless you're intending on working on the Friendica PHP code, please exclude deprecation notices from your default PHP log level. They don't affect regular use of the software and can be misleading.
in reply to Hypolite Petovan

Hmm - but worker gets killed by the system - so there must be more than only "deprecation"... IMHO
in reply to Hiker

@Hiker Yes, but we keep talking about deprecation which has nothing to do with it. The process kill is likely done because of an Out-of-Memory issue that's below the memory limit you set for executing PHP scripts, so it feels like an environment issue we can possibly help you figure out, but it's trickier as it doesn't look like it's directly related with the PHP code.

Questo sito utilizza cookie per riconosce gli utenti loggati e quelli che tornano a visitare. Proseguendo la navigazione su questo sito, accetti l'utilizzo di questi cookie.