Hi,
if i would answer a private message i get an error. After reload the page the answer is send.
Any idea?
________________________________________________
Error:
#0 src/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/var/www/vhosts...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Minishlink\\WebP...')
#2 src/XF/Service/PushNotification.php(280): spl_autoload_call('Minishlink\\WebP...')
#3 src/XF/Service/PushNotification.php(127): XF\Service\PushNotification->getWebPushObject()
#4 src/XF/Service/PusherTrait.php(182): XF\Service\PushNotification->sendNotifications()
#5 src/XF/Service/Conversation/Notifier.php(130): XF\Service\Conversation\Pusher->push()
#6 src/XF/Service/Conversation/Notifier.php(65): XF\Service\Conversation\Notifier->_sendNotifications('reply', Array, Object(XF\Entity\ConversationMessage))
#7 src/XF/Service/Conversation/Replier.php(193): XF\Service\Conversation\Notifier->notifyReply(Object(XF\Entity\ConversationMessage))
#8 src/XF/Service/Conversation/Replier.php(172): XF\Service\Conversation\Replier->sendNotifications()
#9 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\Conversation\Replier->_save()
#10 src/XF/Pub/Controller/Conversation.php(506): XF\Service\Conversation\Replier->save()
#11 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\Conversation->actionAddReply(Object(XF\Mvc\ParameterBag))
#12 src/XF/Mvc/Dispatcher.php(261): XF\Mvc\Dispatcher->dispatchClass('XF:Conversation', 'AddReply', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Conversation), NULL)
#13 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Conversation), NULL)
#14 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#15 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#16 src/XF.php(391): XF\App->run()
#17 index.php(20): XF::runApp('XF\\Pub\\App')
#18 {main}
Status der Anfrage
array(4) {
["url"] => string(41) "/conversations/hallo-jungs.5026/add-reply"
["referrer"] => string(54) "https://www.mi-fans.de/conversations/hallo-jungs.5026/"
["_GET"] => array(0) {
}
["_POST"] => array(9) {
["message_html"] => string(22) "<p>Test nach Patch</p>"
["attachment_hash"] => string(32) "03cfa9fc37a42b44ab4e23a5017dbc96"
["attachment_hash_combined"] => string(108) "{"type":"conversation_message","context":{"conversation_id":5026},"hash":"03cfa9fc37a42b44ab4e23a5017dbc96"}"
["last_date"] => string(10) "1584524347"
["last_known_date"] => string(1) "0"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(32) "/conversations/hallo-jungs.5026/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
if i would answer a private message i get an error. After reload the page the answer is send.
Any idea?
________________________________________________
Error:
- ParseError: syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE)
- src/vendor/minishlink/web-push/src/WebPush.php:24
- Generiert von: borussemd
- 18. März 2020 um 09:41
#0 src/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/var/www/vhosts...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Minishlink\\WebP...')
#2 src/XF/Service/PushNotification.php(280): spl_autoload_call('Minishlink\\WebP...')
#3 src/XF/Service/PushNotification.php(127): XF\Service\PushNotification->getWebPushObject()
#4 src/XF/Service/PusherTrait.php(182): XF\Service\PushNotification->sendNotifications()
#5 src/XF/Service/Conversation/Notifier.php(130): XF\Service\Conversation\Pusher->push()
#6 src/XF/Service/Conversation/Notifier.php(65): XF\Service\Conversation\Notifier->_sendNotifications('reply', Array, Object(XF\Entity\ConversationMessage))
#7 src/XF/Service/Conversation/Replier.php(193): XF\Service\Conversation\Notifier->notifyReply(Object(XF\Entity\ConversationMessage))
#8 src/XF/Service/Conversation/Replier.php(172): XF\Service\Conversation\Replier->sendNotifications()
#9 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\Conversation\Replier->_save()
#10 src/XF/Pub/Controller/Conversation.php(506): XF\Service\Conversation\Replier->save()
#11 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\Conversation->actionAddReply(Object(XF\Mvc\ParameterBag))
#12 src/XF/Mvc/Dispatcher.php(261): XF\Mvc\Dispatcher->dispatchClass('XF:Conversation', 'AddReply', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Conversation), NULL)
#13 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Conversation), NULL)
#14 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#15 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#16 src/XF.php(391): XF\App->run()
#17 index.php(20): XF::runApp('XF\\Pub\\App')
#18 {main}
Status der Anfrage
array(4) {
["url"] => string(41) "/conversations/hallo-jungs.5026/add-reply"
["referrer"] => string(54) "https://www.mi-fans.de/conversations/hallo-jungs.5026/"
["_GET"] => array(0) {
}
["_POST"] => array(9) {
["message_html"] => string(22) "<p>Test nach Patch</p>"
["attachment_hash"] => string(32) "03cfa9fc37a42b44ab4e23a5017dbc96"
["attachment_hash_combined"] => string(108) "{"type":"conversation_message","context":{"conversation_id":5026},"hash":"03cfa9fc37a42b44ab4e23a5017dbc96"}"
["last_date"] => string(10) "1584524347"
["last_known_date"] => string(1) "0"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(32) "/conversations/hallo-jungs.5026/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}