Ошибка при установке miniShop2

Устанавливаю компонент miniShop2 версии [4.3.0-pl] — 2022-07-01 для modx версии 2.8.5-pl. В результате установка не проходит, выдаёт следующий лог:

Консоль запущена…
Пробуем установить пакет с подписью: minishop2-4.3.0-pl
Пакет найден… сейчас идёт подготовка к его установке.
Загрузка рабочего пространства пакета…
Рабочее пространство загружено, сейчас устанавливаем пакет…
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => mgr_tree_icon_mscategory )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => mgr_tree_icon_msproduct )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_services )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_plugins )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_chunks_categories )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_tmp_storage )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_use_scheduler )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_category_grid_fields )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_category_show_nested_products )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_category_show_comments )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_category_show_options )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_category_remember_tabs )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_category_id_as_alias )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_category_content_default )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_template_category_default )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_product_extra_fields )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_product_show_comments )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_template_product_default )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_product_show_in_tree_default )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_product_source_default )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_product_thumbnail_default )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_product_thumbnail_size )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_product_remember_tabs )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_product_id_as_alias )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_price_format )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_weight_format )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_price_format_no_zeros )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_weight_format_no_zeros )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_product_tab_extra )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_product_tab_gallery )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_product_tab_links )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_product_tab_options )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_product_tab_categories )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_cart_handler_class )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_cart_context )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_cart_max_count )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_cart_product_key_fields )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_order_format_phone )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_order_format_num )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_order_format_num_separator )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_order_grid_fields )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_order_address_fields )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_order_product_fields )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_order_product_options )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_order_tv_list )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_order_handler_class )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_order_user_groups )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_date_format )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_email_manager )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_frontend_css )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_frontend_message_css )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_frontend_js )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_frontend_message_js )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_frontend_message_js_settings )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_register_frontend )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_toggle_js_type )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_vanila_js )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_frontend_notify_js_settings )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_cart_js_class_path )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_cart_js_class_name )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_order_js_class_path )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_order_js_class_name )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_notify_js_class_path )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_notify_js_class_name )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_status_draft )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_status_new )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_status_paid )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_status_canceled )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_status_for_stat )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_utility_import_fields )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ms2_utility_import_fields_delimiter )
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => msProduct.content )
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => msProduct.content.fenom )
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.msProducts.row )
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.msCart )
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.msCartNew )
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.msMiniCart )
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.msOrder )
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.msGetOrder )
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.msOptions )
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.msProductOptions )
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.msGallery )
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.msGalleryNew )
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.msEmail )
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.msEmail.new.user )
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.msEmail.new.manager )
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.msEmail.paid.user )
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.msEmail.paid.manager )
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.msEmail.sent.user )
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.msEmail.cancelled.user )
Attempting to preserve files at /var/www/www-root/data/www/dev/assets/components/minishop2 into archive /var/www/www-root/data/www/dev/core/packages/minishop2-4.3.0-pl/modCategory/219b72ca2da95a5e1a2b850b1ebacc0c.0.preserved.zip
Attempting to preserve files at /var/www/www-root/data/www/dev/core/components/minishop2 into archive /var/www/www-root/data/www/dev/core/packages/minishop2-4.3.0-pl/modCategory/219b72ca2da95a5e1a2b850b1ebacc0c.1.preserved.zip
Altered field «id» of the table «msCategory»
Altered field «type» of the table «msCategory»
Altered field «contentType» of the table «msCategory»
Altered field «pagetitle» of the table «msCategory»
Altered field «longtitle» of the table «msCategory»
Altered field «description» of the table «msCategory»
Altered field «alias» of the table «msCategory»
Altered field «alias_visible» of the table «msCategory»
Altered field «link_attributes» of the table «msCategory»
Altered field «published» of the table «msCategory»
Altered field «pub_date» of the table «msCategory»
Altered field «unpub_date» of the table «msCategory»
Altered field «parent» of the table «msCategory»
Altered field «isfolder» of the table «msCategory»
Altered field «introtext» of the table «msCategory»
Altered field «content» of the table «msCategory»
Altered field «richtext» of the table «msCategory»
Altered field «template» of the table «msCategory»
Altered field «menuindex» of the table «msCategory»
Altered field «searchable» of the table «msCategory»
Altered field «cacheable» of the table «msCategory»
Altered field «createdby» of the table «msCategory»
Altered field «createdon» of the table «msCategory»
Altered field «editedby» of the table «msCategory»
Altered field «editedon» of the table «msCategory»
Altered field «deleted» of the table «msCategory»
Altered field «deletedon» of the table «msCategory»
Altered field «deletedby» of the table «msCategory»
Altered field «publishedon» of the table «msCategory»
Altered field «publishedby» of the table «msCategory»
Altered field «menutitle» of the table «msCategory»
Altered field «donthit» of the table «msCategory»
Altered field «privateweb» of the table «msCategory»
Altered field «privatemgr» of the table «msCategory»
Altered field «content_dispo» of the table «msCategory»
Altered field «hidemenu» of the table «msCategory»
Altered field «class_key» of the table «msCategory»
Altered field «context_key» of the table «msCategory»
Altered field «content_type» of the table «msCategory»
Altered field «uri» of the table «msCategory»
Altered field «uri_override» of the table «msCategory»
Altered field «hide_children_in_tree» of the table «msCategory»
Altered field «show_in_tree» of the table «msCategory»
Altered field «properties» of the table «msCategory»
Removed field «cache_refresh_idx» of the table «msCategory»
Error adding index content_ft_idx to msCategory: Array ( [0] => 23000 [1] => 1062 [2] => Duplicate entry '0-0-0' for key 'modx_site_content.cache_refresh_idx' )
Altered field «id» of the table «msProduct»
Altered field «type» of the table «msProduct»
Altered field «contentType» of the table «msProduct»
Altered field «pagetitle» of the table «msProduct»
Altered field «longtitle» of the table «msProduct»
Altered field «description» of the table «msProduct»
Altered field «alias» of the table «msProduct»
Altered field «alias_visible» of the table «msProduct»
Altered field «link_attributes» of the table «msProduct»
Altered field «published» of the table «msProduct»
Altered field «pub_date» of the table «msProduct»
Altered field «unpub_date» of the table «msProduct»
Altered field «parent» of the table «msProduct»
Altered field «isfolder» of the table «msProduct»
Altered field «introtext» of the table «msProduct»
Altered field «content» of the table «msProduct»
Altered field «richtext» of the table «msProduct»
Altered field «template» of the table «msProduct»
Altered field «menuindex» of the table «msProduct»
Altered field «searchable» of the table «msProduct»
Altered field «cacheable» of the table «msProduct»
Altered field «createdby» of the table «msProduct»
Altered field «createdon» of the table «msProduct»
Altered field «editedby» of the table «msProduct»
Altered field «editedon» of the table «msProduct»
Altered field «deleted» of the table «msProduct»
Altered field «deletedon» of the table «msProduct»
Altered field «deletedby» of the table «msProduct»
Altered field «publishedon» of the table «msProduct»
Altered field «publishedby» of the table «msProduct»
Altered field «menutitle» of the table «msProduct»
Altered field «donthit» of the table «msProduct»
Altered field «privateweb» of the table «msProduct»
Altered field «privatemgr» of the table «msProduct»
Altered field «content_dispo» of the table «msProduct»
Altered field «hidemenu» of the table «msProduct»
Altered field «class_key» of the table «msProduct»
Altered field «context_key» of the table «msProduct»
Altered field «content_type» of the table «msProduct»
Altered field «uri» of the table «msProduct»
Altered field «uri_override» of the table «msProduct»
Altered field «hide_children_in_tree» of the table «msProduct»
Altered field «show_in_tree» of the table «msProduct»
Altered field «properties» of the table «msProduct»
Error adding index content_ft_idx to msProduct: Array ( [0] => 23000 [1] => 1062 [2] => Duplicate entry '0-0-0' for key 'modx_site_content.cache_refresh_idx' )
Altered field «id» of the table «msProductData»
Altered field «article» of the table «msProductData»
Altered field «price» of the table «msProductData»
Altered field «old_price» of the table «msProductData»
Altered field «weight» of the table «msProductData»
Altered field «image» of the table «msProductData»
Altered field «thumb» of the table «msProductData»
Altered field «vendor» of the table «msProductData»
Altered field «made_in» of the table «msProductData»
Altered field «new» of the table «msProductData»
Altered field «popular» of the table «msProductData»
Altered field «favorite» of the table «msProductData»
Altered field «tags» of the table «msProductData»
Altered field «color» of the table «msProductData»
Altered field «size» of the table «msProductData»
Altered field «source» of the table «msProductData»
Altered field «instock» of the table «msProductData»
Altered field «quantity» of the table «msProductData»
PHP warning: Illegal string offset 'columns'
Дима
27 сентября 2023, 16:58
modx.pro
511
0

