Триггерные рассылки (косяк)
В шаблоне, есть переменная указывающая текущий год и название магазина
© {date("Y")} {$wa->shop->settings("name")}
Но получатели, видят такую надпись:
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /wa-cache/apps/shop/templates/compiled/shop_ru_RU/7f/5c/98/7f5c98afba4ae6c875b4df19540d5121312e43bf.string.php on line 94
Хотя, когда проверяю отпрвку - всё ок!
как победить?
2 ответа
https://support.webasyst.ru/7611/error-it-is-not-s...
в php.ini стоит директива date.timezone = 'Europe/Moscow'
Ладно, придется убрать {date("Y")} из шаблона и прописать вручную