When you enter the access code from Google Analytics, it gives an error.
Something went wrong, check Errors & Debug or authorize the plugin.
Last Error detected Last Error: 2016-12-23 12:25:21: Error Details (Empty)
Error Details: (Empty) 12/23/2016 12:25:21:
Everything worked to WordPress upgrade to version 4.7.
Check your PHP error log. There should be some related errors listed.
Can you tell where it is?
Your hosting provider can tell you the exact location. On cPanel is usually located at the folder level and called error_log. You should look for such a file in your wp-admin directory.
The log file is empty.
Looking at your initial question I’m wondering if you’re entering the right code. Please note that the authorization code is not your property ID (UA-YYYY-YY) and it must be generated by clicking the red link in the authorization window.
In Google Analytics the Settings push button “Authorize Plugin” Next, click on the red inscription “Get Access Code.”, Allow access to your Google Analytics data, copy the code and vstovlyayu it into line “Access Code:”, continue to press the button “Save Access Code “and then see the inscription” something went wrong, check Errors & Debug or authorize the plugin. “.
Please tell me where the mistake.
It looks like you’re following the right steps. It’s strange that the log is empty. Please contact your hosting provider and check if there were some recent changes they’ve made, if PHP error log is enabled and properly configured and eventually if PHP cURL is enabled and working properly.
It’s clear that some errors are thrown but for some reason they are not logged, neither by the plugin and neither by your server.
PHP error log is empty, too, there was a problem after upgrading to WordPress 4.7, before it was just wonderful, really the only solution is to go back to version 4.6?
No, that’s not the solution. I suppose you’ve already tried to uninstall and reinstall the plugin, right?
As I’ve told you, try to contact your hosting provider first and see what’s the reason of your errors not being logged. If no errors are logged, there’s really no way to identify the culprit. It’s like searching without knowing what to search for.
Oh, really. It happened after i/m update my WP to 4.7 version. Maybe send message to WP ?
Tim, if you’re 100% percent sure the PHP logging works properly, let’s try a different approach:
1. Disable all other plugins
2. Try to re-authorize GADWP and see how it goes.
It could be a plugin conflict we’re dealing with here. Anyway it’s strange, even when the plugin fails to log the error, you should still have it in your logs.
Disable all plug-ins included only “Google Analytics Dashboard for WP”, to yet, not what has changed, too, everything is clean in the logs.
Maybe even have any ideas?
Well, there’s only one thing left, enabling WP debugging and see if anything changes: https://codex.wordpress.org/Debugging_in_WordPress. I would suggest this configuration:
// Enable WP_DEBUG mode
define( ‘WP_DEBUG’, true );
// Enable Debug logging to the /wp-content/debug.log file
define( ‘WP_DEBUG_LOG’, true );
// Disable display of errors and warnings
define( ‘WP_DEBUG_DISPLAY’, true );
Don’t forget to check this file after authorization: /wp-content/debug.log
This morning included all the ‘WP_DEBUG’ tried to log in, and everything went successfully, returned the ‘wp-config.php’ to its original state (disabled ‘WP_DEBUG’) tried several times to log in and everything is successful! I do not know what it was, but it works! Thanks a lot for your help!
I could bet it’s a server issue, that’s why in these cases I insist on contacting the hosting provider.
Thanks for the feedback and for letting me know that it’s fixed.
Hi! The error leave my web site! I do nothing. it’s just gone.