Thomas
Forum Replies Created
-
Marking it as resolved.
That’s great to hear @akku123243tuzi ! I just did that and it’ll be included in the next release. Thanks for this.
@2candela2 sorry for the late reply. I haven’t been able yet to reproduce it. Is there any chance you can install a plugin to monitor WP Cron like https://wordpress.org/plugins/wp-crontrol/ and see if any WordPress crons run at all or if others aren’t started as well?
Thanks for this @2candela2 I’ve updated the guide below that part where it mentions that it won’t be needed for WordPress in the hope it will be more visible.
Regarding the URL you could add a redirect so that
/matomogoes to/wp-content/plugins/matomo/app/but it’s not needed and entirely up to you. I don’t think it’s possible to directly access it through/matomobut a redirect could work. Not sure if that helps?Thanks for this @codeispoetry
I’m not 100% sure but it seems loading the JS file and tracking works now correctly?
@codeispoetry any chance you are familiar with PHP or patching files in your WordPress? In case you are, could you apply these changes as shown in https://github.com/matomo-org/wp-matomo/commit/05f95656e0e4fcec683929b24597889400bd6f13 to the file in
wp-content/plugins/matomo/classes/WpMatomo/Admin/SystemReport.php?This would help me better understand the problem.
thanks for this and sorry about the problem. I can definitely reproduce this issue and it seems to be trying to load the JS tracker file from the wrong path. Do you know if there were any
wp-config.phpchanges to change the directories for multi sites or if there were maybe any other changes? I see for exampleblogs.dirbeing used. In case you know which configurations were made for multisites, then it would help me reproduce it better.Great, glad it works now @sergeyf1 Let me know in case it starts causing trouble again.
Thanks for this @sergeyf1 very appreciated.
I just replied by email that I was tracked successfully and the reports appeared as well. Maybe an ad blocker or tracking blocker was active when testing the site?
Hi @sergeyf1
thanks for creating this issue. I’ve just had a look at your mail. For some reason it seems that it hasn’t recorded any visitor data yet. I can’t see anything obvious in the system report that would explain this.
Is this for the website mentioned in the signature of your email? If that’s the case, then the problem might be that the tracking code isn’t being loaded as I couldn’t find the tracking code embedded in the site. Our plugin should do this automatically and maybe there’s a problem.
If it’s for a different site, is there any chance you could create a temporary login for us for wordpress@matomo.org and only give it the Matomo Super User role? This way we would only have access to the Matomo part in your WordPress but not any other part.
Thanks for this and sorry for the problems.
Hi @2candela2
Thanks for creating this issue and sorry for running into problems.
Any chance you could share the entire output of the system report? It should be anonymised automatically but you can also send it to wordpress@matomo.org if it’s a problem to post it here.
Is maybe one site configured to disable the cron, for example by having
DISABLE_WP_CRONset totrueinwp-config.php? It sounds like for some reason the WordPress cron is not triggered. Or some other plugin is always breaking during WP Cron so it doesn’t execute our plugin. Is it maybe possible to disable other plugins for a few hours to see if it’s maybe caused by a different plugin?Hi @2candela2
when you’re using Matomo for WordPress, then you won’t need to set up any cron as we’re utilising the WP-Cron automatically. Matomo Cron is configured automatically and runs whenever the WordPress cron runs.
Was our user interface maybe suggesting that you should be setting up a cron? That would be a bug and we’d look into fixing that.
Hey @2candela2 the Matomo for WordPress plugin can be updated just like any WordPress plugin. You will likely need to have an Administrator role in your WordPress (or a Super Admin if it is for example a WordPress MultiSite installation).
If you have such a role, go to your WP Admin Dashboard and in the left top menu there should be a link
Dashboard -> Updates.Does this help? Let me know if anything is unclear.
Hi @mohammedsh Thanks for this. We have fixed the warning and the patch will be included in our next release.
That works @amedat It’s often a good solution but in some cases it can cause issues related to server configuration like if you’re tracking a lot of visits and the webserver has configured a low request timeout. It’s quite technical but basically I would keep this setting and if you notice that reports aren’t appearing or that some errors pop up then you might need to change back the setting again. Most people don’t experience any issue with this though and it just works. You would notice it doesn’t work if it’s not showing any data in the reports.
I would still recommend forwarding the above error to the W3 Total Cache team though.
Glad it’s working now @amedat let me know if you have any further question.