nraulji Posted July 22, 2019 Share Posted July 22, 2019 While doing a fresh installation of Prestashop 1.7, I get below error. "Disabled Categories Oops! An Error Occurred The server returned a "500 Internal Server Error". Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused." Β I am trying to fix the categories in Dashboard > Design > Theme & Logo Β >Β Β Homepage Configuration >Β Create and manage Product Categories Β Link to comment Share on other sites More sharing options...
Nishith Nesdiya Posted July 25, 2019 Share Posted July 25, 2019 Hi Please enable debug mode and see the what error come . Thanks Link to comment Share on other sites More sharing options...
nraulji Posted July 26, 2019 Author Share Posted July 26, 2019 Nishith Thanks for your reply.Β Β ---- Below are the logs.Β LevelChannelMessage DEBUG11:56:06doctrineSELECT name FROM ps_module WHERE active = 1 CRITICAL11:56:07phpCall to undefined function mb_split() DEBUG11:56:07doctrineSELECT name FROM ps_module WHERE active = 1 CRITICAL11:56:07requestUncaught PHP Exception Symfony\Component\Debug\Exception\UndefinedFunctionException: "Attempted to call function "mb_split" from the global namespace." at /home/hhomart/public_html/vendor/smarty/smarty/libs/plugins/shared.mb_str_replace.php line 47 ----Β Exception Symfony\Component\Debug\Exception\UndefinedFunctionException inΒ vendor/smarty/smarty/libs/plugins/shared.mb_str_replace.phpΒ (line 47) smarty_mb_str_replace('&', '&', '')inΒ vendor/smarty/smarty/libs/plugins/modifier.replace.phpΒ (line 34) smarty_modifier_replace('', '&', '&')inΒ var/cache/dev/smarty/compile/b1/fd/17/b1fd17b446ce0ac0485e09ab0873cfdf519e3df6_0.file.kpi.tpl.phpΒ (line 47) content_5d3a9cff04c089_63198879(object(Smarty_Internal_Template))inΒ vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.phpΒ (line 123) Smarty_Template_Resource_Base->getRenderedTemplateCode(object(Smarty_Internal_Template))inΒ vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.phpΒ (line 114) Smarty_Template_Compiled->render(object(Smarty_Internal_Template))inΒ vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.phpΒ (line 216) Smarty_Internal_Template->render(false, 0)inΒ vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.phpΒ (line 232) Smarty_Internal_TemplateBase->_execute(object(Smarty_Internal_Template),Β null,Β null,Β null, 0)inΒ vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.phpΒ (line 116) Smarty_Internal_TemplateBase->fetch()inΒ classes/helper/HelperKpi.phpΒ (line 63) Β Β Β Β Β Β Β Β Β Β Β Β 'refresh'Β =>Β $this->refresh, Β Β Β Β Β Β Β Β Β Β Β Β 'href'Β =>Β $this->href, Β Β Β Β Β Β Β Β Β Β Β Β 'tooltip'Β =>Β $this->tooltip, Β Β Β Β Β Β Β Β )); Β Β Β Β Β Β Β Β returnΒ $this->tpl->fetch(); Β Β Β Β } } HelperKpiCore->generate()inΒ controllers/admin/AdminCategoriesController.phpΒ (line 399) AdminCategoriesControllerCore->renderKpis()inΒ classes/controller/AdminController.phpΒ (line 2102) AdminControllerCore->initContent()inΒ controllers/admin/AdminCategoriesController.phpΒ (line 201) AdminCategoriesControllerCore->initContent()inΒ classes/controller/Controller.phpΒ (line 281) ControllerCore->run()inΒ classes/Dispatcher.phpΒ (line 511) DispatcherCore->dispatch()inΒ admin188mve7gz/index.phpΒ (line 99) Β I am not a technical person, just using Prestashop for a small store. Recently I upgraded to PS 1.7 and facing this problem. You may connect with WhatsApp /Phone **** use Personal Message for this **** Awaiting your reply.Β Link to comment Share on other sites More sharing options...
Apar Posted July 27, 2019 Share Posted July 27, 2019 (edited) On 7/26/2019 at 12:06 PM, nraulji said: CRITICAL11:56:07phpCall to undefined function mb_splitο»Ώ(ο»Ώ)ο»Ώο»Ώο»Ώ You are getting a php error function mb_split( ). You can update your php version to solve this issue. What is you current php version? With prestashop 1.7 its best to use php 7 or higher. Edited July 27, 2019 by Apar (see edit history) Link to comment Share on other sites More sharing options...
ivasport.net Posted June 22, 2020 Share Posted June 22, 2020 HI! ΠΠ΅ ΡΡΠΌ Π΅ΠΊΡΠΏΠ΅ΡΡ ΠΏΠΎ ΠΊΠΎΠ΄ΠΎΠ²Π΅ ΠΈ ΠΈΠΌΠ°ΠΌ Π½ΡΠΆΠ΄Π° ΠΎΡ ΡΡΠ²Π΅Ρ. ΠΠ°ΠΊ ΠΌΠΎΠ³Π° Π΄Π° ΠΏΠΎΠΏΡΠ°Π²Ρ ΡΠ°Π·ΠΈ Π³ΡΠ΅ΡΠΊΠ° Β please help! Β ΠΠΌΠΈ ΡΠ΅Π³Π°! ΠΡΠ·Π½ΠΈΠΊΠ½Π° Π³ΡΠ΅ΡΠΊΠ° Π‘ΡΡΠ²ΡΡΡΡ Π²ΡΡΠ½Π° "500 Π²ΡΡΡΠ΅ΡΠ½Π° Π³ΡΠ΅ΡΠΊΠ° Π² ΡΡΡΠ²ΡΡΠ°". ΠΠ΅ΡΠΎ Π΅ ΡΡΡΠΏΠ΅Π½ΠΎ. ΠΠΎΠ»Ρ, ΡΠ²Π΅Π΄ΠΎΠΌΠ΅ΡΠ΅ Π½ΠΈ ΠΊΠ°ΠΊΠ²ΠΎ ΠΏΡΠ°Π²ΠΈΡΠ΅, ΠΊΠΎΠ³Π°ΡΠΎ Π²ΡΠ·Π½ΠΈΠΊΠ½Π° ΡΠ°Π·ΠΈ Π³ΡΠ΅ΡΠΊΠ°. ΠΠΈΠ΅ ΡΠ΅ Π³ΠΎ ΠΏΠΎΠΏΡΠ°Π²ΠΈΠΌ Π²ΡΠ·ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉ-ΡΠΊΠΎΡΠΎ. Π‘ΡΠΆΠ°Π»ΡΠ²Π°ΠΌΠ΅ Π·Π° ΠΏΡΠΈΡΠΈΠ½Π΅Π½ΠΎΡΠΎ Π½Π΅ΡΠ΄ΠΎΠ±ΡΡΠ²ΠΎ. Β Β Β (1/1) ContextErrorException ΠΡΠ΅Π΄ΡΠΏΡΠ΅ΠΆΠ΄Π΅Π½ΠΈΠ΅: ΠΏΡΠ΅Π²ΠΊΠ»ΡΡΠ²Π°ΡΠ΅Π»ΡΡ Π·Π° Π½Π°ΡΠΎΡΠ²Π°Π½Π΅ βΠΏΡΠΎΠ΄ΡΠ»ΠΆΠΈβ Π΅ Π΅ΠΊΠ²ΠΈΠ²Π°Π»Π΅Π½ΡΠ΅Π½ Π½Π° βΠΏΡΠ΅ΠΊΡΡΠ²Π°Π½Π΅β. ΠΡΠΊΠ°Ρ ΡΠ΅ Π»ΠΈ Π΄Π° ΠΈΠ·ΠΏΠΎΠ»Π·Π²Π°ΡΠ΅ "ΠΏΡΠΎΠ΄ΡΠ»ΠΆΠΈ 2"? Π² Π»ΠΈΠ½ΠΈΡ 2636 UnitOfWork.php ΠΏΡΠΈ ErrorHandler-> handleError (2, "" ΠΏΡΠΎΠ΄ΡΠ»ΠΆΠΈ "ΠΏΡΠ΅Π²ΠΊΠ»ΡΡΠ²Π°ΡΠ΅Π» Π·Π° Π½Π°ΡΠΎΡΠ²Π°Π½Π΅ Π΅ Π΅ΠΊΠ²ΠΈΠ²Π°Π»Π΅Π½ΡΠ΅Π½ Π½Π°" ΠΏΡΠ΅ΠΊΡΡΠ²Π°Π½Π΅ ". ΠΡΠΊΠ°Ρ ΡΠ΅ Π»ΠΈ Π΄Π° ΠΈΠ·ΠΏΠΎΠ»Π·Π²Π°ΡΠ΅" ΠΏΡΠΎΠ΄ΡΠ»ΠΆΠΈ 2 "?", "/ home / petstoy1 / public_html / vendor / doctrine / orm / lib / Doctrine /ORM/UnitOfWork.php ', 2636, array (' class '=>' Π£ΡΠ΅Π½ΠΈΠ΅ \\ ORM \\ UnitOfWork ',' e '=> 32767,' file '=>' / home / petstoy1 / public_html / vendor / composer /../doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php'))in DebugClassLoader.php Π»ΠΈΠ½ΠΈΡ 156 ΠΏΡΠΈ ΠΈΠ·ΠΈΡΠΊΠ²Π°Π½Π΅ () Π² DebugClassLoader.php Π»ΠΈΠ½ΠΈΡ 156 Π² DebugClassLoader-> loadClass ('Π£ΡΠ΅Π½ΠΈΠ΅ \\ ORM \\ UnitOfWork') Π² spl_autoload_call ("Π£ΡΠ΅Π½ΠΈΠ΅ \\ ORM \\ UnitOfWork") Π² Π»ΠΈΠ½ΠΈΡ 160 EntityManager.php Π² EntityManager -> __ ΠΊΠΎΠ½ΡΡΡΡΠΊΡ (ΠΎΠ±Π΅ΠΊΡ (ΠΡΡΠ·ΠΊΠ°), ΠΎΠ±Π΅ΠΊΡ (ΠΠΎΠ½ΡΠΈΠ³ΡΡΠ°ΡΠΈΡ), ΠΎΠ±Π΅ΠΊΡ (ContainerAwareEventManager)) Π² Π»ΠΈΠ½ΠΈΡ 850 EntityManager.php Π² EntityManager :: create (ΠΎΠ±Π΅ΠΊΡ (ΠΡΡΠ·ΠΊΠ°), ΠΎΠ±Π΅ΠΊΡ (ΠΠΎΠ½ΡΠΈΠ³ΡΡΠ°ΡΠΈΡ)) Π² Π»ΠΈΠ½ΠΈΡ appDevDebugProjectContainer.php 1826 Π² appDevDebugProjectContainer-> getDoctrine_Orm_DefaultEntityManagerService () Π² getPrestashop_Translation_DatabaseLoaderService.php Π»ΠΈΠ½ΠΈΡ 8 ΠΏΠΎ ΠΈΠ·ΠΈΡΠΊΠ²Π°Π½Π΅ ('/ home / petstoy1 / public_html / var / cache / dev / ContainerQ1h8xew / getPrestashop_Translation_DatabaseLoaderService.php') Π² appDevDebugProjectContainer.php Π»ΠΈΠ½ΠΈΡ 1722 Π² appDevDebugProjectContainer-> load ('getPrestashop_Translation_DatabaseLoaderService.php') Π² appDevDebugProjectContainer.php Π»ΠΈΠ½ΠΈΡ 3750 Π² appDevDebugProjectContainer-> ContainerQ1h8xew \ {closure} () Π² ServiceLocator.php ΡΠ΅Π΄ 64 Π² ServiceLocator-> get ('prestashop.translation.database_loader') Π² Translator.php Π»ΠΈΠ½ΠΈΡ 141 Π² Translator-> Initialize () Π² Translator.php Π»ΠΈΠ½ΠΈΡ 127 Π² Translator-> InitializeCatalogue ('bg-BG') Π² Translator.php Π»ΠΈΠ½ΠΈΡ 314 Π² Translator-> dumpCatalogue ('bg-BG', ΠΎΠ±Π΅ΠΊΡ (ResourceCheckerConfigCache)) Π² Translator.php Π»ΠΈΠ½ΠΈΡ 299 Π² Translator-> Symfony \ Component \ Translation \ {closure} (ΠΎΠ±Π΅ΠΊΡ (ResourceCheckerConfigCache)) Π² ResourceCheckerConfigCacheFactory.php ΡΠ΅Π΄ 43 Π² ResourceCheckerConfigCacheFactory-> ΠΊΠ΅Ρ ('/ home / petstoy1 / public_html / var / cache / dev / ΠΏΡΠ΅Π²ΠΎΠ΄ΠΈ / Catalogue.bg-BG.L8dqxxF.php', ΠΎΠ±Π΅ΠΊΡ (ΠΠ°ΡΠ²Π°ΡΡΠ½Π΅)) Π² Translator.php ΡΠ΅Π΄ 300 Π² Translator-> InitializeCacheCatalogue ('bg-BG') Π² Translator.php Π»ΠΈΠ½ΠΈΡ 265 Π² Translator-> loadCatalogue ('bg-BG') Π² Translator.php Π»ΠΈΠ½ΠΈΡ 241 Π² Translator-> getCatalogue ('bg-BG') Π² Translator.php Π»ΠΈΠ½ΠΈΡ 198 Π² Translator-> trans ('Π£ΡΠΏΠ΅ΡΠ½ΠΎ ΠΈΠ·ΡΡΠΈΠ²Π°Π½Π΅.', array (), 'AdminNotificationsSuccess', null) Π² PrestaShopTranslatorTrait.php ΡΠ΅Π΄ 57 Π² Translator-> trans ('Π£ΡΠΏΠ΅ΡΠ½ΠΎ ΠΈΠ·ΡΡΠΈΠ²Π°Π½Π΅.', array (), 'AdminNotificationsSuccess', null) Π² ΡΠ΅Π΄ LoggingTranslator.php 48 Π² LoggingTranslator-> trans ('Π£ΡΠΏΠ΅ΡΠ½ΠΎ ΠΈΠ·ΡΡΠΈΠ²Π°Π½Π΅.', array (), 'AdminNotificationsSuccess', null) Π² DataCollectorTranslator.php ΡΠ΅Π΄ 50 Π² DataCollectorTranslator-> trans ('Π£ΡΠΏΠ΅ΡΠ½ΠΎ ΠΈΠ·ΡΡΠΈΠ²Π°Π½Π΅.', array (), 'AdminNotificationsSuccess', null) Π² PrestaShopTranslatorTrait.php ΡΠ΅Π΄ 57 Π² DataCollectorTranslator-> trans ('Π£ΡΠΏΠ΅ΡΠ½ΠΎ ΠΈΠ·ΡΡΠΈΠ²Π°Π½Π΅.', array (), 'Admin.Notifications.Success', null) Π² Controller.php Π»ΠΈΠ½ΠΈΡ 324 Π² ControllerCore-> trans ('Π£ΡΠΏΠ΅ΡΠ½ΠΎ ΠΈΠ·ΡΡΠΈΠ²Π°Π½Π΅.', array ('legacy' => 'htmlspecialchars'), 'Admin.Notifications.Success') Π² AdminController.php Π»ΠΈΠ½ΠΈΡ 466 Π² AdminControllerCore -> __ construct () Π² LegacyContext.php Π»ΠΈΠ½ΠΈΡ 85 Π² LegacyContext-> getContext () Π² UserLocaleListener.php Π»ΠΈΠ½ΠΈΡ 39 Π² UserLocaleListener -> __ ΠΊΠΎΠ½ΡΡΡΡΠΊΡ (ΠΎΠ±Π΅ΠΊΡ (LegacyContext)) Π² appDevDebugProjectContainer.php Π»ΠΈΠ½ΠΈΡ 2396 Π² appDevDebugProjectContainer-> getPrestashop_UserLocale_ListenerService () Π² appDevDebugProjectContainer.php Π»ΠΈΠ½ΠΈΡ 2883 Π² appDevDebugProjectContainer-> ContainerQ1h8xew \ {closure} () Π² Π»ΠΈΠ½ΠΈΡ Π½Π° EventDispatcher.php 229 Π² EventDispatcher-> sortListeners ('kernel.request') Π² EventDispatcher.php Π»ΠΈΠ½ΠΈΡ 61 Π² EventDispatcher-> getListeners ('kernel.request') Π² ContainerAwareEventDispatcher.php Π»ΠΈΠ½ΠΈΡ 128 Π² ContainerAwareEventDispatcher-> getListeners ('kernel.request') Π² TraceableEventDispatcher.php Π»ΠΈΠ½ΠΈΡ 262 Π² TraceableEventDispatcher-> preProcess ('kernel.request') Π² TraceableEventDispatcher.php Π»ΠΈΠ½ΠΈΡ 137 Π² TraceableEventDispatcher-> dispatch ('kernel.request', ΠΎΠ±Π΅ΠΊΡ (GetResponseEvent)) Π² HttpKernel.php Π»ΠΈΠ½ΠΈΡ 127 Π² HttpKernel-> handleRaw (ΠΎΠ±Π΅ΠΊΡ (ΠΠ°ΡΠ²ΠΊΠ°), 1) Π² Π»ΠΈΠ½ΠΈΡ 68 Π½Π° HttpKernel.php Π² HttpKernel-> Π΄ΡΡΠΆΠΊΠ° (ΠΎΠ±Π΅ΠΊΡ (ΠΠ°ΡΠ²ΠΊΠ°), 1, Π½Π΅Π²ΡΡΠ½ΠΎ) Π² Π»ΠΈΠ½ΠΈΡ 200 Π½Π° Kernel.php ΠΏΡΠΈ Kernel-> Π΄ΡΡΠΆΠΊΠ° (ΠΎΠ±Π΅ΠΊΡ (ΠΠ°ΡΠ²ΠΊΠ°), 1, Π½Π΅Π²ΡΡΠ½ΠΎ) Π² index.php ΡΠ΅Π΄ 86 Link to comment Share on other sites More sharing options...
JBW Posted June 30, 2020 Share Posted June 30, 2020 Looks like a wrong PHP version - what are your Prestashop and PHP versions? Link to comment Share on other sites More sharing options...
nraulji Posted July 1, 2020 Author Share Posted July 1, 2020 Hi JBW, The problem is solved.Β Thanks for your time and help... Β Nitin Link to comment Share on other sites More sharing options...
nraulji Posted July 1, 2020 Author Share Posted July 1, 2020 This issue was settle with help by Nishith.. Link to comment Share on other sites More sharing options...
jgk-dk Posted July 7, 2020 Share Posted July 7, 2020 Hi I just got same problem with my Prestashop What was wrong? Β Jan Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now