• Resolved TeroSalminen

    (@terosalminen)


    Getting an error with plugin:

    PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /var/www/blog/wp-content/plugins/multiline-files-for-contac
    t-form-7/multiline-files-upload-for-contact-form-7.php on line 184" while reading response header from upstream

    Changing the line 184 from
    $total = count($_FILES[$name]['name']);
    to

    if (empty($_FILES)) $_FILES = [];
    $total = count($_FILES[$name]['name']);

    Fixes the issue 🙂

Viewing 1 replies (of 1 total)
  • Plugin Author zluck

    (@zluck)

    Thank you so much Tero Salminen!
    We will get this fixed in next release.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP 7.2 error’ is closed to new replies.