I haven’t done any testing with PHP 7.1, have you checked your error logs and see if there’s anything related in it?
Hi yes I just checked the logs
Illegal string offset ‘dashboard_set’
Type: PHP Warning
Line: 144
File: /plugins/wp-statistics/includes/classes/statistics.class.php
// Store the value in the array.
$this->user_options[$option] = $value;
changed to php 7.0 and got the same
That’s just a warning because the option hasn’t been saved yet.
I have test on PHP 7 and can’t reproduce the error, can you try disabling any other plugins you may have (start with ones that add things to the dashboard obviously).
Actually, before you do that, do you have access to phpMyAdmin? If so run the following SQL query on the wp_user_meta table:
SELECT * FROM wp_usermeta WHERE meta_key LIKE 'wp_statistics'
The results in the meta_value column should start with a:, let me know if they don’t.
-
This reply was modified 9 years, 4 months ago by
Greg Ross.
I get 0 results
Showing rows 0 – 0 (1 total, Query took 0.0009 sec)
I have tried on a fresh install that was the only plugin enabled just to see if something else was interfering. They apear when I select the tick boxes but if I leave and come back to the dahsboard they are not being saved – is there a mod I need enabled under php for it to work ?
thanks
-
This reply was modified 9 years, 4 months ago by
nomadmike.
I figured out wahts wrong if I install with default DB table ref wp_ it works as expected I use a different DB table ref
Really… hummm, it should work with different table prefixes, let me test it and see if I can find the root cause.
What table prefix were you using, I tried with a different table prefix and it seems to be working for me on PHP 7.0.