Error after upgrade from 3.3.0.13 to 3.4.0.1

hello everyone, I upgraded OJS from version 3.3.0.13 to 3.4.0.1, the upgrade was successful, but viewing the site showed me blank page, I put “display_errors” in the file “config.inc.php” to “ON” and it displayed this error:

Fatal error : Uncaught Error: Call to undefined function mb_regex_encoding() in /home/gp4st86z/globalcardiology.info/lib/pkp/lib/vendor/smarty/smarty/libs/plugins/shared.mb_str_replace.php:47 Stack trace: #0 /home/gp4st86z/globalcardiology.info/lib/pkp/lib/vendor/smarty/smarty/libs/plugins/modifier.replace.php(34): smarty_mb_str_replace() #1 /home/gp4st86z/globalcardiology.info/cache/t_compile/14a1e595b74ea951cee01734e48ac130eb3ac184^10ae5578a0959129b8d4ceeb9f99c1bb2a9cbd65_0.app.frontendcomponentsheader.tpl.php(32): smarty_modifier_replace() #2 /home/gp4st86z/globalcardiology.info/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_64abfe46df5f53_16829254() #3 /home/gp4st86z/globalcardiology.info/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #4 /home/gp4st86z/globalcardiology.info/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #5 /home/gp4st86z/globalcardiology.info/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render() #6 /home/gp4st86z/globalcardiology.info/cache/t_compile/14a1e595b74ea951cee01734e48ac130eb3ac184^e64e579388e5615e11e939b12134d6ae8679eba6_0.app.frontendpagesindexJournal.tpl.php(29): Smarty_Internal_Template->_subTemplateRender() #7 /home/gp4st86z/globalcardiology.info/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_64abfe46dd6686_62795718() #8 /home/gp4st86z/globalcardiology.info/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #9 /home/gp4st86z/globalcardiology.info/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #10 /home/gp4st86z/globalcardiology.info/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render() #11 /home/gp4st86z/globalcardiology.info/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute() #12 /home/gp4st86z/globalcardiology.info/lib/pkp/classes/template/PKPTemplateManager.php(1325): Smarty_Internal_TemplateBase->display() #13 /home/gp4st86z/globalcardiology.info/pages/index/IndexHandler.php(80): PKP\template\PKPTemplateManager->display() #14 [internal function]: APP\pages\index\IndexHandler->index() #15 /home/gp4st86z/globalcardiology.info/lib/pkp/classes/core/PKPRouter.php(334): call_user_func() #16 /home/gp4st86z/globalcardiology.info/lib/pkp/classes/core/PKPPageRouter.php(277): PKP\core\PKPRouter->_authorizeInitializeAndCallRequest() #17 /home/gp4st86z/globalcardiology.info/lib/pkp/classes/core/Dispatcher.php(165): PKP\core\PKPPageRouter->route() #18 /home/gp4st86z/globalcardiology.info/lib/pkp/classes/core/PKPApplication.php(373): PKP\core\Dispatcher->dispatch() #19 /home/gp4st86z/globalcardiology.info/index.php(21): PKP\core\PKPApplication->execute() #20 {main} thrown in /home/gp4st86z/globalcardiology.info/lib/pkp/lib/vendor/smarty/smarty/libs/plugins/shared.mb_str_replace.php on line 47

can you help me correct and understand what is wrong?

Thanks.
Bye
Tiziano

Hi @Tiziano ! :slight_smile:

From the error you are getting, it seems You have to have mbstring PHP extension enabled on your server.

Hope that helps!

Hi @hilongo thanks a lot for the help in the server i enabled the mbstring extension and it worked, now i am seeing how this new version performs.
thank you.

Bye
Tiziano

1 Like