I cannot reach my developper but this odd problem started out of the blue yesterday, with no specific actions on our part. We are now unable to save any products. The logs seems to show a string of modules involved but disabling them still gives us an error when saving and the data does not make it to the database at all. If someone can help us figure out what the issue is, we are really stalled right now.
I have tried disabling all overrides, that still generates a 500 error.
If I disable the third party modules and only use TB modules, I am still unable to save, albeit without a 500 error. I get this instead: An error occurred while updating an object.product()
Thank you.
Here is what the exception reads at (with all the modules on):
Call to undefined function mysql_error()
in filemodules/psseobooster/psseobooster.phpat line2522
750: *
751: * @throws PrestaShopDatabaseException
752: * @throws PrestaShopException
753: * @since 1.0.0
754: * @version 1.0.0 Initial version
755: */
756: public static function coreCallHook($module, $method, $params)
757: {
758: // Define if we will log modules performances for this session
759: if (Module::$_log_modules_perfs === null) {
760: $modulo = _PS_DEBUG_PROFILING_ ? 1 : Configuration::get('PS_log_modules_perfs_MODULO');
761: Module::$_log_modules_perfs = ($modulo && mt_rand(0, $modulo - 1) == 0);
762: if (Module::$_log_modules_perfs) {
763: Module::$_log_modules_perfs_session = mt_rand();
764: }
765: }
766:767: // Immediately return the result if we do not log performances
768: if (!Module::$_log_modules_perfs) {
769: return $module->{$method}($params);
770: }
771:772: // Store time and memory before and after hook call and save the result in the database
773: $timeStart = microtime(true);
774: $memoryStart = memory_get_usage(true);
775:776: // Call hook
777: $r = $module->{$method}($params);
778:779: $timeEnd = microtime(true);
Question
movieseals
I cannot reach my developper but this odd problem started out of the blue yesterday, with no specific actions on our part. We are now unable to save any products. The logs seems to show a string of modules involved but disabling them still gives us an error when saving and the data does not make it to the database at all. If someone can help us figure out what the issue is, we are really stalled right now.
I have tried disabling all overrides, that still generates a 500 error.
If I disable the third party modules and only use TB modules, I am still unable to save, albeit without a 500 error. I get this instead: An error occurred while updating an object. product ()
Thank you.
Here is what the exception reads at (with all the modules on):
Call to undefined function mysql_error()
Source file: modules/psseobooster/psseobooster.php
Stack trace
Typos corrections
8 answers to this question
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