Hi,
I recently updated to the last version (2.1.4) and noticed some bugs in the analytics dashboard (Everything was working fine before).
The ajax request loading the data table returns this error :
<br /> <b>Deprecated</b>: Creation of dynamic property IAWP_SCOPED\Spatie\Once\Listener::$objectHash is deprecated in <b>/home/wp-content/plugins/independent-analytics/vendor/spatie/once/src/Listener.php</b> on line <b>11</b><br /> <br /> <b>Deprecated</b>: Creation of dynamic property IAWP_SCOPED\IAWP\Rows\Pages::$___once_listener__930188 is deprecated in <b>/home/wp-content/plugins/independent-analytics/vendor/spatie/once/src/Cache.php</b> on line <b>80</b><br />
{"success":true,"data":{"rows":"<div id=\"iawp-rows\" class=\"iawp-rows\" data-row-count=\"48\">\n <!-- Some rows -->\n <div class=\"iawp-row\" ......
There is also an issue with the french translation. I just switched to US language to get the error above.
When I set the WP language to french, I get this JS error in the dashboard (web console) :
DOMException: Document.querySelectorAll: '.cell[data-column=amoureuse/amoureux]' is not a valid selector
I checked the source code and noticed that the word “date” was translated to “amoureuse/amoureux”.
<option value="amoureuse/amoureux" data-type="amoureuse/amoureux">Date de publication
I’m using PHP 8.2 and the website traffic is very small (less than 100 visitors a day)