We’ve seen this issue in the past, but it should be fixed in one of our updates. Could you let me know if you are running the latest version of Independent Analytics (v2.10.2)?
Thank you for the quick reply Ben, I am afraid both sites with this error do have version 2.10.2 installed – and used Version 2.10.1 before. I saw an older thread about this from 2023, but the occurence is quite recent and ongoing.
The issue says “vendor/matomo” – could a former installation of Matomo and some remnants of the plugin in the database be the issue? I am not sure of the other site throwing this issue even had Matomo installed. Mine did, but the database was cleaned.
Matomo developed an open-source library for detecting visitor devices, and we use it in our plugin, so that’s why you see matomo in the stack trace.
Can you try deleting the “temp” folder located here: wp-content/independent-analytics/temp. That will cause the device data we cache to be rewritten, and we’ll see if that helps.
Could you also let me know what version of PHP you’re using?
[Message]: File_put_contents(/data/sites/web/be9vnmyrdbxio/www/wp-content/plugins/independent-analytics/temp/device-detector.json): failed to open stream: no such file or directory
I’m afraid that I’m struggling to find whats going wrong at this point. Everything appears to be in order and we can’t recreate this same issue under the same circumstances. If you can, I would recommend restarting the PHP server to make sure everything is running properly.
Viewing 9 replies - 1 through 9 (of 9 total)
The topic ‘PHP Error Line 82 – preg_match()’ is closed to new replies.