Пустая страница после обновления На рассмотрении
Здравствуйте, после обновления движка, получили пустую страницу. Как восстановить работоспособность сайта с новыми обновлениями? В логах такие ошибки:
[22-Jun-2019 16:07:01 Asia/Yerevan] PHP Deprecated: Non-static method shopProductbrandsPlugin::getProd() should not be called statically in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 228 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Deprecated: Non-static method shopProductbrandsPlugin::getProd() should not be called statically in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 228 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Deprecated: Non-static method shopProductbrandsPlugin::getProd() should not be called statically in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 228 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Undefined index: product in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 253 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Trying to get property of non-object in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 253 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Deprecated: Non-static method shopProductbrandsPlugin::getProd() should not be called statically in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 228 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Deprecated: Non-static method shopProductbrandsPlugin::getProd() should not be called statically in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 228 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Deprecated: Non-static method shopProductbrandsPlugin::getProd() should not be called statically in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 228 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Undefined index: product in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 253 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Trying to get property of non-object in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 253 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Deprecated: Non-static method shopProductbrandsPlugin::getProd() should not be called statically in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 228 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Deprecated: Non-static method shopProductbrandsPlugin::getProd() should not be called statically in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 228 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Undefined index: product in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 253 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Trying to get property of non-object in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 253 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Deprecated: Non-static method shopProductbrandsPlugin::getProd() should not be called statically in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 228 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Deprecated: Non-static method shopProductbrandsPlugin::getProd() should not be called statically in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 228 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Deprecated: Non-static method shopProductbrandsPlugin::getProd() should not be called statically in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 228 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Undefined index: product in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 253 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Trying to get property of non-object in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 253 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Deprecated: Non-static method shopProductbrandsPlugin::getProd() should not be called statically in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 228 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Deprecated: Non-static method shopProductbrandsPlugin::getProd() should not be called statically in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 228 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Deprecated: Non-static method shopProductbrandsPlugin::getProd() should not be called statically in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 228 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Undefined index: product in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 253 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Trying to get property of non-object in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 253 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Undefined index: currency_info in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 348 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Trying to get property of non-object in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 348 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Undefined index: product in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 351 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Trying to get property of non-object in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/97/4a/8f/974a8ffdec195d6b2484ea061882e1481650d47d.file.list-thumbs.html.php on line 351 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Undefined index: hotdeals in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/ee/60/85/ee60855799a8842b78b9b14f6856fa47f8d3b0bb.file.home.html.php on line 72 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Trying to get property of non-object in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/ee/60/85/ee60855799a8842b78b9b14f6856fa47f8d3b0bb.file.home.html.php on line 72 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Warning: Missing argument 2 for wa_currency_html(), called in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/90/a1/f8/90a1f8347dcb31c655812c8c1cda2335ece00e32.file.header.html.php on line 63 and defined in /var/sporttest.ru/wa-system/helper/currency.php on line 8 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Undefined variable: currency in /var/sporttest.ru/wa-system/helper/currency.php on line 10 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Undefined index: sign in /var/sporttest.ru/wa-system/currency/waCurrency.class.php on line 282 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Undefined index: sign_position in /var/sporttest.ru/wa-system/currency/waCurrency.class.php on line 284 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Undefined index: sign_delim in /var/sporttest.ru/wa-system/currency/waCurrency.class.php on line 286 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Warning: Missing argument 2 for wa_currency_html(), called in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/90/a1/f8/90a1f8347dcb31c655812c8c1cda2335ece00e32.file.header.html.php on line 95 and defined in /var/sporttest.ru/wa-system/helper/currency.php on line 8 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Undefined variable: currency in /var/sporttest.ru/wa-system/helper/currency.php on line 10 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Undefined index: sign in /var/sporttest.ru/wa-system/currency/waCurrency.class.php on line 282 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Undefined index: sign_position in /var/sporttest.ru/wa-system/currency/waCurrency.class.php on line 284 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Undefined index: sign_delim in /var/sporttest.ru/wa-system/currency/waCurrency.class.php on line 286 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Undefined index: error in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/af/4f/61/af4f6119304a92f974a41e6421c09d38f327eedd.file.index.html.php on line 175 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Trying to get property of non-object in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/af/4f/61/af4f6119304a92f974a41e6421c09d38f327eedd.file.index.html.php on line 175 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Undefined index: errors in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/af/4f/61/af4f6119304a92f974a41e6421c09d38f327eedd.file.index.html.php on line 199 [22-Jun-2019 16:07:01 Asia/Yerevan] PHP Notice: Trying to get property of non-object in /var/sporttest.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/af/4f/61/af4f6119304a92f974a41e6421c09d38f327eedd.file.index.html.php on line 199
5 комментариев
В шаблоне header.html в теме дизайна поищите вызов функции wa_currency_html(). Кажется, для неё указан в скобках только 1 аргумент. А должно быть 2: 1) число и 2) обозначение валюты.
Спасибо, эта ошибка пропала, но в логах появилось следующее:
Включила режим отладки и сайт открылся, без данного режима пустая страница
Покажите строку 248 в файле wa-data/public/site/themes/default/theme.xml.
Отправьте, пожалуйста, запрос со ссылкой на это обсуждение в службу поддержки. Посмотрим подробнее, почему так может происходить.