fri.bitcast.info

!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
Switzerland
1
@Hiker A deprecation warning should not kill a script...
1

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
1
@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.
1
Hmm - but worker gets killed by the system - so there must be more than only "deprecation"... IMHO
1
@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.
1