Not a bug (Fixed) Making a new post causes "SodiumException"

kenji4861

Member
Affected version
2.3.4
Any new post made causes this error but the post does successfully make a thread.

SodiumException: sodium_crypto_secretbox(): Argument #3 ($key) must be SODIUM_CRYPTO_SECRETBOX_KEYBYTES bytes long in src/addons/DigitalPoint/Analytics/Util/Crypt.php at line 21
  1. sodium_crypto_secretbox() in src/addons/DigitalPoint/Analytics/Util/Crypt.php at line 21
  2. DigitalPoint\Analytics\Util\Crypt::encrypt() in src/addons/DigitalPoint/Analytics/XF/Mail/Mailer.php at line 54
  3. DigitalPoint\Analytics\XF\Mail\Mailer->renderMailTemplate() in src/XF/Mail/Mail.php at line 420
  4. XF\Mail\Mail->renderTemplate() in src/XF/Mail/Mail.php at line 492
  5. XF\Mail\Mail->getSendableEmail() in src/XF/Mail/Mail.php at line 587
  6. XF\Mail\Mail->queue() in src/XF/Notifier/Post/AbstractWatch.php at line 141
  7. XF\Notifier\Post\AbstractWatch->sendEmail() in src/XF/Service/AbstractNotifier.php at line 97
  8. XF\Service\AbstractNotifier->notifyType() in src/XF/Service/AbstractNotifier.php at line 49
  9. XF\Service\AbstractNotifier->notify() in src/XF/Service/AbstractNotifier.php at line 61
  10. XF\Service\AbstractNotifier->notifyAndEnqueue() in src/XF/Service/Thread/CreatorService.php at line 563
  11. XF\Service\Thread\CreatorService->sendNotifications() in src/XF/Pub/Controller/ForumController.php at line 754
  12. XF\Pub\Controller\ForumController->finalizeThreadCreate() in src/XF/Pub/Controller/ForumController.php at line 962
  13. XF\Pub\Controller\ForumController->actionPostThread() in src/XF/Mvc/Dispatcher.php at line 362
  14. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
  15. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
  16. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
  17. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
  18. XF\App->run() in src/XF.php at line 806
  19. XF::runApp() in index.php at line 23

1733790179971.webp
 
src/addons/DigitalPoint/Analytics/Util/

Post there
 
Back
Top Bottom