Support » Plugin: WP Statistics » Error on Line … PHP 7.1

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter t0bse

    (@t0bse)

    sorry picture is not getting postes, the direct link:
    https://abload.de/img/img_7715kgqhs.png

    Plugin Contributor Greg Ross

    (@gregross)

    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

    (@t0bse)

    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

    (@t0bse)

    i’ve seen problems with the DB prefix in another topic, so for your info: we are using the prefix “ZtfdV_”

    Thread Starter t0bse

    (@t0bse)

    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

    (@gregross)

    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

    (@t0bse)

    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.]

    Plugin Contributor Greg Ross

    (@gregross)

    Delete the usermeta table entries, they are corrupted and see if it works with PHP 5.6.

    Thread Starter t0bse

    (@t0bse)

    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.