Duplicate Pushlink error

MacSeah

Well-known member
Affected version
2.2
Error log

Server error log

  • ErrorException: [E_DEPRECATED] Function openssl_pkey_free() is deprecated
  • src/vendor/minishlink/web-push/src/Encryption.php:281
  • Generated by: Andyho
  • Nov 9, 2021 at 10:20 PM

Stack trace​


#0 src/vendor/minishlink/web-push/src/Encryption.php(281): XF::handlePhpError(8192, '[E_DEPRECATED] ...', 's...', 281)
#1 src/vendor/minishlink/web-push/src/Encryption.php(246): Minishlink\WebPush\Encryption::createLocalKeyObjectUsingOpenSSL()
#2 src/vendor/minishlink/web-push/src/Encryption.php(64): Minishlink\WebPush\Encryption::createLocalKeyObject()
#3 src/vendor/minishlink/web-push/src/WebPush.php(220): Minishlink\WebPush\Encryption::encrypt('{"title":"Reply...', 'BJBHZ53/gQ0J4on...', 'E/Pn2KCtCIOUlxo...', 'aes128gcm')
#4 src/vendor/minishlink/web-push/src/WebPush.php(168): Minishlink\WebPush\WebPush->prepare(Array)
#5 src/XF/Service/PushNotification.php(204): Minishlink\WebPush\WebPush->flush()
#6 src/XF/Service/PushNotification.php(174): XF\Service\PushNotification->handleResults(Object(Generator))
#7 src/XF/Service/PusherTrait.php(194): XF\Service\PushNotification->sendNotifications()
#8 src/XF/Service/Conversation/Notifier.php(130): XF\Service\Conversation\Pusher->push()
#9 src/XF/Service/Conversation/Notifier.php(65): XF\Service\Conversation\Notifier->_sendNotifications('reply', Array, Object(AddonFlare\GlobalIgnore\XF\Entity\ConversationMessage))
#10 src/XF/Service/Conversation/Replier.php(193): XF\Service\Conversation\Notifier->notifyReply(Object(AddonFlare\GlobalIgnore\XF\Entity\ConversationMessage))
#11 src/XF/Service/Conversation/Replier.php(172): XF\Service\Conversation\Replier->sendNotifications()
#12 src/addons/OzzModz/ScheduledContent/XF/Service/Conversation/Replier.php(43): XF\Service\Conversation\Replier->_save()
#13 src/XF/Service/ValidateAndSavableTrait.php(40): OzzModz\ScheduledContent\XF\Service\Conversation\Replier->_save()
#14 src/XF/Pub/Controller/Conversation.php(514): XF\Service\Conversation\Replier->save()
#15 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\Conversation->actionAddReply(Object(XF\Mvc\ParameterBag))
#16 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Conversation', 'AddReply', Object(XF\Mvc\RouteMatch), Object(AddonFlare\GlobalIgnore\XF\Pub\Controller\Conversation), NULL)
#17 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(AddonFlare\GlobalIgnore\XF\Pub\Controller\Conversation), NULL)
#18 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#19 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#20 src/XF.php(512): XF\App->run()
#21 index.php(20): XF::runApp('XF\\Pub\\App')
#22 {main}


Request state​


array(4) {
["url"] => string(61) "/conversations/live-real-time-conversation.13616474/add-reply"
["referrer"] => string(78) "https://site/conversations/live-real-time-conversation.13616474/"
["_GET"] => array(1) {
["/conversations/live-real-time-conversation_13616474/add-reply"] => string(0) ""
}
["_POST"] => array(10) {
["message_html"] => string(22) "<p>this is my type</p>"
["attachment_hash"] => string(32) "bab10fc0fa3bcd40bfa2c2a565c8d6a1"
["attachment_hash_combined"] => string(112) "{"type":"conversation_message","context":{"conversation_id":13616474},"hash":"bab10fc0fa3bcd40bfa2c2a565c8d6a1"}"
["last_date"] => string(10) "1636467490"
["last_known_date"] => string(1) "0"
["load_extra"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(52) "/conversations/live-real-time-conversation.13616474/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
 
This should only appear if you’re running in debug/development mode and if you’re running PHP 8.0, I believe.

It can be ignored for now.

I believe it is resolved in XF 2.3.
 
Y
u are right. It happens on the staging server where dev mode is on.

Thanks for highlighting it.
 
Top Bottom