Upgrade from 7.0.2(3) to 7.0.3(2) completes successfully but with calendar 500 error

Situation
No calendar after upgrade

Screenshot;

OpenEMR Version
7.0.3

Browser:
FF 137.0

Operating System
Ubuntu Linux 22.04.5

Search
Yes - No help

Logs
Did you check the logs? Yes
Was there anything pertinent in them? Yes
Apache Error Log; ```[Sun Apr 06 13:45:03.479228 2025] [php:error] [pid 219953] [client 192.168.1.128:51286] PHP Fatal error: Uncaught Error: Class “Locale” not found in /var/www/html/openemr/vendor/php81_bc/strftime/src/php-8.1-strftime.php:46\nStack trace:\n#0 /var/www/html/openemr/library/smarty_legacy/smarty/Smarty_Compiler_Legacy.class.php(405): PHP81_BC\strftime()\n#1 /var/www/html/openemr/library/smarty_legacy/smarty/Smarty_Legacy.class.php(1501): Smarty_Compiler_Legacy->_compile_file()\n#2 /var/www/html/openemr/library/smarty_legacy/smarty/Smarty_Legacy.class.php(1434): Smarty_Legacy->_compile_source()\n#3 /var/www/html/openemr/library/smarty_legacy/smarty/Smarty_Legacy.class.php(1273): Smarty_Legacy->_compile_resource()\n#4 /var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pnuserapi.php(589): Smarty_Legacy->fetch()\n#5 /var/www/html/openemr/interface/main/calendar/includes/pnMod.php(433): postcalendar_userapi_buildView()\n#6 /var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pnuser.php(112): pnModAPIFunc()\n#7 /var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pnuser.php(75): postcalendar_user_display()\n#8 /var/www/html/openemr/interface/main/calendar/includes/pnMod.php(465): postcalendar_user_view()\n#9 /var/www/html/openemr/interface/main/calendar/index.php(155): pnModFunc()\n#10 {main}\n thrown in /var/www/html/openemr/vendor/php81_bc/strftime/src/php-8.1-strftime.php on line 46, referer: https://192.168.1.134/openemr/interface/main/tabs/main.php?

hi @hitechelp, it’s like New version 7.0.3 - #2 by Mort, but with debian based use sudo apt-get install php8.1-intl

That was it, You rock Stephen! Thanks a ton.

Hi everyone,

We have PHP8.3 instead of PHP8.1.

Had problem trying to install php8.3-intl, but found the solution from StackExchange.

Here is the link apt - How to install intl and imagick library for PHP8.3 on Ubuntu 22.04 - Ask Ubuntu

Hope this help those who have PHP8.3 :slight_smile:

I updated the upgrade instructions to include installing the php-intl library.

https://www.open-emr.org/wiki/index.php/Linux_Upgrade_7.0.2_to_7.0.3#Upgrade