Please read and follow the COMMON ISSUES first!
Always add your version information in every new post! Thank you!

Form2Content Forum

Questions and answers for Form2Content, a Joomla CCK.
  1. Simon
  2. F2C Search front-end
  3. Sunday, 16 December 2018
  4.  Subscribe via email
Hi there -

I have installed F2C Search component and module, and have them now configured on my site. It seems to work correctly, ie it is producing correct search results, but I am getting the following error appear directly above the search module -

Warning: count(): Parameter must be an array or an object that implements Countable in /components/com_form2contentsearch/libraries/form2contentsearch/field/singleselectlist.php on line 17

I am running Joomla 3.9.1, Form2Content Pro version 6.17.4 and Form2Content Search version 6.7.0

Any ideas?

Thanks!
Accepted Answer
Accepted Answer Pending Moderation
This warning was caused by a new PHP version that had stricter type checking.
I created a fix, that will be part of the next F2C Search release.
It was confirmed that this release fixed the issue.

best,
Julien
  1. more than a month ago
  2. F2C Search front-end
  3. # Permalink
Responses (3)
Accepted Answer Pending Moderation
Hi Simon,

I suspect that you run a newer PHP version, which is probably stricter on type checking.
Which version of PHP are you running?

When I know this, I think I can send you an updated file to see if that removes the warning.

best,
Julien
  1. more than a month ago
  2. F2C Search front-end
  3. # 1
Accepted Answer Pending Moderation
Hi Julien -

I'm running php 7.2.13

Thanks!
  1. more than a month ago
  2. F2C Search front-end
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.