Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to undefined function utf8_decode() (php-xml) #78

mattbell87 opened this issue Jul 2, 2019 · 0 comments


None yet
1 participant
Copy link

commented Jul 2, 2019

Installing dotProject on my rPi and I just noticed that without php-xml installed if you call utf8_decode you get a fatal error:

Fatal error: Uncaught Error: Call to undefined function utf8_decode() in
/var/www/html/dotProject/modules/tasks/do_updatetask.php:15 Stack trace: #0
/var/www/html/dotProject/modules/tasks/do_updatetask.php(75): cleanText('') #1
/var/www/html/dotProject/index.php(241): require('/var/www/html/d...') #2 {main}
thrown in /var/www/html/dotProject/modules/tasks/do_updatetask.php on line 15

I ran sudo apt install php-xml and it immediately fixed the problem.

A check should be added to the install script for php-xml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.