• I have a download issue which has me puzzled
    I had this setup working perfectly on an internal site during development and when moved to a live site I have the issue arise

    I am using the shortcode
    [email-download download_id=”500″ contact_form_id=”45″]
    and get a blank screen instead of a page with a contact form 7 form lets call it “e-book”

    I have tested as follows

    in “e-book” I have tried placing the shortcode for just the contact form 7 ie
    [contact-form-7 id=”45″ title=”e-book registration”]
    and this works fine. It displays the page with the contact form

    in the “e-book” I have also tried the shortcode for the download
    [download id=”500″] It displays the link to the document

    Each time I change anything, I clear the Cache at the server and also in the browser to make sure I am not picking up anything old.

    The file I am trying to display is a pdf document

    The testing above shows that Contact Form 7 is doing its job OK as is Download Monitor

    I then tried Deactivating both Download Monitor and Email Before Download and re Activating them both, clearing Caches and trying again with no luck

    Any ideas on how to attack this would be greatly appreciated. From what I read my shortcode is in the correct format.

    Re- the link provided, just click on the e-Book download image on any page

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter alanrands

    (@alanrands)

    I tried again today and set WP logs on and caught the following

    Warning: count(): Parameter must be an array or an object that implements Countable in /home/bsnelsoncom/public_html/wp-content/plugins/email-before-download/includes/class-email-before-download-db.php on line 56
    Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding() in /home/bsnelsoncom/public_html/wp-content/plugins/email-before-download/includes/class-email-before-download-form.php:35 Stack trace: #0 /home/bsnelsoncom/public_html/wp-content/plugins/email-before-download/includes/class-email-before-download-shortcode.php(67): Email_Before_Download_Form->html() #1 /home/bsnelsoncom/public_html/wp-includes/shortcodes.php(319): Email_Before_Download_Shortcode->init_shortcode(Array, ”, ’email-download’) #2 [internal function]: do_shortcode_tag(Array) #3 /home/bsnelsoncom/public_html/wp-includes/shortcodes.php(197): preg_replace_callback(‘/\\[(\\[?)(email\\…’, ‘do_shortcode_ta…’, ‘<p>Get your per…’) #4 /home/bsnelsoncom/public_html/wp-includes/class-wp-hook.php(286): do_shortcode(‘<p>Get your per…’) #5 /home/bsnelsoncom/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘<p>Get your per…’, Array) #6 /home/bsnelsoncom/public_html/wp-includes/post-template.php(240): apply_filters(‘the_cont in /home/bsnelsoncom/public_html/wp-content/plugins/email-before-download/includes/class-email-before-download-form.php on line 35

    Hi,

    i have the same problem.

    Dont ask me why ut this worked for me. But now it doesnt collects emails.

    [contact-form-7 id=”77972″ title=”Download”]

    just replace your contact form ID.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problems with Shortcode’ is closed to new replies.