[Solved] Error with RC1 and PHP7.0

Found a bug? Tell us!!
Post Reply
MarioH
Regular
Posts: 234
Joined: Mon Jul 20, 2009 10:53 pm
Contact:

[Solved] Error with RC1 and PHP7.0

Post by MarioH » Sun Mar 05, 2017 10:21 am

Hi,
I tried to run abouts9y.org with PHP7.0 and got this error message:

Code: Select all

Fatal error: Uncaught Error: Call to undefined function utf8_decode() in /var/www/abouts9y.org/include/functions_permalinks.inc.php:127 Stack trace: #0 /var/www/abouts9y.org/include/functions_permalinks.inc.php(526): serendipity_makeFilename('First Release C...') #1 /var/www/abouts9y.org/include/functions_permalinks.inc.php(625): serendipity_makePermalink('archives/%id%-%...', Array) #2 /var/www/abouts9y.org/include/functions_entries.inc.php(1168): serendipity_archiveURL('10', 'First Release C...', 'serendipityHTTP...', true, Array) #3 /var/www/abouts9y.org/include/genpage.inc.php(132): serendipity_printEntries(Array) #4 /var/www/abouts9y.org/include/functions_routing.inc.php(18): include('/var/www/abouts...') #5 /var/www/abouts9y.org/index.php(104): serveIndex() #6 {main} thrown in /var/www/abouts9y.org/include/functions_permalinks.inc.php on line 127
Regards
Mario

MarioH
Regular
Posts: 234
Joined: Mon Jul 20, 2009 10:53 pm
Contact:

Re: [Solved] Error with RC1 and PHP7.0

Post by MarioH » Sun Mar 05, 2017 10:31 am

Found the problem.

I had to install an additional package php7.0-xml to get access to the function utf8-encode().

Regards
Mario

Post Reply