Title: Error on Line &#8230; PHP 7.1
Last modified: February 2, 2017

---

# Error on Line … PHP 7.1

 *  Resolved [t0bse](https://wordpress.org/support/users/t0bse/)
 * (@t0bse)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/error-on-line-php-7-1/)
 * ![](https://i0.wp.com/https//abload.de/img/img_7715kgqhs.png)
 * installed wordpress and the plugin today. php 7.1

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Thread Starter [t0bse](https://wordpress.org/support/users/t0bse/)
 * (@t0bse)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/error-on-line-php-7-1/#post-8731771)
 * sorry picture is not getting postes, the direct link:
    [https://abload.de/img/img_7715kgqhs.png](https://abload.de/img/img_7715kgqhs.png)
 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/error-on-line-php-7-1/#post-8731985)
 * WP Statistics has very little testing against PHP 7.1 at this time so there may
   be some of these kinds of errors as it has some breaking changes in it.
 *  Thread Starter [t0bse](https://wordpress.org/support/users/t0bse/)
 * (@t0bse)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/error-on-line-php-7-1/#post-8733081)
 * thank you.
    but after changing to PHP-Version:5.6.29-nmm1 it is still displaying
   the following error on the dashboard:
 * Warning: Illegal string offset ‘dashboard_set’ in /www/htdocs/placentt/plastikjunkies/
   wp-content/plugins/wp-statistics/includes/classes/statistics.class.php on line
   144
 *  Thread Starter [t0bse](https://wordpress.org/support/users/t0bse/)
 * (@t0bse)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/error-on-line-php-7-1/#post-8733132)
 * i’ve seen problems with the DB prefix in another topic, so for your info: we 
   are using the prefix “ZtfdV_”
 *  Thread Starter [t0bse](https://wordpress.org/support/users/t0bse/)
 * (@t0bse)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/error-on-line-php-7-1/#post-8733476)
 * dashpanel still saying
 * Warning: Illegal string offset ‘dashboard_set’ in /www/htdocs/placentt/plastikjunkies/
   wp-content/plugins/wp-statistics/includes/classes/statistics.class.php on line
   144
 * Warning: Cannot modify header information – headers already sent by (output started
   at /www/htdocs/placentt/plastikjunkies/wp-content/plugins/wp-statistics/includes/
   classes/statistics.class.php:144) in /www/htdocs/placentt/plastikjunkies/wp-includes/
   option.php on line 828
 * Warning: Cannot modify header information – headers already sent by (output started
   at /www/htdocs/placentt/plastikjunkies/wp-content/plugins/wp-statistics/includes/
   classes/statistics.class.php:144) in /www/htdocs/placentt/plastikjunkies/wp-includes/
   option.php on line 829
 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/error-on-line-php-7-1/#post-8736394)
 * I’ve seen that a few times with this error, once PHP 7.1 has run it’s storing
   something in the database that is corrupt.
 * If you have access to phpMyAdmin I’d suggest checking the wp_options table (and
   wp_usermeta table) for the wp_statistics option value and see if it’s corrupt
   or not.
 *  Thread Starter [t0bse](https://wordpress.org/support/users/t0bse/)
 * (@t0bse)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/error-on-line-php-7-1/#post-8737879)
 * wp_statistics in usermeta says “1” for user 1 and 2 …
 * this is the wp_options/wp_statistics table
 *     ```
       a:82:{s:18:"pending_db_updates";a:2:{s:13:"date_ip_agent";b:0;s:11:"unique_date";b:0;}s:16:"search_converted";i:1;s:5:"geoip";s:2:"on";s:8:"browscap";s:2:"on";s:10:"useronline";s:1:"1";s:6:"visits";s:1:"1";s:8:"visitors";s:1:"1";s:5:"pages";s:1:"1";s:12:"check_online";s:2:"30";s:8:"menu_bar";s:1:"0";s:11:"coefficient";s:1:"1";s:12:"stats_report";s:0:"";s:11:"time_report";s:5:"daily";s:11:"send_report";s:4:"mail";s:14:"content_report";s:0:"";s:12:"update_geoip";b:0;s:8:"store_ua";s:0:"";s:9:"robotlist";s:1875:"007ac9
       5bot
       ```
   
 * _[Moderator note: Giant paste redacted. Please use a paste site like pastebin.
   com or gist.github.com for big pastes. Paste the link here.]_
    -  This reply was modified 9 years, 5 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
    -  This reply was modified 9 years, 5 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/error-on-line-php-7-1/#post-8740619)
 * Delete the usermeta table entries, they are corrupted and see if it works with
   PHP 5.6.
 *  Thread Starter [t0bse](https://wordpress.org/support/users/t0bse/)
 * (@t0bse)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/error-on-line-php-7-1/#post-8742827)
 * working. thank you 🙂

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Error on Line … PHP 7.1’ is closed to new replies.

 * ![](https://ps.w.org/wp-statistics/assets/icon.svg?rev=3081064)
 * [WP Statistics – Simple, privacy-friendly Google Analytics alternative](https://wordpress.org/plugins/wp-statistics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-statistics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-statistics/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-statistics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-statistics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-statistics/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [t0bse](https://wordpress.org/support/users/t0bse/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/error-on-line-php-7-1/#post-8742827)
 * Status: resolved