Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when archiving reports #1018

Closed
perun22 opened this issue Jan 25, 2024 · 3 comments
Closed

Error when archiving reports #1018

perun22 opened this issue Jan 25, 2024 · 3 comments

Comments

@perun22
Copy link

perun22 commented Jan 25, 2024

Hello,

I have a problem with archiving reports in Matomo. I have tried all the solutions provided in this article https://matomo.org/faq/wordpress/matomo-for-wordpress-is-not-showing-any-statistics-not-archiving-how-do-i-fix-it/
but I still get an error message.

There is a conflict with another plugin Kudos Donations. I already checked with the plugin owner and he was unable to see any issues on his side. His advice was that I check with Matomo.

The debug log has this descriptions:

25-Jan-2024 10:49:29 UTC] Matomo: ERROR: Uncaught exception: /home/paradiso/public_html/wp-content/plugins/matomo/app/core/API/Request.php(472): This user has super-user access. Embedding widgets with super-user token authentication is not allowed. <a href="https://matomo.org/faq/troubleshooting/faq_147/" rel="noreferrer noopener">Check the FAQ for more info.</a> [Query: ?date=2024-01-18,2024-01-24&module=Tour&action=getEngagement&page=0&idSite=1&period=range, CLI mode: 0]
[25-Jan-2024 10:49:29 UTC] [www.paradisoperduto.org] Error in Matomo: This user has super-user access. Embedding widgets with super-user token authentication is not allowed. Check the FAQ for more info.

And when I do the manual archiving I get a screen with this message:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

Screenshot 2024-01-25 at 11 55 53

I have also tried disabling async archiving by using the below, but I still get the same error.
define( 'MATOMO_SUPPORT_ASYNC_ARCHIVING', false );

Grateful if you an provide any help with resolving this issue.
Suzana

@perun22
Copy link
Author

perun22 commented Jan 25, 2024

I forgot to attach the system report.

Matomo System report 25_01_24.txt

Suzana

@diosmosis
Copy link
Member

Hi @perun22, can you try doing the following:

  1. In your wp-config.php file, add the following:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);

Make sure to add them before the line that says /* That's all, stop editing! Happy publishing. */.

  1. Initiate manual archiving again.

  2. Then email the debug.log file to dizzy@innocraft.com.

?

Can you also tell me in the email what hosting provider you're using?

@diosmosis
Copy link
Member

This was a plugin compatibility issue that was fixed by Matomo for WordPress 5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants