Что за "нововведения" от Webasyst?

С утра столкнулся с тем, что старый редактор товаров принял вот такой вид. При этом новый работает. Это такой "добровольно-принудительный" толчок WA для перевода пользователей к новому редактору?

11 ответов

  • 1

    Посмотрите, какие сообщения об ошибках появляются в PHP-логе и в консоли браузера в момент возникновения проблемы.

    • +1
      A.Ledyaev A.Ledyaev 7 мая 2021 08:49 #
      • +1

        У вас возникает серверная ошибка 500. Посмотрите подробности об этой ошибке, как описано в справочной статье.

        • +1
          tattoo85 tattoo85 7 мая 2021 09:14 #

          Аналогичная проблема была обнаружена при попытке выгрузить настройки темы дизайна, если настройки хранятся в приложении сайт, а выгружаешь из магазина, то сообщение об ошибке вываливается на новой странице

        • +1
          A.Ledyaev A.Ledyaev 7 мая 2021 09:23 #

          В логах нашлись подобные записи:


          [Fri May 07 08:30:47.757790 2021] [lsapi:error] [pid 2884299] [client 176.194.106.57:33516] [host wear-termo.ru] Backend fatal error: PHP Fatal error:  Uncaught Error: Only variables can be passed by reference in /var/www/u103707/data/www/wear-termo.ru/wa-cache/94c52f/apps/shop/templates/compiled/shop_ru_RU/20/84/01/20840145b0eadc5a218abfb1062edda8b7e4402c.file.Product.html.php:177\nStack trace:\n#0 /var/www/u103707/data/www/wear-termo.ru/wa-system/vendors/smarty3/sysplugins/smarty_internal_templatebase.php(186): content_6094c535a8f9c3_30970216(Object(Smarty_Internal_Template))\n#1 /var/www/u103707/data/www/wear-termo.ru/wa-system/view/waSmarty3View.class.php(144): Smarty_Internal_TemplateBase->fetch('templates/actio...', NULL)\n#2 /var/www/u103707/data/www/wear-termo.ru/wa-system/controller/waViewAction.class.php(190): waSmarty3View->fetch('templates/actio...', NULL)\n#3 /var/www/u103707/data/www/wear-termo.ru/wa-system/controller/waViewController.class.php(86): waViewAction->display()\n#4 /var/www/u103707/data/www/wear-termo.ru/wa-system/controller/waDefaultViewController.class.php(48): waViewController->executeAction(Object(shopProductAction))\n#5 /var/www/u1037 in /var/www/u103707/data/www/wear-termo.ru/wa-cache/94c52f/apps/shop/templates/compiled/shop_ru_RU/20/84/01/20840145b0eadc5a218abfb1062edda8b7e4402c.file.Product.html.php on line 177\n, referer: https://wear-termo.ru/webasyst/shop/?action=products
          [Fri May 07 08:35:34.633244 2021] [lsapi:error] [pid 2884238] [client 176.194.106.57:48016] [host wear-termo.ru] Backend fatal error: PHP Fatal error:  Uncaught Error: Only variables can be passed by reference in /var/www/u103707/data/www/wear-termo.ru/wa-cache/94c52f/apps/shop/templates/compiled/shop_ru_RU/20/84/01/20840145b0eadc5a218abfb1062edda8b7e4402c.file.Product.html.php:177\nStack trace:\n#0 /var/www/u103707/data/www/wear-termo.ru/wa-system/vendors/smarty3/sysplugins/smarty_internal_templatebase.php(186): content_6094c535a8f9c3_30970216(Object(Smarty_Internal_Template))\n#1 /var/www/u103707/data/www/wear-termo.ru/wa-system/view/waSmarty3View.class.php(144): Smarty_Internal_TemplateBase->fetch('templates/actio...', NULL)\n#2 /var/www/u103707/data/www/wear-termo.ru/wa-system/controller/waViewAction.class.php(190): waSmarty3View->fetch('templates/actio...', NULL)\n#3 /var/www/u103707/data/www/wear-termo.ru/wa-system/controller/waViewController.class.php(86): waViewAction->display()\n#4 /var/www/u103707/data/www/wear-termo.ru/wa-system/controller/waDefaultViewController.class.php(48): waViewController->executeAction(Object(shopProductAction))\n#5 /var/www/u1037 in /var/www/u103707/data/www/wear-termo.ru/wa-cache/94c52f/apps/shop/templates/compiled/shop_ru_RU/20/84/01/20840145b0eadc5a218abfb1062edda8b7e4402c.file.Product.html.php on line 177\n, referer: https://wear-termo.ru/webasyst/shop/?action=products
          [Fri May 07 08:41:53.620710 2021] [lsapi:notice] [pid 2884321] [client 5.255.231.155:38496] [host wear-termo.ru] Backend log: PHP Deprecated:  Non-static method shopAutosubsPlugin::frontendFooter() should not be called statically in /var/www/u103707/data/www/wear-termo.ru/wa-apps/shop/plugins/autosubs/lib/shopAutosubs.plugin.php on line 116\n
          [Fri May 07 08:45:07.396148 2021] [lsapi:error] [pid 2883938] [client 176.194.106.57:48404] [host wear-termo.ru] Backend fatal error: PHP Fatal error:  Uncaught Error: Only variables can be passed by reference in /var/www/u103707/data/www/wear-termo.ru/wa-cache/94d25a/apps/shop/templates/compiled/shop_ru_RU/20/84/01/20840145b0eadc5a218abfb1062edda8b7e4402c.file.Product.html.php:177\nStack trace:\n#0 /var/www/u103707/data/www/wear-termo.ru/wa-system/vendors/smarty3/sysplugins/smarty_internal_templatebase.php(186): content_6094d3e35ff326_45557920(Object(Smarty_Internal_Template))\n#1 /var/www/u103707/data/www/wear-termo.ru/wa-system/view/waSmarty3View.class.php(144): Smarty_Internal_TemplateBase->fetch('templates/actio...', NULL)\n#2 /var/www/u103707/data/www/wear-termo.ru/wa-system/controller/waViewAction.class.php(190): waSmarty3View->fetch('templates/actio...', NULL)\n#3 /var/www/u103707/data/www/wear-termo.ru/wa-system/controller/waViewController.class.php(86): waViewAction->display()\n#4 /var/www/u103707/data/www/wear-termo.ru/wa-system/controller/waDefaultViewController.class.php(48): waViewController->executeAction(Object(shopProductAction))\n#5 /var/www/u1037 in /var/www/u103707/data/www/wear-termo.ru/wa-cache/94d25a/apps/shop/templates/compiled/shop_ru_RU/20/84/01/20840145b0eadc5a218abfb1062edda8b7e4402c.file.Product.html.php on line 177\n, referer: https://wear-termo.ru/webasyst/shop/?action=products
          [Fri May 07 08:45:20.624601 2021] [lsapi:notice] [pid 2884121] [client 207.46.13.72:49396] [host wear-termo.ru] Backend log: PHP Deprecated:  Non-static method shopAutosubsPlugin::frontendFooter() should not be called statically in /var/www/u103707/data/www/wear-termo.ru/wa-apps/shop/plugins/autosubs/lib/shopAutosubs.plugin.php on line 116\n
          [Fri May 07 08:47:21.487752 2021] [lsapi:error] [pid 2883992] [client 176.194.106.57:56512] [host wear-termo.ru] Backend fatal error: PHP Fatal error:  Uncaught Error: Only variables can be passed by reference in /var/www/u103707/data/www/wear-termo.ru/wa-cache/94d25a/apps/shop/templates/compiled/shop_ru_RU/20/84/01/20840145b0eadc5a218abfb1062edda8b7e4402c.file.Product.html.php:177\nStack trace:\n#0 /var/www/u103707/data/www/wear-termo.ru/wa-system/vendors/smarty3/sysplugins/smarty_internal_templatebase.php(186): content_6094d3e35ff326_45557920(Object(Smarty_Internal_Template))\n#1 /var/www/u103707/data/www/wear-termo.ru/wa-system/view/waSmarty3View.class.php(144): Smarty_Internal_TemplateBase->fetch('templates/actio...', NULL)\n#2 /var/www/u103707/data/www/wear-termo.ru/wa-system/controller/waViewAction.class.php(190): waSmarty3View->fetch('templates/actio...', NULL)\n#3 /var/www/u103707/data/www/wear-termo.ru/wa-system/controller/waViewController.class.php(86): waViewAction->display()\n#4 /var/www/u103707/data/www/wear-termo.ru/wa-system/controller/waDefaultViewController.class.php(48): waViewController->executeAction(Object(shopProductAction))\n#5 /var/www/u1037 in /var/www/u103707/data/www/wear-termo.ru/wa-cache/94d25a/apps/shop/templates/compiled/shop_ru_RU/20/84/01/20840145b0eadc5a218abfb1062edda8b7e4402c.file.Product.html.php on line 177\n
          [Fri May 07 08:48:59.922451 2021] [lsapi:notice] [pid 2884321] [client 207.46.13.100:33904] [host wear-termo.ru] Backend log: PHP Deprecated:  Non-static method shopAutosubsPlugin::frontendFooter() should not be called statically in /var/www/u103707/data/www/wear-termo.ru/wa-apps/shop/plugins/autosubs/lib/shopAutosubs.plugin.php on line 116\n
          [Fri May 07 08:54:49.047315 2021] [lsapi:notice] [pid 2883931] [client 176.194.106.57:51346] [host wear-termo.ru] Backend log: PHP Deprecated:  Non-static method shopAutosubsPlugin::frontendFooter() should not be called statically in /var/www/u103707/data/www/wear-termo.ru/wa-apps/shop/plugins/autosubs/lib/shopAutosubs.plugin.php on line 116\n, referer: https://wear-termo.ru/
          [Fri May 07 08:55:16.648578 2021] [lsapi:notice] [pid 2883911] [client 176.194.106.57:52700] [host wear-termo.ru] Backend log: PHP Deprecated:  Non-static method shopAutosubsPlugin::frontendFooter() should not be called statically in /var/www/u103707/data/www/wear-termo.ru/wa-apps/shop/plugins/autosubs/lib/shopAutosubs.plugin.php on line 116\n, referer: https://wear-termo.ru/
          [Fri May 07 08:55:53.491033 2021] [lsapi:notice] [pid 2884192] [client 5.45.207.150:54534] [host wear-termo.ru] Backend log: PHP Deprecated:  Non-static method shopAutosubsPlugin::frontendFooter() should not be called statically in /var/www/u103707/data/www/wear-termo.ru/wa-apps/shop/plugins/autosubs/lib/shopAutosubs.plugin.php on line 116\n
          [Fri May 07 08:55:54.178867 2021] [lsapi:notice] [pid 2884130] [client 5.45.207.150:54580] [host wear-termo.ru] Backend log: PHP Deprecated:  Non-static method shopAutosubsPlugin::frontendFooter() should not be called statically in /var/www/u103707/data/www/wear-termo.ru/wa-apps/shop/plugins/autosubs/lib/shopAutosubs.plugin.php on line 116\n
          [Fri May 07 08:55:54.932877 2021] [lsapi:notice] [pid 2883875] [client 5.255.231.165:54616] [host wear-termo.ru] Backend log: PHP Deprecated:  Non-static method shopAutosubsPlugin::frontendFooter() should not be called statically in /var/www/u103707/data/www/wear-termo.ru/wa-apps/shop/plugins/autosubs/lib/shopAutosubs.plugin.php on line 116\n
          [Fri May 07 08:55:56.775791 2021] [lsapi:notice] [pid 2884151] [client 5.255.231.165:54700] [host wear-termo.ru] Backend log: PHP Deprecated:  Non-static method shopAutosubsPlugin::frontendFooter() should not be called statically in /var/www/u103707/data/www/wear-termo.ru/wa-apps/shop/plugins/autosubs/lib/shopAutosubs.plugin.php on line 116\n
          [Fri May 07 08:55:58.753003 2021] [lsapi:notice] [pid 2884089] [client 176.194.106.57:54812] [host wear-termo.ru] Backend log: PHP Deprecated:  Non-static method shopAutosubsPlugin::frontendFooter() should not be called statically in /var/www/u103707/data/www/wear-termo.ru/wa-apps/shop/plugins/autosubs/lib/shopAutosubs.plugin.php on line 116\n
          [Fri May 07 08:56:04.643187 2021] [lsapi:notice] [pid 2883963] [client 176.194.106.57:55130] [host wear-termo.ru] Backend log: PHP Deprecated:  Non-static method shopAutosubsPlugin::frontendFooter() should not be called statically in /var/www/u103707/data/www/wear-termo.ru/wa-apps/shop/plugins/autosubs/lib/shopAutosubs.plugin.php on line 116\n, referer: https://wear-termo.ru/site/signup/?email_confirmed=1
          [Fri May 07 08:57:54.788456 2021] [lsapi:notice] [pid 2883938] [client 176.194.106.57:60562] [host wear-termo.ru] Backend log: PHP Deprecated:  Non-static method shopAutosubsPlugin::frontendFooter() should not be called statically in /var/www/u103707/data/www/wear-termo.ru/wa-apps/shop/plugins/autosubs/lib/shopAutosubs.plugin.php on line 116\n
          [Fri May 07 09:01:20.719994 2021] [lsapi:notice] [pid 2884301] [client 207.46.13.82:42572] [host wear-termo.ru] Backend log: PHP Deprecated:  Non-static method shopAutosubsPlugin::frontendFooter() should not be called statically in /var/www/u103707/data/www/wear-termo.ru/wa-apps/shop/plugins/autosubs/lib/shopAutosubs.plugin.php on line 116\n
          [Fri May 07 09:01:24.528556 2021] [lsapi:notice] [pid 2884151] [client 176.194.106.57:42806] [host wear-termo.ru] Backend log: PHP Deprecated:  Non-static method shopAutosubsPlugin::frontendFooter() should not be called statically in /var/www/u103707/data/www/wear-termo.ru/wa-apps/shop/plugins/autosubs/lib/shopAutosubs.plugin.php on line 116\n, referer: https://wear-termo.ru/
          2021/05/07 09:09:29 [warn] 2880723#2880723: *60408047 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/9/76/0000052769 while reading upstream, client: 176.194.106.57, server: wear-termo.ru, request: "GET /webasyst/logs/?action=download&path=productlist/debug.log HTTP/2.0", upstream: "http://127.0.0.1:8080/webasyst/logs/?action=download&path=productlist/debug.log", host: "wear-termo.ru", referrer: "https://wear-termo.ru/webasyst/logs/?page=5986&action=file&path=productlist%2Fdebug.log"
          [Fri May 07 09:11:00.619238 2021] [lsapi:error] [pid 2883849] [client 176.194.106.57:41716] [host wear-termo.ru] Backend fatal error: PHP Fatal error:  Uncaught Error: Only variables can be passed by reference in /var/www/u103707/data/www/wear-termo.ru/wa-cache/94d25a/apps/shop/templates/compiled/shop_ru_RU/20/84/01/20840145b0eadc5a218abfb1062edda8b7e4402c.file.Product.html.php:177\nStack trace:\n#0 /var/www/u103707/data/www/wear-termo.ru/wa-system/vendors/smarty3/sysplugins/smarty_internal_templatebase.php(186): content_6094d3e35ff326_45557920(Object(Smarty_Internal_Template))\n#1 /var/www/u103707/data/www/wear-termo.ru/wa-system/view/waSmarty3View.class.php(144): Smarty_Internal_TemplateBase->fetch('templates/actio...', NULL)\n#2 /var/www/u103707/data/www/wear-termo.ru/wa-system/controller/waViewAction.class.php(190): waSmarty3View->fetch('templates/actio...', NULL)\n#3 /var/www/u103707/data/www/wear-termo.ru/wa-system/controller/waViewController.class.php(86): waViewAction->display()\n#4 /var/www/u103707/data/www/wear-termo.ru/wa-system/controller/waDefaultViewController.class.php(48): waViewController->executeAction(Object(shopProductAction))\n#5 /var/www/u1037 in /var/www/u103707/data/www/wear-termo.ru/wa-cache/94d25a/apps/shop/templates/compiled/shop_ru_RU/20/84/01/20840145b0eadc5a218abfb1062edda8b7e4402c.file.Product.html.php on line 177\n, referer: https://wear-termo.ru/webasyst/shop/?action=products
          2021/05/07 09:11:31 [warn] 2880723#2880723: *60408047 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/3/77/0000052773 while reading upstream, client: 176.194.106.57, server: wear-termo.ru, request: "GET /webasyst/logs/?action=download&path=error.log HTTP/2.0", upstream: "http://127.0.0.1:8080/webasyst/logs/?action=download&path=error.log", host: "wear-termo.ru", referrer: "https://wear-termo.ru/webasyst/logs/?action=file&path=error.log"
          [Fri May 07 09:14:11.470094 2021] [lsapi:error] [pid 2884120] [client 176.194.106.57:51244] [host wear-termo.ru] Backend fatal error: PHP Fatal error:  Uncaught Error: Only variables can be passed by reference in /var/www/u103707/data/www/wear-termo.ru/wa-cache/94d25a/apps/shop/templates/compiled/shop_ru_RU/20/84/01/20840145b0eadc5a218abfb1062edda8b7e4402c.file.Product.html.php:177\nStack trace:\n#0 /var/www/u103707/data/www/wear-termo.ru/wa-system/vendors/smarty3/sysplugins/smarty_internal_templatebase.php(186): content_6094d3e35ff326_45557920(Object(Smarty_Internal_Template))\n#1 /var/www/u103707/data/www/wear-termo.ru/wa-system/view/waSmarty3View.class.php(144): Smarty_Internal_TemplateBase->fetch('templates/actio...', NULL)\n#2 /var/www/u103707/data/www/wear-termo.ru/wa-system/controller/waViewAction.class.php(190): waSmarty3View->fetch('templates/actio...', NULL)\n#3 /var/www/u103707/data/www/wear-termo.ru/wa-system/controller/waViewController.class.php(86): waViewAction->display()\n#4 /var/www/u103707/data/www/wear-termo.ru/wa-system/controller/waDefaultViewController.class.php(48): waViewController->executeAction(Object(shopProductAction))\n#5 /var/www/u1037 in /var/www/u103707/data/www/wear-termo.ru/wa-cache/94d25a/apps/shop/templates/compiled/shop_ru_RU/20/84/01/20840145b0eadc5a218abfb1062edda8b7e4402c.file.Product.html.php on line 177\n, referer: https://wear-termo.ru/webasyst/shop/?action=products

          • +1
            A.Ledyaev A.Ledyaev 7 мая 2021 09:28 #

            Помимо этого, сейчас заменил ошибку в регистрации новых пользователей. А при переходе в настройки "Личного кабинета" в back-end появляется такое окно

            Unable to load template file 'wa-apps/site/templates/actions-legacy/personal/Personal.html' code 0
            ## wa-system/controller/waDispatch.class.php(50)
            #0 wa-system/waSystem.class.php(609): waDispatch->dispatch()
            #1 index.php(7): waSystem->dispatch()
            #2 {main}
            
            Next SmartyException with message 'Unable to load template file 'wa-apps/site/templates/actions-legacy/personal/Personal.html'':
            ## wa-system/vendors/smarty3/sysplugins/smarty_internal_templatebase.php(133)
            #0 wa-system/view/waSmarty3View.class.php(144): Smarty_Internal_TemplateBase->fetch('/var/www/u10370...', NULL)
            #1 wa-system/controller/waViewAction.class.php(190): waSmarty3View->fetch('/var/www/u10370...', NULL)
            #2 wa-system/controller/waViewController.class.php(86): waViewAction->display()
            #3 wa-system/controller/waDefaultViewController.class.php(48): waViewController->executeAction(Object(sitePersonalAction))
            #4 wa-system/controller/waController.class.php(21): waDefaultViewController->execute()
            #5 wa-system/controller/waViewController.class.php(46): waController->run(NULL)
            #6 wa-system/controller/waFrontController.class.php(263): waViewController->run(NULL)
            #7 wa-system/controller/waFrontController.class.php(190): waFrontController->runController(Object(waDefaultViewController), NULL)
            #8 wa-system/controller/waFrontController.class.php(84): waFrontController->execute(NULL, 'personal', NULL)
            #9 wa-system/controller/waDispatch.class.php(157): waFrontController->dispatch()
            #10 wa-system/controller/waDispatch.class.php(32): waDispatch->dispatchBackend('webasyst/site/')
            #11 wa-system/waSystem.class.php(609): waDispatch->dispatch()
            #12 index.php(7): waSystem->dispatch()
            #13 {main}
            GET
            [
              'module' => 'personal',
              'domain_id' => '2',
              '_' => '1620368835328',
            ]
            Params
            []

          • +1

            Возможно, на вашем хостинге включена версия PHP выше рекомендованной максимальной 7.2. Попробуйте понизить номер версии PHP до 7.2, если это предположение верно.

            • +1
              A.Ledyaev A.Ledyaev 7 мая 2021 09:48 #

              Вопрос с личным кабинетом решился через обновление "Сайта".

              Вопрос с редактором товаров остается открытым. Ошибка возникла только сегодня с утра. На этой неделе активно пользовались старым редактором - все работало

            • +1
              A.Ledyaev A.Ledyaev 7 мая 2021 10:17 #

              Версия PHP корректная - 7.2

Добавить ответ

Чтобы добавить комментарий, зарегистрируйтесь или войдите