<script type='text/javascript'>
(function () {
window['yandexChatWidgetCallback'] = function() {
try {
window.yandexChatWidget = new Ya.ChatWidget({
guid: '7147c0c4-e05c-4cfa-868c-b2fabc52158a',
buttonText: 'Напишите нам, мы онлайн!',
title: 'Онлайн чат',
theme: 'dark',
collapsedDesktop: 'never',
collapsedTouch: 'never'
});
} catch(e) { }
};
var n = document.getElementsByTagName('script')[0],
s = document.createElement('script');
s.async = true;
s.src = 'https://chat.s3.yandex.net/widget.js';
n.parentNode.insertBefore(s, n);
})();
</script>
.ya-chat-button_theme_dark .ya-chat-button__container {
background-color: #E70024!important;
}
<script async src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script async src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js"></script>
<script async src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js"></script>
<script async src="js/wow.min.js"></script>
<script async src="js/script.js"></script>
<script async src="js/maps.js"></script>
$mail = $request->postVar('mail');
в этом же файле и теперь никаких ошибок)
Не пашет :(