XF 2.2 Error?!??

ManuTdi

Active member
Why do I have this error and how do I solve it?


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:82
Generado por: Mr_Pacojones 11 Mar 2021 a las 18:45
Seguimiento
#0 [internal function]: XF::handlePhpError(512, '[E_USER_WARNING...', '/home/relojin2/...', 82, Array)
#1 src/vendor/minishlink/web-push/src/WebPush.php(82): trigger_error('[WebPush] gmp e...', 512)
#2 src/XF/Service/PushNotification.php(262): Minishlink\WebPush\WebPush->__construct(Array, Array, 10, Array)
#3 src/XF/Service/PushNotification.php(128): XF\Service\PushNotification->getWebPushObject()
#4 src/XF/Service/PusherTrait.php(191): XF\Service\PushNotification->sendNotifications()
#5 src/XF/Repository/UserAlert.php(163): XF\Service\Alert\Pusher->push()
#6 src/XF/Repository/UserAlert.php(114): XF\Repository\UserAlert->insertAlert(5924, 177, 'Mr_Pacojones', 'resource_update', 1287, 'insert', Array, Array)
#7 src/XF/Notifier/AbstractNotifier.php(70): XF\Repository\UserAlert->alert(Object(XFRM\XF\Entity\User), 177, 'Mr_Pacojones', 'resource_update', 1287, 'insert', Array, Array)
#8 src/addons/XFRM/Notifier/ResourceUpdate/AbstractWatch.php(74): XF\Notifier\AbstractNotifier->basicAlert(Object(XFRM\XF\Entity\User), 177, 'Mr_Pacojones', 'resource_update', 1287, 'insert')
#9 src/XF/Service/AbstractNotifier.php(86): XFRM\Notifier\ResourceUpdate\AbstractWatch->sendAlert(Object(XFRM\XF\Entity\User))
#10 src/XF/Service/AbstractNotifier.php(44): XF\Service\AbstractNotifier->notifyType(Object(XFRM\Notifier\ResourceUpdate\CategoryWatch), Array, 1.61548E+9)
#11 src/XF/Service/AbstractNotifier.php(56): XF\Service\AbstractNotifier->notify(3)
#12 src/addons/XFRM/Service/ResourceItem/Create.php(376): XF\Service\AbstractNotifier->notifyAndEnqueue(3)
#13 src/addons/XFRM/Pub/Controller/Category.php(232): XFRM\Service\ResourceItem\Create->sendNotifications()
#14 src/addons/XFRM/Pub/Controller/Category.php(268): XFRM\Pub\Controller\Category->finalizeResourceCreate(Object(TickTackk\UpdateAnyResource\XFRM\Service\ResourceItem\Create))
#15 src/XF/Mvc/Dispatcher.php(350): XFRM\Pub\Controller\Category->actionAdd(Object(XF\Mvc\ParameterBag))
#16 src/XF/Mvc/Dispatcher.php(261): XF\Mvc\Dispatcher->dispatchClass('XFRM:Category', 'Add', Object(XF\Mvc\RouteMatch), Object(XFRM\Pub\Controller\Category), NULL)
#17 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XFRM\Pub\Controller\Category), NULL)
#18 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#19 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#20 src/XF.php(488): XF\App->run()
#21 index.php(20): XF::runApp('XF\\Pub\\App')
#22 {main}
Estado de la solicitud
array(4) {
  ["url"] => string(37) "/recursos/categories/analogico.76/add"
  ["referrer"] => string(65) "https://relojinteligente.org/recursos/categories/analogico.76/add"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(19) {
    ["prefix_id"] => string(2) "17"
    ["title"] => string(12) "Mickey Mouse"
    ["tag_line"] => string(12) "Mickey Mouse"
    ["resource_type"] => string(14) "download_local"
    ["version_attachment_hash"] => string(32) "5e812ec9537e7151616ffcb3c79acab6"
    ["version_attachment_hash_combined"] => string(107) "{"type":"resource_version","context":{"resource_category_id":76},"hash":"5e812ec9537e7151616ffcb3c79acab6"}"
    ["version_string"] => string(12) "Versión 1.0"
    ["custom_fields"] => array(4) {
      ["Tipo"] => string(9) "Analogico"
      ["Contenido"] => array(1) {
        [0] => string(13) "Diadelasemana"
      }
      ["Estados"] => array(1) {
        [0] => string(7) "Ninguno"
      }
      ["donation_btn"] => string(42) "https://paypal.me/PacoTrumo?locale.x=es_ES"
    }
    ["description_html"] => string(765) "<p><strong>ATENCIÓN:</strong> Esta esfera es exclusiva en la web. <strong>No compartir el archivo bin</strong> en otros sitios, en caso de compartir que sea <strong>mediante enlace a esta web</strong>. Seamos conscientes con esto de compartir por favor. Ayúdanos a seguir adelante. Gracias</p><p><br></p><p>Mickey Mouse------------------<strong>Bluetooth apagado Mickey cierra los ojos</strong></p><p><br></p><p><strong>Si quieres puedes colaborar haciendo un donativo para un café</strong> ☕</p><p><a href="http://paypal.me/PacoTrumo" rel="nofollow ugc noopener" target="_blank">👉Paypal-me</a></p><p><br></p><p><img src="/attachments/preview-gif.3447/?hash=f7bb730e7a4af3465a7d942b78cf73d1" data-attachment="full:3447" alt="" class="fr-fic fr-dii"><br></p>"
    ["attachment_hash"] => string(32) "f7bb730e7a4af3465a7d942b78cf73d1"
    ["attachment_hash_combined"] => string(106) "{"type":"resource_update","context":{"resource_category_id":76},"hash":"f7bb730e7a4af3465a7d942b78cf73d1"}"
    ["tokens_select"] => string(4) "gtr2"
    ["tags"] => string(27) "mickey, mouse, disney, gtr2"
    ["external_url"] => string(0) ""
    ["icon_action"] => string(6) "custom"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(37) "/recursos/categories/analogico.76/add"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Top Bottom