• Hi all,

    i’ve just installed the email before download version 5.1.8 and i’m getting the error: Fatal error: Call to a member function getAttribute() on a non-object in wp-content/plugins/email-before-download/includes/class-email-before-download-form.php on line 37

    my code is simple: [email-download contact_form_id=”1186″ download_id=”1328″]

    any ideas?

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m getting these issues:

    Warning: DOMDocument::loadHTML() expects parameter 2 to be long, string given in /home/content/65/2776665/html/wp-content/plugins/email-before-download/includes/class-email-before-download-form.php on line 35

    Fatal error: Call to a member function getAttribute() on null in /home/content/65/2776665/html/wp-content/plugins/email-before-download/includes/class-email-before-download-form.php on line 37

    Im getting the same errors!

    Plugin Author mandsconsulting

    (@mandsconsulting)

    A fix has just been pushed. This was an issue with trying to work around PHP constants that are not defined in older versions of PHP.

    I’m having the same problem I guess: the page breaks after the point where the shortcode is placed. The WP install is running on PHP 7.0.28.

    I’m still getting the same error. I tried the plugins combination on another website running PHP 5.6 and it worked.

    Is it possible that the plugins combination does not work on php 7?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error: Call to a member function getAttribute() on a non-object in’ is closed to new replies.