MioVisman / FluxBB_by_Visman

My modification of FluxBB
GNU General Public License v2.0
79 stars 13 forks source link

PHP Fatal error: Uncaught Error: Call to undefined function mb_language() in /include/common.php:20 #40

Closed ThatRoboticFish closed 3 months ago

ThatRoboticFish commented 3 months ago

I recently updated my server to Debian 12.6 Bookworm which now includes PHP 8.2.20. When I want to access my forum I only get a blank page and in the logs I find this:

2024/07/09 07:14:48 [error] 13268#13268: *1604 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function mb_language() in /var/www/[redacted]/include/common.php:20
Stack trace:
#0 /var/www/[redacted]/index.php(10): require()
#1 {main}
  thrown in /var/www[redacted]/include/common.php on line 20" while reading response header from upstream, client: [redacted], server: [redacted], request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "[redacted]"

EDIT: nvm, install the php-mbstring package, dunno why it is no longer included by default in the main PHP package

MioVisman commented 3 months ago

Install the mbstring module for php.

P.S. Didn't see EDIT