The following occurs after submitting form, but doesn't prevent email being sent:
Warning: count(): Parameter must be an array or an object that implements Countable in /.../plugins/p01-contact/src/P01contact_Form.php on line 215
Small typo:
if (count($loads > 1) && $loads[1] - $loads[0] < $this->config('min_sec_after_load')) { ...
should be (I assume):
if (count($loads) > 1 && $loads[1] - $loads[0] < $this->config('min_sec_after_load')) {
The following occurs after submitting form, but doesn't prevent email being sent:
Warning: count(): Parameter must be an array or an object that implements Countable in /.../plugins/p01-contact/src/P01contact_Form.php on line 215
Small typo:
if (count($loads > 1) && $loads[1] - $loads[0] < $this->config('min_sec_after_load')) { ...
should be (I assume):if (count($loads) > 1 && $loads[1] - $loads[0] < $this->config('min_sec_after_load')) {