Jump to content
thirty bees forum

Pilou

Trusted Members
  • Posts

    114
  • Joined

  • Last visited

Posts 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. 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

  3. 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

  4. 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 :

     

    err50010.jpg

    What is this error please ?
    Can you help me please ?

    Kind regards,
    Pilou

  5. 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

  6. 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

  7. 15 hours ago, Mark said:

    PS/ TB is complex and trying to do something large, so Ive tried to cut slack, but I always get this "its your server" nonsense and there it ends, without any clue as to what this apparent issue with my server is. Things dont work when they did just days before with no server changes so I am pretty sure its an excuse to get rid of the complainant. I have a list of about 30 things that are frustrating, although there is a work around for most. However this one is terminal.

    Ive also put things into github that started out promisingly but never got done properly and all issues I have reported still remain.

    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.

  8. 5 hours ago, Mark said:

    I came to thirtybees because the attitude was stated as NOT being like Prestashop, that there was a commitment to fixing things.

    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...

×
×
  • Create New...