XF 2.1 Repeat server errors today

Alternadiv

Well-known member
Hi, haven’t had any sever errors in a long time. Haven’t changed anything on my site either. But this is happening today:

Code:
ErrorException: [E_USER_WARNING] [WebPush] gmp extension is not loaded but is required for sending push notifications with payload or for VAPID authentication. You can fix this in your php.ini. src/vendor/minishlink/web-push/src/WebPush.php:72
Generated by: cmorty72 Jul 15, 2019 at 5:18 PM
Stack trace
#0 [internal function]: XF::handlePhpError(512, '[E_USER_WARNING...', '/home/tacomagc/...', 72, Array)
#1 src/vendor/minishlink/web-push/src/WebPush.php(72): trigger_error('[WebPush] gmp e...', 512)
#2 src/XF/Service/PushNotification.php(278): Minishlink\WebPush\WebPush->__construct(Array, Array, 10, Array)
#3 src/XF/Service/PushNotification.php(127): XF\Service\PushNotification->getWebPushObject()
#4 src/XF/Service/PusherTrait.php(159): XF\Service\PushNotification->sendNotifications()
#5 src/XF/Service/Conversation/Notifier.php(130): XF\Service\Conversation\Pusher->push()
#6 src/XF/Service/Conversation/Notifier.php(58): XF\Service\Conversation\Notifier->_sendNotifications('create', Array, Object(XF\Entity\ConversationMessage))
#7 src/XF/Service/Conversation/Creator.php(254): XF\Service\Conversation\Notifier->notifyCreate()
#8 src/XF/Service/Conversation/Creator.php(244): XF\Service\Conversation\Creator->sendNotifications()
#9 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\Conversation\Creator->_save()
#10 src/XF/Pub/Controller/Conversation.php(320): XF\Service\Conversation\Creator->save()
#11 src/XF/Mvc/Dispatcher.php(321): XF\Pub\Controller\Conversation->actionAdd(Object(XF\Mvc\ParameterBag))
#12 src/XF/Mvc/Dispatcher.php(244): XF\Mvc\Dispatcher->dispatchClass('XF:Conversation', 'Add', Object(XF\Mvc\RouteMatch), Object(SV\AlertImprovements\XF\Pub\Controller\Conversation), NULL)
#13 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\AlertImprovements\XF\Pub\Controller\Conversation), NULL)
#14 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#15 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#16 src/XF.php(390): XF\App->run()
#17 index.php(20): XF::runApp('XF\\Pub\\App')
#18 {main}
Request state
array(4) {
  ["url"] => string(18) "/conversations/add"
  ["referrer"] => string(47) "https://tacoma3g.com/conversations/add?to=Tyler"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(10) {
    ["tokens_select"] => string(5) "Tyler"
    ["recipients"] => string(5) "Tyler"
    ["title"] => string(21) "Tacoma3G.com sticker?"
    ["message_html"] => string(295) "<p>Hi there!</p><p><br></p><p>@Mr. Nobody directed me to contact you about my Tacoma3G.com sticker that I purchased on June 21st.&nbsp;</p><p>Completely forgot about this gem and stumbled upon my transaction awhile balancing my books.</p><p><br></p><p>Thanks!</p><p><br></p><p>CMORTY72&nbsp;</p>"
    ["attachment_hash"] => string(32) "9607e902ea2bb149bf12e044f2b7f1ba"
    ["attachment_hash_combined"] => string(86) "{"type":"conversation_message","context":[],"hash":"9607e902ea2bb149bf12e044f2b7f1ba"}"
    ["_xfToken"] => string(8) "[B]****[/B]"
    ["_xfRequestUri"] => string(27) "/conversations/add?to=Tyler"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
19D3F7E5-3811-4545-970A-D66147B386D5.webp
 
If it makes you feel any better, this started showing up on our installation as well.. The version of PHP we were running didn't have it enabled, and I suspect that the hosting provider switched versions on us a week or so ago without telling us as the version of PHP we were running back in March is not available anymore... They fixed it quickly enough and our problem is solved and hopefully yours as well.
 
Top Bottom