Ошибка сервера 500 при попытке экспорта в YML Есть решение

Добрый день! Ошибка стала возникать сегодня при попытке экспорта YML.

В логе php содержится такая информация:

[27-May-2019 17:25:03 Europe/Moscow] PHP Notice:  Indirect modification of overloaded property tkkitShipping::$delivery has no effect in /var/www/wa_framework2/wa-plugins/shipping/tkkit/lib/tkkitShipping.class.php on line 525
[27-May-2019 17:25:03 Europe/Moscow] PHP Notice:  Indirect modification of overloaded property tkkitShipping::$delivery has no effect in /var/www/wa_framework2/wa-plugins/shipping/tkkit/lib/tkkitShipping.class.php on line 551
[27-May-2019 17:25:11 Europe/Moscow] PHP Notice:  Indirect modification of overloaded property tkkitShipping::$delivery has no effect in /var/www/wa_framework2/wa-plugins/shipping/tkkit/lib/tkkitShipping.class.php on line 525
[27-May-2019 17:25:15 Europe/Moscow] PHP Notice:  Indirect modification of overloaded property tkkitShipping::$delivery has no effect in /var/www/wa_framework2/wa-plugins/shipping/tkkit/lib/tkkitShipping.class.php on line 551
[27-May-2019 17:25:24 Europe/Moscow] PHP Notice:  Undefined index: delivery in /var/www/wa_framework2/wa-cache/apps/shop/templates/compiled/shop_ru_RU/5c/42/e5/5c42e5fa085142d75dcab03adcac85726927c81c.file.home.html.php on line 280
[27-May-2019 17:25:24 Europe/Moscow] PHP Notice:  Trying to get property of non-object in /var/www/wa_framework2/wa-cache/apps/shop/templates/compiled/shop_ru_RU/5c/42/e5/5c42e5fa085142d75dcab03adcac85726927c81c.file.home.html.php on line 280
[27-May-2019 17:25:24 Europe/Moscow] PHP Notice:  Undefined index: delivery in /var/www/wa_framework2/wa-cache/apps/shop/templates/compiled/shop_ru_RU/5c/42/e5/5c42e5fa085142d75dcab03adcac85726927c81c.file.home.html.php on line 280
[27-May-2019 17:25:24 Europe/Moscow] PHP Notice:  Trying to get property of non-object in /var/www/wa_framework2/wa-cache/apps/shop/templates/compiled/shop_ru_RU/5c/42/e5/5c42e5fa085142d75dcab03adcac85726927c81c.file.home.html.php on line 280
[27-May-2019 17:25:24 Europe/Moscow] PHP Notice:  Undefined index: delivery in /var/www/wa_framework2/wa-cache/apps/shop/templates/compiled/shop_ru_RU/5c/42/e5/5c42e5fa085142d75dcab03adcac85726927c81c.file.home.html.php on line 280
[27-May-2019 17:25:24 Europe/Moscow] PHP Notice:  Trying to get property of non-object in /var/www/wa_framework2/wa-cache/apps/shop/templates/compiled/shop_ru_RU/5c/42/e5/5c42e5fa085142d75dcab03adcac85726927c81c.file.home.html.php on line 280
[27-May-2019 17:25:24 Europe/Moscow] PHP Notice:  Undefined index: delivery in /var/www/wa_framework2/wa-cache/apps/shop/templates/compiled/shop_ru_RU/5c/42/e5/5c42e5fa085142d75dcab03adcac85726927c81c.file.home.html.php on line 280
[27-May-2019 17:25:24 Europe/Moscow] PHP Notice:  Trying to get property of non-object in /var/www/wa_framework2/wa-cache/apps/shop/templates/compiled/shop_ru_RU/5c/42/e5/5c42e5fa085142d75dcab03adcac85726927c81c.file.home.html.php on line 280
[27-May-2019 17:25:24 Europe/Moscow] PHP Notice:  Undefined index: limit_block_selector in /var/www/wa_framework2/wa-cache/apps/shop/templates/compiled/shop_ru_RU/58/d1/90/58d1904f57848bec8d14bc645823823358fba3aa.string.php on line 33
[27-May-2019 17:25:24 Europe/Moscow] PHP Notice:  Undefined index: _not_sidebar in /var/www/wa_framework2/wa-cache/apps/shop/templates/compiled/shop_ru_RU/df/0a/7f/df0a7f920e866426fb67340c5c1727cc01e88f41.file.main.html.php on line 72
[27-May-2019 17:25:24 Europe/Moscow] PHP Notice:  Trying to get property of non-object in /var/www/wa_framework2/wa-cache/apps/shop/templates/compiled/shop_ru_RU/df/0a/7f/df0a7f920e866426fb67340c5c1727cc01e88f41.file.main.html.php on line 72
[27-May-2019 17:25:25 Europe/Moscow] PHP Notice:  Undefined index: product in /var/www/wa_framework2/wa-cache/apps/shop/templates/compiled/shop_ru_RU/a6/9f/b7/a69fb747387ee6d7159253d8db169ccee0ce423b.file.side.products.html.php on line 38
[27-May-2019 17:25:25 Europe/Moscow] PHP Notice:  Trying to get property of non-object in /var/www/wa_framework2/wa-cache/apps/shop/templates/compiled/shop_ru_RU/a6/9f/b7/a69fb747387ee6d7159253d8db169ccee0ce423b.file.side.products.html.php on line 38
[27-May-2019 17:25:25 Europe/Moscow] PHP Notice:  Undefined index: rss in /var/www/wa_framework2/wa-cache/apps/shop/templates/compiled/shop_ru_RU/8a/4f/fa/8a4ffa0758a939bd29f7fc55b1f1c66468a4efcc.file.index.html.php on line 812
[27-May-2019 17:25:25 Europe/Moscow] PHP Notice:  Trying to get property of non-object in /var/www/wa_framework2/wa-cache/apps/shop/templates/compiled/shop_ru_RU/8a/4f/fa/8a4ffa0758a939bd29f7fc55b1f1c66468a4efcc.file.index.html.php on line 812

Что нужно исправить?

1 ответ

  • 1
    Владимир 28 мая 2019 00:26 # Решение

    Проблема была в правах на папку /var/lib/nginx 

    Видимо, после обновления скрипт передал права пользователю по-умолчанию nginx. Пользователь под которым происходит запуск сервера должен быть apache. Изменение владельца решило проблему: chown -R 48:48 nginx/

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

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