Support » Plugins and Hacks » WP Statistics » Warning with PHP 7.1

  • Resolved lh822184

    (@lh822184)


    I am seeing “Warning: Ilegal string offset XXXXX in /home/site/folder/wp-content/plugins/wp-statistics/includes/classes/statistics.class.php on line 144. XXXX is replaced by dashboard_set or editor_set. This warning is displayed at the top of the dashboard page, and when I edit or add a new post or page.
    As far as I can tell, the plugin is working correctly. I am using PHP 7.1, so I think that it might be a compatibility issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Greg Ross

    (@gregross)


    There’s another report of this warning in PHP 7.1 in this thread: https://wordpress.org/support/topic/widgets-not-staying-in-admin/

    I don’t have 7.1 setup yet so I’m not sure why it’s happening.

    lh822184

    (@lh822184)


    I reverted back to PHP 7.0.14 and the warning message remains. At this point it isn’t a major problem, and just an inconvenience, but I wanted to make you aware of it.

    Plugin Author Greg Ross

    (@gregross)


    I suspect it’s something to do with 7.1 which get’s written to the database, but I haven’t been able to reproduce it yet.

    Thanks for letting me know.

    Plugin Author Greg Ross

    (@gregross)


    By any chance are you using a non-default table prefix?

    lh822184

    (@lh822184)


    Not that I am aware of. I don’t think I’ve touched the database at all.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.