-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
1-Click Upgrade returned several errors after upgrade from PS V8.0.3 to V8.0.4 #32350
Comments
Hi, Having the same issue (or a simular, not having time to copy the errors) upgrading 1.7.8.7 to 8.0.4. |
Not sure if it's related but with the latest version Smarty removed some modifiers, we had to add a bunch of them here https://github.com/PrestaShop/PrestaShop/blob/8.0.x/config/smarty.config.inc.php#L97 The list is not exhaustive though since it's hard to know all the methods that were, so far, automatically bound with native PHP functions. There is no |
Hello @amazingballzs , I'm upgrading from 8.0.3 to 8.0.4. Using 1-Click Upgrade v4.15.0. The upgrade is successful : Screen.Recording.2023-04-28.at.15.45.35.mov |
I am having the same problem also with upgrading to 8.0.4 from 8.0.3 the error i receive during upgrade is
After this error site is somewhat 8.0.4 but non of theme is working (probably because upgrade failed midway) with errors like:
|
Hello @amazingballzs Since we had no news from you for more than 20 days, I'll close this ticket to avoid cluttering up the backlog. Thanks! |
@amazingballzs @arcanewater this will maybe help you #32348 (comment) |
Had same error on 8.1.5 fresh install. Main issue was MySQL user lack of Privileges (on my case INDEX privilege was missing) after |
Prerequisites
Describe the bug and add attachments
Hello
While upgrading prestashop from V8.0.3 to V8.0.4 everything seemed fine except that I got these errors:
[INTERNAL] /public_html/vendor/smarty/smarty/libs/sysplugins/smarty_cacheresource.php line 208 - Symfony\Component\ErrorHandler\Error\UndefinedFunctionError: Attempted to call function "smarty_ucfirst_ascii" from the global namespace. #0 /public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_method_clearallcache.php(38): Smarty_CacheResource::load() #1 /public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php(133): Smarty_Internal_Method_ClearAllCache->clearAllCache() #2 /public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php(270): Smarty_Internal_Extension_Handler->_callExternalMethod() #3 /public_html/classes/Tools.php(3280): Smarty_Internal_Data->__call() #4 /public_html/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php(672): ToolsCore::clearCache() #5 /public_html/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php(121): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader->runCoreCacheClean() #6 /public_html/modules/autoupgrade/classes/TaskRunner/Upgrade/UpgradeDb.php(42): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader->doUpgrade() #7 /public_html/admin561m14uxnqdxp1aah4c/autoupgrade/ajax-upgradetab.php(53): PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade\UpgradeDb->run() #8 {main}
The website seems to work fine after the upgrade, however, do these errors indicate that something is wrong in the resulting upgraded website?
Should I roll back the previous version or can I trust this upgraded version despite these eeors?
Should I fix anything to make sure everything will work fine?
Thank you
Expected behavior
I expected to not get the errors listed above
Steps to reproduce
PrestaShop version(s) where the bug happened
8.0.3 to 8.0.4
PHP version(s) where the bug happened
8.1
If your bug is related to a module, specify its name and its version
1-Click Upgrade
Your company or customer's name goes here (if applicable).
No response
The text was updated successfully, but these errors were encountered: