Support » Plugin: Email Before Download » PHP 7.3 not supported

  • Looks like this plugin “Email Before Download” is not compatible with PHP 7.3. This is the error I get at the page where my plugin embed tag stays:

    Warning: count(): Parameter must be an array or an object that implements Countable in /home/domains/mydomain.org/wp-content/plugins/email-before-download/includes/class-email-before-download-db.php on line 56

    Can you please release a new version, which works correctly with PHP 7.3?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • I could fix it like this:

    Replace on line 56 in the above mentioned file class-email-before-download-db.php

    if (count($query) > 0) {

    by

    if (isset($query)) {

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.