Michaelb24179
Member
I have the same error. It has to be global.
ErrorException: Google Analytics Measurement protocol debug: { "validationMessages": [ ] } src/XF/Error.php:77
Generated by: user Sep 4, 2022 at 9:05 PM
Stack trace
#0 src/XF.php(219): XF\Error->logError('Google Analytic...', false)
#1 src/addons/DigitalPoint/Analytics/GoogleApi/Measurement.php(25): XF::logError('Google Analytic...')
#2 src/addons/DigitalPoint/Analytics/Repository/Measurement.php(11): DigitalPoint\Analytics\GoogleApi\Measurement->__destruct()
#3 src/addons/DigitalPoint/Analytics/XF/Mail/Mailer.php(110): DigitalPoint\Analytics\Repository\Measurement->collect('f2cafb22-e772-4...', Array, '53665')
#4 src/XF/Mail/Mail.php(458): DigitalPoint\Analytics\XF\Mail\Mailer->send(Object(Swift_Message), NULL, NULL, true)
#5 src/XF/Service/User/EmailChange.php(192): XF\Mail\Mail->send()
#6 src/XF/Service/User/EmailChange.php(157): XF\Service\User\EmailChange->sendEmailChangedNotice()
#7 src/XF/Service/User/EmailChange.php(95): XF\Service\User\EmailChange->onEmailChange()
#8 src/XF/Pub/Controller/Account.php(267): XF\Service\User\EmailChange->save()
#9 src/XF/Mvc/FormAction.php(189): XF\Pub\Controller\Account->XF\Pub\Controller\{closure}(Object(XF\Mvc\FormAction))
#10 src/XF/Pub/Controller/Account.php(217): XF\Mvc\FormAction->run()
#11 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\Account->actionEmail(Object(XF\Mvc\ParameterBag))
#12 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Account', 'Email', Object(XF\Mvc\RouteMatch), Object(SV\BookmarkEssentials\XF\Pub\Controller\Account), NULL)
#13 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\BookmarkEssentials\XF\Pub\Controller\Account), NULL)
#14 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#15 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#16 src/XF.php(524): XF\App->run()
#17 index.php(20): XF::runApp('XF\\Pub\\App')
#18 {main}
Request state
array(4) {
["url"] => string(14) "/account/email"
["referrer"] => string(36) "https://somerandomdomain.com/account/"
["_GET"] => array(1) {
["/account/email"] => string(0) ""
}
["_POST"] => array(6) {
["_xfToken"] => string(8) "********"
["email"] => string(24) "somebodiesemailjustadummy@spamc.xyz"
["password"] => string(8) "********"
["_xfRequestUri"] => string(9) "/account/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
ErrorException: Google Analytics Measurement protocol debug: { "validationMessages": [ ] } src/XF/Error.php:77
Generated by: Unknown account Sep 4, 2022 at 5:56 PM
Stack trace
#0 src/XF.php(219): XF\Error->logError('Google Analytic...', false)
#1 src/addons/DigitalPoint/Analytics/GoogleApi/Measurement.php(25): XF::logError('Google Analytic...')
#2 src/addons/DigitalPoint/Analytics/Repository/Measurement.php(11): DigitalPoint\Analytics\GoogleApi\Measurement->__destruct()
#3 src/addons/DigitalPoint/Analytics/XF/Mail/Mailer.php(110): DigitalPoint\Analytics\Repository\Measurement->collect('1d280966-7044-4...', Array, '42544')
#4 src/XF/Mail/Queue.php(148): DigitalPoint\Analytics\XF\Mail\Mailer->send(Object(Swift_Message), NULL, Array)
#5 src/XF/Job/MailQueue.php(12): XF\Mail\Queue->run(8)
#6 src/XF/Job/Manager.php(260): XF\Job\MailQueue->run(8)
#7 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#8 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#9 job.php(43): XF\Job\Manager->runQueue(false, 8)
#10 {main}
Request state
array(4) {
["url"] => string(8) "/job.php"
["referrer"] => string(70) "https://somerandomdomain.com/conversations/someconversation.546231/page-2"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
You know, as usual, I realized that after I posted my message above. Dually noted. Thanks.Turn off the debug option at the bottom of the Analytics options.
Both of those “errors” say it’s a debug message. I should probably make that more clear on the option.
Enables debugging so you can see events come across DebugView in Google Analytics. Additionally, this adds a debugging entry to your server error log when the Measurement Protocol is used for server-side events (for example emails being sent/viewed).
Maybe… do you have an example of URLs a user would see them?Is there a way to track 401 or 404 errors users are receiving?
View statistics
(or they need to be a super administrator).PAGE_CONTAINER: Adds analytics button to staffBar
is enabled and that the numbers to the right of it show 1 / 0 / 0
(under Admin -> Appearance -> Template modifications).
- Suppress error if there is a transient Google Analytics API issue on the main admin page (won't show an error when attempting to display real-time map on the admin index page)
- Changed the explanation text on the debug option to be more clear that it creates server error log entries for debugging server-side events
A temporary workaround would be to not use plain-text email (even if it's only plain-text).When emailing users in plain text, tracking pixel is still injected if email tracking is enabled resulting in blank looking emails
View attachment 274433
DigitalPoint\Analytics\XF\Mail\Mailer.php
file and change this:if (!empty(\XF::options()->baEvents['email']))
if (!empty(\XF::options()->baEvents['email']) && !empty($return['html']))
InvalidArgumentException: The caller does not have permission in src/addons/DigitalPoint/Analytics/GoogleApi/AbstractApi.php at line 31
[LIST=1]
[*]DigitalPoint\Analytics\GoogleApi\AbstractApi->makeApiCall() in src/addons/DigitalPoint/Analytics/GoogleApi/Admin.php at line 74
[*]DigitalPoint\Analytics\GoogleApi\Admin->measurementProtocolSecretsList() in src/addons/DigitalPoint/Analytics/Repository/Reporting.php at line 136
[*]DigitalPoint\Analytics\Repository\Reporting->getMeasurementProtocolSecret() in src/addons/DigitalPoint/Analytics/XF/Admin/Controller/Option.php at line 80
[*]DigitalPoint\Analytics\XF\Admin\Controller\Option->actionGoogleAnalyticsSelect() in src/XF/Mvc/Dispatcher.php at line 352
[*]XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
[*]XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
[*]XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
[*]XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2353
[*]XF\App->run() in src/XF.php at line 524
[*]XF::runApp() in admin.php at line 13
[/LIST]
We use essential cookies to make this site work, and optional cookies to enhance your experience.