Jump to content
thirty bees forum

Pilou

Members
  • Posts

    123
  • Joined

  • Last visited

Everything posted by Pilou

  1. Hello, I have another error with the Mollie module.. ThirtyBeesException Property OrderState->name is empty in file /home/***/public_html/_thirtybees/classes/ObjectModel.php at line 1143 Source file: /home/***/public_html/_thirtybees/classes/ObjectModel.php 1124: 1125: // If the object has not been loaded in multilanguage, then the value is the one for the current language of the object 1126: if (!is_array($values)) { 1127: $values = [$this->id_lang => $values]; 1128: } 1129: 1130: // The value for the default must always be set, so we put an empty string if it does not exists 1131: if (!isset($values[$idLangDefault])) { 1132: $values[$idLangDefault] = ''; 1133: } 1134: 1135: foreach ($values as $idLang => $value) { 1136: if (is_array($this->update_fields) && empty($this->update_fields[$field][$idLang])) { 1137: continue; 1138: } 1139: 1140: $message = $this->validateField($field, $value, $idLang); 1141: if ($message !== true) { 1142: if ($die) { 1143: throw new PrestaShopException($message); 1144: } 1145: 1146: return $errorReturn ? $message : false; 1147: } 1148: } 1149: } 1150: 1151: return true; 1152: } 1153: Stack trace 1. classes/ObjectModel.php:424 source ObjectModelCore->validateFieldsLang() 2. classes/ObjectModel.php:854 source ObjectModelCore->getFieldsLang() 3. modules/mollie/src/Service/SettingsSaveService.php:329 source ObjectModelCore->update() 4. modules/mollie/src/Service/SettingsSaveService.php:321 source Mollie\Service\SettingsSaveService->updateKlarnaStatuses(arguments) 5. modules/mollie/src/Service/SettingsSaveService.php:217 source Mollie\Service\SettingsSaveService->handleKlarnaInvoiceStatus() 6. modules/mollie/mollie.php:254 source Mollie\Service\SettingsSaveService->saveSettings(arguments) 7. controllers/admin/AdminModulesController.php:1660 source Mollie->getContent() 8. controllers/admin/AdminModulesController.php:1523 source AdminModulesControllerCore->postProcessCallback() 9. classes/controller/Controller.php:204 source AdminModulesControllerCore->postProcess() 10. classes/Dispatcher.php:861 source ControllerCore->run() 11. admin312vvy24f/index.php:58 source DispatcherCore->dispatch() Can you help me once more please ? Kind regards, Pilou
  2. Yes, thank you. It was wrong..
  3. Hi datakick, Thanks a lot, it finaly works. I made a test order and the result in my BO and in the customer account is "Awaiting payment by bank check" in place of Payment accepted or something like that. Where can I correct this please ? Kind regards, Pilou
  4. Hi, I tried to migrate a Ps 1.6.24 to Tb 1.4 Bleeding Edge The migration worked perfectly. Now, I wanted to install Mollie module payment. Install ok, first config ok and then if I choose to configure it again, I have a 500 error With Debug mode ON, I have this Error Class 'AttributeCore' not found in file /home/*****/public_html/_thirtybees/modules/mollie/src/Builder/FormBuilder.php at line 420 Source file: /home/*****/public_html/_thirtybees/modules/mollie/src/Builder/FormBuilder.php 401: $input[] = [ 402: 'type' => 'mollie-methods', 403: 'name' => Config::METHODS_CONFIG, 404: 'paymentMethods' => $molliePaymentMethods, 405: 'countries' => $this->countryService->getActiveCountriesList(), 406: 'tab' => $generalSettings, 407: 'onlyOrderMethods' => array_merge(Config::KLARNA_PAYMENTS, ['voucher']), 408: 'displayErrors' => Configuration::get(Config::MOLLIE_DISPLAY_ERRORS), 409: 'methodDescription' => TagsUtility::ppTags( 410: $this->module->l('Click [1]here[/1] to read more about the differences between the Payment and Orders API.', self::FILE_NAME), 411: [ 412: $this->module->display($this->module->getPathUri(), 'views/templates/admin/mollie_method_info.tpl'), 413: ] 414: ), 415: 'showCustomLogo' => Configuration::get(Config::MOLLIE_SHOW_CUSTOM_LOGO), 416: 'customLogoUrl' => $this->creditCardLogoProvider->getLogoPathUri() . "?{$dateStamp}", 417: 'customLogoExist' => $this->creditCardLogoProvider->logoExists(), 418: 'voucherCategory' => Configuration::get(Config::MOLLIE_VOUCHER_CATEGORY), 419: 'categoryList' => \Category::getCategories($this->module->getContext()->language->id, true, false), 420: 'productAttributes' => Attribute::getAttributes($this->module->getContext()->language->id), 421: 'klarnaPayments' => Config::KLARNA_PAYMENTS, 422: 'klarnaStatuses' => [Config::MOLLIE_STATUS_KLARNA_AUTHORIZED, Config::MOLLIE_STATUS_KLARNA_SHIPPED], 423: ]; 424: 425: return $input; 426: } 427: 428: protected function getAdvancedSettingsSection() 429: { 430: $advancedSettings = 'advanced_settings'; Line 419 is in red.. Have an idea how to correct this please ? Kind regards, Pilou
  5. Yes. I continue the testing.
  6. Hi toplakd, Thank you for your answser, it was easy to fix it.
  7. I did again the backup of my ps site. Installed it in a sub folder thirtybees, make it operationnal (good db parameters, .htaccess). And migrated it again. Error message: SQL 2.1.0.8 1064 in INSERT INTO `ps_configuration`(`name`, `value`, `date_add`, `date_upd`) SELECT 'TB_MAIL_SUBJECT_TEMPLATE', '[{shop_name}] {subject}', NOW(), NOW() WHERE ( SELECT COUNT(*) FROM `ps_configuration` WHERE `name` = 'TB_MAIL_SUBJECT_TEMPLATE' ) = 0: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE ( SELECT COUNT(*) FROM `ps_configuration` WHERE `name` = 'T...' at line 3 I activated the Debug mode and It displayed an error message: Warning à la ligne 32 du fichier /home/gigapjgx/public_html/thirtybees/modules/mollie/src/Config/Env.php [2] constant(): Couldn't find constant Mollie\Config\Config::SENTRY_ENV Warning à la ligne 32 du fichier /home/gigapjgx/public_html/thirtybees/modules/mollie/src/Config/Env.php [2] constant(): Couldn't find constant Mollie\Config\Config::SENTRY_ENV Warning à la ligne 32 du fichier /home/gigapjgx/public_html/thirtybees/modules/mollie/src/Config/Env.php [2] constant(): Couldn't find constant Mollie\Config\Config::SENTRY_ENV Does anyone have an idea ? Kind regards, Pilou
  8. Hi Wartin, Thanks for your answer. I installed the module override check but there was no overrides.
  9. Hi @yaniv14 Thanks for your answer. Pack.php file exist. And classes folder seems to be the same as the one in the repository.
  10. Hello, I just try to migrate fron Ps 1.6.1.26 (it's a community version with Php 7.4 support). The migration worked fine, no error message. In FO, the home page is displayed correctly. But when I wanted to see a product page, I have the error messsage "500 Server error" With Debug mode activated, the message is : What is this error please ? Can you help me please ? Kind regards, Pilou
  11. Hi datakick, Thanks for your answer, I just reported it !
  12. Hi all, I received a mail from Paygreen which tell me to upgrade the module to last version (v2.7.1) In BO, all seems ok, I can save product modification. But in front, when I click 'next' after choosing the delivery option, I have this error message: Argument 1 passed to PGDomainServicesManagersProductManager::isEligibleProduct() must be an instance of PGDomainInterfacesEntitiesProductInterface, null given, called in /home/mandcdhp/public_html/gigapc/modules/paygreen/bundles/PGDomain/Services/Managers/ButtonManager.php on line 128 in file modules/paygreen/bundles/PGDomain/Services/Managers/ProductManager.php at line 43 Source file: modules/paygreen/bundles/PGDomain/Services/Managers/ProductManager.php 24: * @package PGDomain\Services\Managers 25: * @method PGDomainInterfacesRepositoriesProductRepositoryInterface getRepository() 26: */ 27:class PGDomainServicesManagersProductManager extends PGFrameworkFoundationsAbstractManager 28:{ 29: /** 30: * @param int $id 31: * @return PGDomainInterfacesEntitiesProductInterface|null 32: */ 33: public function getByPrimary($id) 34: { 35: return $this->getRepository()->findByPrimary($id); 36: } 37: 38: /** 39: * @param PGDomainInterfacesEntitiesProductInterface $product 40: * @package string $type 41: * @return bool 42: */ 43: public function isEligibleProduct(PGDomainInterfacesEntitiesProductInterface $product, $type) 44: { 45: /** @var PGDomainServicesManagersCategoryHasPaymentTypeManager $categoryPaymentManager */ 46: $categoryPaymentManager = $this->getService('manager.category_has_payment_type'); 47: 48: /** @var PGDomainInterfacesEntitiesCategoryInterface[] $categories */ 49: $categories = $product->getCategories(); 50: 51: $is_eligible = false; 52: 53: /** @var PGDomainInterfacesEntitiesCategoryInterface $category */ Of course, if I uninstall the Paygreen module, I can go next to payment option. What can I do please ? Kind regards, Pilou v2.7.1-paygreen.zip
  13. Once again, you are the best ! Thanks you Petr 😉
  14. Hey @datakick Paygreen updated their module to v2.6.3 and the same problem came back... (can't save product modification). I modified the file /modules/paygreen/bundles/PGFramework/Services/Autoloader.php as you mentionned before and it works. But I hope I do not make mistakes, so I attached the module to this post. If you have time to take a look at it 😉 Kind regards v2.6.3-paygreen.zip
  15. YES ! It seems to work. You're great Petr, thanks a lot. 🙂
  16. Hi Petr, Thank you very much for your professional opinion. Not being able to solve this bug alone, I will wait patiently for the reaction of Paygreen.
  17. Hey Petr, Thank you for your answer. Here is the paygreen Module paygreen-prestashop-2.5.5.zip
  18. Ok, quickly find... After installing Tb, it was ok, I can save products. Same after installing my theme. Then installed payment modules, first Mollie, Ok, I can save products. Second was Paygreen module (Ps module v2.5.5), once installed, impossible to save products... I disabled it, no change. I uninstalled it, then I can save products. I reinstalled it, and ... impossible to save products. In Chrome console, I can see that: https://i.imgur.com/XQ9nntH.jpg If I try to click on error lines and open it in another tab, it display the page but without admin theme (as old html page). If a good guy have an idea, I will be very happy
  19. Thanks Slick_303, I wiill do backups 😉
  20. You're right. I'm going to test a fresh install of Tb, install the theme I use and at last install the few modules I use, and may be I can reproduce the problem.
  21. Hello Mark, I thought like you, but I see that many founders have already left the ship. I am still in the testing phase, but I hesitate more and more to take the step...
  22. Pilou

    PresMobic

    Thanks for your answer.
  23. Pilou

    PresMobic

    Nobody ? 😐
  24. On Ps, I think it was customer favorite products.
  25. Pilou

    PresMobic

    Hi, Has anyone ever tested the app PresMobic ? It seems to be a module that create an web app for mobile access to your shop. https://presmobic.com/ Ok, it's for Ps but I think it can also work with Tb.
×
×
  • Create New...