digitalpoint
Well-known member
That is a constant in Sodium. So if that constant isn’t there, Sodium isn’t installed. What version of Sodium does it say is installed for you?
if (isNewRoot && opt.group !== pointElRoot.dataset.nestableGroup)
typeof(opt.group)
is always number and typeof(pointElRoot.dataset.nestableGroup)
is always string.if (isNewRoot && opt.group != pointElRoot.dataset.nestableGroup)
What version of Sodium is showing in PHP though?
SODIUM_CRYPTO_SECRETBOX_NONCEBYTES
is a predefined constant of Sodium no matter what the version of PHP that's installed. So if that's missing, something is definitely mucked somehow with that extension in your PHP setup.Yes.Hey @digitalpoint, is this addon compatible with XF 2.2.12? i mean latest version of this addon.
Compatible XF 2.x versions: 2.2, 2.3
GuzzleHttp\Exception\InvalidArgumentException: json_encode error: Malformed UTF-8 characters, possibly incorrectly encoded src/vendor/guzzlehttp/guzzle/src/Utils.php:298
Generated by: Unknown account Oct 14, 2024 at 4:42 PM
Stack trace
#0 src/vendor/guzzlehttp/guzzle/src/Client.php(377): GuzzleHttp\Utils::jsonEncode(Array)
#1 src/vendor/guzzlehttp/guzzle/src/Client.php(328): GuzzleHttp\Client->applyOptions(Object(GuzzleHttp\Psr7\Request), Array)
#2 src/vendor/guzzlehttp/guzzle/src/Client.php(169): GuzzleHttp\Client->transfer(Object(GuzzleHttp\Psr7\Request), Array)
#3 src/vendor/guzzlehttp/guzzle/src/ClientTrait.php(207): GuzzleHttp\Client->requestAsync('POST', Object(GuzzleHttp\Psr7\Uri), Array)
#4 src/addons/DigitalPoint/Analytics/GoogleApi/Measurement.php(47): GuzzleHttp\Client->postAsync('https://www.goo...', Array)
#5 src/addons/DigitalPoint/Analytics/GoogleApi/Measurement.php(74): DigitalPoint\Analytics\GoogleApi\Measurement->makeApiCall('https://www.goo...', Array)
#6 src/addons/DigitalPoint/Analytics/Repository/Measurement.php(11): DigitalPoint\Analytics\GoogleApi\Measurement->collect('fa1c2d62-efa8-4...', Array, [invalid], Array, true)
#7 src/addons/DigitalPoint/Analytics/Pub/Controller/Beacon.php(35): DigitalPoint\Analytics\Repository\Measurement->collect('fa1c2d62-efa8-4...', Array, [invalid])
#8 src/XF/Mvc/Dispatcher.php(362): DigitalPoint\Analytics\Pub\Controller\Beacon->actionImage(Object(XF\Mvc\ParameterBag))
#9 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('DigitalPoint\\An...', 'Image', Object(XF\Mvc\RouteMatch), Object(DigitalPoint\Analytics\Pub\Controller\Beacon), NULL)
#10 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(DigitalPoint\Analytics\Pub\Controller\Beacon), NULL)
#11 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#12 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#13 src/XF.php(806): XF\App->run()
#14 index.php(23): XF::runApp('XF\\Pub\\App')
#15 {main}
Request state
array(4) {
["url"] => string(164) "/b/image.gif?p=%2FJ9VDU7Ud6E2e%2BhfuVe5COE%2BoWJaZ0PWjyMgodO%2FQA1Pa6BaUaEJZMEr2o6WJ73iNHynTV0BfxdZpnr3OyMcUMtQYDLtOf1xqvihcImQP5IIBrm%2B9MXK9adPfbaLIHGhhNM%3D"
["referrer"] => bool(false)
["_GET"] => array(1) {
["p"] => string(132) "/J9VDU7Ud6E2e+hfuVe5COE+oWJaZ0PWjyMgodO/QA1Pa6BaUaEJZMEr2o6WJ73iNHynTV0BfxdZpnr3OyMcUMtQYDLtOf1xqvihcImQP5IIBrm+9MXK9adPfbaLIHGhhNM="
}
["_POST"] => array(0) {
}
}
Are you using the latest version of the addon?@digitalpoint getting this error on XF 2.3.3:
Code:GuzzleHttp\Exception\InvalidArgumentException: json_encode error: Malformed UTF-8 characters, possibly incorrectly encoded src/vendor/guzzlehttp/guzzle/src/Utils.php:298 Generated by: Unknown account Oct 14, 2024 at 4:42 PM Stack trace #0 src/vendor/guzzlehttp/guzzle/src/Client.php(377): GuzzleHttp\Utils::jsonEncode(Array) #1 src/vendor/guzzlehttp/guzzle/src/Client.php(328): GuzzleHttp\Client->applyOptions(Object(GuzzleHttp\Psr7\Request), Array) #2 src/vendor/guzzlehttp/guzzle/src/Client.php(169): GuzzleHttp\Client->transfer(Object(GuzzleHttp\Psr7\Request), Array) #3 src/vendor/guzzlehttp/guzzle/src/ClientTrait.php(207): GuzzleHttp\Client->requestAsync('POST', Object(GuzzleHttp\Psr7\Uri), Array) #4 src/addons/DigitalPoint/Analytics/GoogleApi/Measurement.php(47): GuzzleHttp\Client->postAsync('https://www.goo...', Array) #5 src/addons/DigitalPoint/Analytics/GoogleApi/Measurement.php(74): DigitalPoint\Analytics\GoogleApi\Measurement->makeApiCall('https://www.goo...', Array) #6 src/addons/DigitalPoint/Analytics/Repository/Measurement.php(11): DigitalPoint\Analytics\GoogleApi\Measurement->collect('fa1c2d62-efa8-4...', Array, [invalid], Array, true) #7 src/addons/DigitalPoint/Analytics/Pub/Controller/Beacon.php(35): DigitalPoint\Analytics\Repository\Measurement->collect('fa1c2d62-efa8-4...', Array, [invalid]) #8 src/XF/Mvc/Dispatcher.php(362): DigitalPoint\Analytics\Pub\Controller\Beacon->actionImage(Object(XF\Mvc\ParameterBag)) #9 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('DigitalPoint\\An...', 'Image', Object(XF\Mvc\RouteMatch), Object(DigitalPoint\Analytics\Pub\Controller\Beacon), NULL) #10 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(DigitalPoint\Analytics\Pub\Controller\Beacon), NULL) #11 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch)) #12 src/XF/App.php(2826): XF\Mvc\Dispatcher->run() #13 src/XF.php(806): XF\App->run() #14 index.php(23): XF::runApp('XF\\Pub\\App') #15 {main} Request state array(4) { ["url"] => string(164) "/b/image.gif?p=%2FJ9VDU7Ud6E2e%2BhfuVe5COE%2BoWJaZ0PWjyMgodO%2FQA1Pa6BaUaEJZMEr2o6WJ73iNHynTV0BfxdZpnr3OyMcUMtQYDLtOf1xqvihcImQP5IIBrm%2B9MXK9adPfbaLIHGhhNM%3D" ["referrer"] => bool(false) ["_GET"] => array(1) { ["p"] => string(132) "/J9VDU7Ud6E2e+hfuVe5COE+oWJaZ0PWjyMgodO/QA1Pa6BaUaEJZMEr2o6WJ73iNHynTV0BfxdZpnr3OyMcUMtQYDLtOf1xqvihcImQP5IIBrm+9MXK9adPfbaLIHGhhNM=" } ["_POST"] => array(0) { } }
YesAre you using the latest version of the addon?
Were you able to check this?Are you using the latest version of the addon?
Ya… looks like it’s the same thing a few pages back in this thread where the encryption key changes or Sodium extension was installed (or uninstalled) between the time the email was sent and read.Were you able to check this?
We use essential cookies to make this site work, and optional cookies to enhance your experience.