Title: Fatal error
Last modified: July 3, 2020

---

# Fatal error

 *  Resolved [roblep](https://wordpress.org/support/users/roblep/)
 * (@roblep)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-3541/)
 * I am using a separate plugin that allows users to make a payment via PayPal “
   Accept PayPal Payments using Contact Form 7” by ZealousWeb. During testing, when
   I submit this payment form upon callback from PayPal an error within the Drag
   and Drop plugin is causing a fatal error.
 * Fatal error: Uncaught Error: Call to a member function scan_form_tags() on null
   in /var/www/site/public_html/wp-content/plugins/drag-and-drop-multiple-file-upload-
   contact-form-7/inc/dnd-upload-cf7.php:297 Stack trace: #0 /var/www/site/public_html/
   wp-includes/class-wp-hook.php(289): dnd_cf7_mail_components(Array, NULL) #1 /
   var/www/site/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(
   Array, Array) #2 /var/www/site/public_html/wp-content/plugins/contact-form-7/
   includes/mail.php(108): apply_filters(‘wpcf7_mail_comp…’, Array, NULL, Object(
   WPCF7_Mail)) #3 /var/www/site/public_html/wp-content/plugins/contact-form-7/includes/
   mail.php(19): WPCF7_Mail->compose() #4 /var/www/site/public_html/wp-content/plugins/
   contact-form-7-paypal-extension/inc/lib/class.cf7pe.lib.php(587): WPCF7_Mail::
   send(Array, ‘mail’) #5 /var/www/site/public_html/wp-content/plugins/contact-form-
   7-paypal-extension/inc/lib/class.cf7pe.lib.php(191): CF7PE_Lib->mail(Object(WPCF7_Submission),
   Array) #6 /var/www/site/ in /var/www/site/public_html/wp-content/plugins/drag-
   and-drop-multiple-file-upload-contact-form-7/inc/dnd-upload-cf7.php on line 297
   
   There has been a critical error on your website.
 * Help! It’s a great plugin, but in this case it seems to be triggering an error
   when it’s not even being used for a particular form!

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Plugin Author [Glen Don Mongaya](https://wordpress.org/support/users/glenwpcoder/)
 * (@glenwpcoder)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-3541/#post-13067443)
 * Hello [@roblep](https://wordpress.org/support/users/roblep/) ,
 * Currently, this plugin not yet tested with other extensions for Contact Form 
   7, specially this plugin “Accept PayPal Payments using Contact Form 7”, but I
   will try to install it and will see what I can do.
 * Thanks
 * Glen.
 *  Thread Starter [roblep](https://wordpress.org/support/users/roblep/)
 * (@roblep)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-3541/#post-13067952)
 * Thanks Glen,
    Both plugins are pretty fantastic at what they do. If you can resolve
   the issue, that would be excellent.
 *  Plugin Author [Glen Don Mongaya](https://wordpress.org/support/users/glenwpcoder/)
 * (@glenwpcoder)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-3541/#post-13075721)
 * [@roblep](https://wordpress.org/support/users/roblep/) , So I installed the plugin
   on my server and I can replicate the issue.
 * I tried to fix and the error and it doesn’t show anymore but I did not received
   any email.
 * I saw there’s some kind customization about the plugin that override the default
   functionality of contact form 7, like email sending, filters which doesn’t work
   on my plugin.
 * Have you tried try this plugin? [https://wordpress.org/plugins/contact-form-7-paypal-add-on/](https://wordpress.org/plugins/contact-form-7-paypal-add-on/)
 *  Thread Starter [roblep](https://wordpress.org/support/users/roblep/)
 * (@roblep)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-3541/#post-13078275)
 * Hi Glen,
    Same error occurs on the pro version of Scott’s plugin, same line number
   297. 🙁
 *  Plugin Author [Glen Don Mongaya](https://wordpress.org/support/users/glenwpcoder/)
 * (@glenwpcoder)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-3541/#post-13078395)
 * Okay, will do a further testing.
 * I will review their plugin (code structure) and I’ll see what I can do.
 * I’ll let you know if theres a better solution.
 *  Plugin Author [Glen Don Mongaya](https://wordpress.org/support/users/glenwpcoder/)
 * (@glenwpcoder)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-3541/#post-13099948)
 * Hello [@roblep](https://wordpress.org/support/users/roblep/) ,
 * I tested scott plugin recently and it’s working correctly.
 * Payment was successfull and it also sent an email with attachments.
 * Please make sure to deactivate the previous plugin and test again.
 * Just let me know if still have any issues.
 * Glen.
 *  Thread Starter [roblep](https://wordpress.org/support/users/roblep/)
 * (@roblep)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-3541/#post-13104128)
 * Hi Glen,
 * Unfortunately, the error has still occurred on my server.
 * Fatal error: Uncaught Error: Call to a member function scan_form_tags() on null
   
   cf7pp_listen_for_paypal_ipn(”) #6 /var/www/site/public_html/wp-includes/class-
   wp-hook.php(311): WP_Hook->apply_filters(NULL, in /var/www/site/public_html/wp-
   content/plugins/drag-and-drop-multiple-file-upload-contact-form-7/inc/dnd-upload-
   cf7.php on line 336
 * I’ve updated both the paypal plugin from Scott and your own plugin.
 *  Plugin Author [Glen Don Mongaya](https://wordpress.org/support/users/glenwpcoder/)
 * (@glenwpcoder)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-3541/#post-13104336)
 * Okay can you try this version?
 * [https://drive.google.com/file/d/1zjfh1-59zrg9kYcqj4dOsC02EGmCliuQ/view?usp=sharing](https://drive.google.com/file/d/1zjfh1-59zrg9kYcqj4dOsC02EGmCliuQ/view?usp=sharing)
 *  Plugin Author [Glen Don Mongaya](https://wordpress.org/support/users/glenwpcoder/)
 * (@glenwpcoder)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-3541/#post-13116062)
 * [@roblep](https://wordpress.org/support/users/roblep/) , please let me know if
   that version that I sent is working.
 * So I can update the repo and close this thread.
 * Thanks.
 *  Thread Starter [roblep](https://wordpress.org/support/users/roblep/)
 * (@roblep)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-3541/#post-13121434)
 * Hi Glen,
    Thanks for that – that seems to have done the trick. Seems to work 
   perfectly – the error no longer appearing, returnURL page loading as expected
   when the plugin is activated. Thanks for taking the time to look into this and
   resolve.
 *  Thread Starter [roblep](https://wordpress.org/support/users/roblep/)
 * (@roblep)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-3541/#post-13121448)
 * Marked as resolved.
 *  Thread Starter [roblep](https://wordpress.org/support/users/roblep/)
 * (@roblep)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-3541/#post-13121452)
 * Glen, I’ll assume you’ll include this fix in the main build so when updates are
   released it’ll all be sparky. 🙂
 *  Plugin Author [Glen Don Mongaya](https://wordpress.org/support/users/glenwpcoder/)
 * (@glenwpcoder)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-3541/#post-13121462)
 * [@roblep](https://wordpress.org/support/users/roblep/) , thanks.
 * Yes, the fixes will be included on the next update.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Fatal error’ is closed to new replies.

 * ![](https://ps.w.org/drag-and-drop-multiple-file-upload-contact-form-7/assets/
   icon-128x128.jpg?rev=1984850)
 * [Drag and Drop Multiple File Upload for Contact Form 7](https://wordpress.org/plugins/drag-and-drop-multiple-file-upload-contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/drag-and-drop-multiple-file-upload-contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/reviews/)

 * 13 replies
 * 2 participants
 * Last reply from: [Glen Don Mongaya](https://wordpress.org/support/users/glenwpcoder/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-3541/#post-13121462)
 * Status: resolved