• We recently upgraded to PHP 7.2, and we are seeing the following PHP warnings whenever we load the Activity monitor page (we have display_errors turned off in production, so we just see the warnings in our logs there).

    Warning: count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/plainview-activity-monitor/src/traits/database.php on line 82 Warning: count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/plainview-activity-monitor/src/traits/database.php on line 86

    • This topic was modified 6 years, 1 month ago by Michael.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author edward_plainview

    (@edward_plainview)

    The warning is coming from it trying to read some include settings that are not set. The settings are could be blog_id, hook, ip or user ID.

    Try resaving your include / exclude settings (or resetting them)?

    Admin > Activity Monitor > Filters > “clear your filter settings”

    glampetsts

    (@glampetsts)

    I am having the same issue. Clearing and resaving filters did not help.

    Plugin Author edward_plainview

    (@edward_plainview)

    Also php 7.2?

    glampetsts

    (@glampetsts)

    Yes. PHP 7.2

    Plugin Author edward_plainview

    (@edward_plainview)

    Since I don’t have access to any 7.2 installs myself (7.1 at most), could someone e-mail me regarding access to a 7.2 site?

    [email protected]

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP 7.2 Warnings’ is closed to new replies.