Комментарии: 20

Артур Шевченко
27 сентября 2023, 18:15
0
@Николай Савин это ты сломал?)))
    Николай Савин
    27 сентября 2023, 18:17
    0
    В приведенном логе нет не единой ошибки. Про индекс полей только что-то, но это мелкая мелочь
      Дима
      26 октября 2023, 12:54
      0
      Сделали новую копию сайта, начал делать обновление minishop2, проблема та-же, но в логе есть ошибка
      /connectors/index.php HTTP/1.1", host: "test.ru", referrer: "https://test.ru/manager/?a=workspaces"
      [Thu Oct 26 12:49:54.224733 2023] [php7:error] [pid 3645566] [client 5.253.63.216:0] PHP Fatal error:  Uncaught Error: Only variables can be passed by reference in /var/www/www-root/data/www/dev.stabilizator/core/packages/minishop2-4.3.0-pl/modCategory/219b72ca2da95a5e1a2b850b1ebacc0c.resolve.tables.resolver:92\nStack trace:
      #0 /var/www/www-root/data/www/test/core/xpdo/transport/xpdovehicle.class.php(227): include()
      #1 /var/www/www-root/data/www/test/core/xpdo/transport/xpdoobjectvehicle.class.php(228): xPDOVehicle->resolve(Object(xPDOTransport), Object(modCategory_mysql), Array)
      #2 /var/www/www-root/data/www/test/core/xpdo/transport/xpdoobjectvehicle.class.php(89): xPDOObjectVehicle->_installObject(Object(xPDOTransport), Array, Array, NULL, NULL)
      #3 /var/www/www-root/data/www/test/core/xpdo/transport/xpdotransport.class.php(269): xPDOObjectVehicle->install(Object(xPDOTransport), Array)
      #4 /var/www/www-root/data/www/test/core/model/modx/transport/modtransportpackage.class.php(310): xPDOTransport->install(Array)
      #5 /var/www/www-root/data/www/test in /var/www/www-root/data/www/test/core/packages/minishop2-4.3.0-pl/modCategory/219b72ca2da95a5e1a2b850b1ebacc0c.resolve.tables.resolver on line 92, referer: https://test.ru/manager/?a=workspaces
        Николай Савин
        26 октября 2023, 18:37
        0
        А без обновления эта копия работает? Никаких проблем нет?
        Пробовали повторную установку MiniShop2?
        Какое точно рабочее окружение используете?
          Дима
          26 октября 2023, 18:48
          0
          без обновления копия работает, но в каталоге нет привью
            Дима
            26 октября 2023, 18:49
            0
            Пробовали повторную установку MiniShop2?
            да, у нас была старая версия, мы начали её обновлять на тесте. После чего старая версия стёрлась, а новая не установилась.
              Дима
              26 октября 2023, 18:53
              0
              Какое точно рабочее окружение используете?
              использовали php 7.4 + apache + MySQL-8.0.34. Сам сервер на убунту. Подскажите, пожалуйста, это достаточно подробно, или нужны конкретные настройки?
              Николай Савин
              26 октября 2023, 19:28
              0
              Я имел в виду как раз после неудавшейся установки свежей версии, пробовали ее установить еще раз?
                Дима
                27 октября 2023, 12:09
                0
                да, пробовали
        Николай Савин
        27 сентября 2023, 18:18
        0
        Рекомендуемая версия PHP 7.4
          Дима
          28 сентября 2023, 11:08
          0
          Мы перешли на php 8.1, miniShop2 не будет работать на этой версии php?
            Николай Савин
            28 сентября 2023, 13:25
            0
            Некоторые куски точно не будут работать. Местами есть существенные проблемы. Вплоть до того, что используемый функционал вырезан в версии 8.1
            Подогнать конечно можно при желании, но для этого нужна квалификация.
              Дима
              28 сентября 2023, 16:49
              0
              Подскажите, пожалуйста, есть стабильная версия miniShop2 для modx версии 2.8.5-pl + php 8.1
                Николай Савин
                28 сентября 2023, 18:22
                0
                Я же вам выше написал, что ms2 рассчитан на 7.4
                Поддержки версий выше нет и не планируется.
                  Дима
                  28 сентября 2023, 22:02
                  0
                  Спасибо! Будим менять версию на 7.4
                    Дима
                    02 октября 2023, 14:28
                    0
                    Здравствуйте! Поставили php 7.4, лог такой же. Установка не происходит. Подскажите, пожалуйста, куда копать?
            Дима
            03 ноября 2023, 21:31
            0
            Нашёл причину, потратил на её поиски больше 3 дней. Ни modx, ни minishop2 не поддерживают mysql 8. Нужна 5.6. Это указано в документации, при этом, во время установки/обновления, и проверки базы данных, напротив базы данных стоит зелёная галочка. Что вводит в заблуждение. Подробно обсуждалось тут
            modx.pro/help/21493#comment-126847
            и
            modx.pro/components/21212#comment-126040
              Дмитрий
              04 ноября 2023, 01:11
              0
              minishop2 4.3.0-pl, modx 2.8.5-pl, MySQL 8.0.35, php 7.4.33 — работает нормально вроде, не замечал ничего такого…
              Авторизуйтесь или зарегистрируйтесь, чтобы оставлять комментарии.
              20