Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Rejected] php 7.2 count(): Parameter must be an array or an object that implements Countable
#1
Edit2: Sorry, this is not related to MyBB. I have confirmed that errors apear only when viewing a user profile through the Tapatalk plugin. This plugin calls some fucntions from inc/functinos_online.php and maybe uses incorrect parameters.

Hi, I noticed these warnings:

<error>
<dateline>1568219801</dateline>
<script>inc/functions_online.php</script>
<line>606</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>count(): Parameter must be an array or an object that implements Countable</message>
</error>

<error>
<dateline>1568219801</dateline>
<script>inc/functions_online.php</script>
<line>624</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>count(): Parameter must be an array or an object that implements Countable</message>
</error>

<error>
<dateline>1568219801</dateline>
<script>inc/functions_online.php</script>
<line>636</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>count(): Parameter must be an array or an object that implements Countable</message>
</error>

<error>
<dateline>1568219801</dateline>
<script>inc/functions_online.php</script>
<line>648</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>count(): Parameter must be an array or an object that implements Countable</message>
</error>

<error>
<dateline>1568219801</dateline>
<script>inc/functions_online.php</script>
<line>660</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>count(): Parameter must be an array or an object that implements Countable</message>
</error>

<error>
<dateline>1568219801</dateline>
<script>inc/functions_online.php</script>
<line>702</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>count(): Parameter must be an array or an object that implements Countable</message>
</error>

<error>
<dateline>1568219801</dateline>
<script>inc/functions_online.php</script>
<line>717</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>count(): Parameter must be an array or an object that implements Countable</message>
</error>
Reply


Messages In This Thread
php 7.2 count(): Parameter must be an array or an object that implements Countable - by panayot - 09-11-2019, 04:45 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)