Title: Sending error
Last modified: March 1, 2021

---

# Sending error

 *  Resolved [lammic](https://wordpress.org/support/users/lammic/)
 * (@lammic)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/sending-error-9/)
 * I know this plugin is tested till WP 5.5.3. Im running a WP Installation with
   5.6.2 and CF7 5.4 and i didn´t recognized it before.
    Now on sending the Form
   it saves the post but the formular does not retrieve the success message. Instead
   i got an error on console code:”invalid_json” and the ajax spinner is turning
   around endless.
 * Do you plan an update in the near future?

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

 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/sending-error-9/#post-14122880)
 * CF7 5.4 is breaking many extensions due to changes in its data schema and validation
   of files.
 * Are you submitting files in your form?
 * You can downgrade to the last stable version of CF7 prior to 5.4, which is [v5.3.2](https://downloads.wordpress.org/plugin/contact-form-7.5.3.2.zip)
   and see if it works for you.
 *  Thread Starter [lammic](https://wordpress.org/support/users/lammic/)
 * (@lammic)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/sending-error-9/#post-14122953)
 * Yes, i´m using a submitting file. I tried to downgrade my core to 5.5.2, CF7 
   to 5.3.2 and installed also Post my CF7 V4.1.9.
 * If i have this plugin installed, i now get an 500 error on submitting the form,
   but only if all required fields are filled.
    If i disable this plugin, the formular
   works as expected.
    -  This reply was modified 5 years, 2 months ago by [lammic](https://wordpress.org/support/users/lammic/).
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/sending-error-9/#post-14123040)
 * > I tried to downgrade my core to 5.5.2
 * that’s not required. It will work with the latest WP.
 * >  i now get an 500 error on submitting the form
 * can you enable WP_DEBUG mode on your installation and report back the error message.
 *  Thread Starter [lammic](https://wordpress.org/support/users/lammic/)
 * (@lammic)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/sending-error-9/#post-14123088)
 * [02-Mar-2021 14:51:33 UTC] PHP Fatal error: Uncaught Error: Cannot use object
   of type WP_Post as array in /var/www/web28665297/html/wordpress/wp-content/plugins/
   send-pdf-for-contact-form-7/classes/send-pdf.php:928
    Stack trace: #0 /var/www/
   web28665297/html/wordpress/wp-includes/class-wp-hook.php(287): cf7_sendpdf->wpcf7pdf_mail_components(
   Array, Object(WPCF7_ContactForm), Object(WPCF7_Mail)) #1 /var/www/web28665297/
   html/wordpress/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array)#
   2 /var/www/web28665297/html/wordpress/wp-content/plugins/contact-form-7/includes/
   mail.php(108): apply_filters(‘wpcf7_mail_comp…’, Array, Object(WPCF7_ContactForm),
   Object(WPCF7_Mail)) #3 /var/www/web28665297/html/wordpress/wp-content/plugins/
   contact-form-7/includes/mail.php(19): WPCF7_Mail->compose() #4 /var/www/web28665297/
   html/wordpress/wp-content/plugins/contact-form-7/includes/submission.php(468):
   WPCF7_Mail::send(Array, ‘mail’) #5 /var/www/web28665297/html/wordpress/wp-content/
   plugins/contact-form-7/includes/submission.php(87): WPCF7_Submission->mail() #
   6 in /var/www/web28665297/html/wordpress/wp-content/plugins/send-pdf-for-contact-
   form-7/classes/send-pdf.php on line 928
 * It looks like a conflict with the Plugin Send Pdf for CF7. The plugin works fine
   if i disable post my cf7.
    -  This reply was modified 5 years, 2 months ago by [lammic](https://wordpress.org/support/users/lammic/).
    -  This reply was modified 5 years, 2 months ago by [lammic](https://wordpress.org/support/users/lammic/).
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/sending-error-9/#post-14123344)
 * indeed, wrong plugin 🙂
 * However, I believe “Send Pdf for CF7” is one of the plugin that has been badly
   broken by the recent update to CF7. Please raise the issue with the plugin author.
 * there is still an issue with this plugin and the handling of files. I I will 
   keep this thread open till I release a fix.
 *  Thread Starter [lammic](https://wordpress.org/support/users/lammic/)
 * (@lammic)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/sending-error-9/#post-14123841)
 * Well i need it, also yours 🙂
    How i mentioned before, the plugin works fine 
   if i disable your plugin. Only if it is activated sending the form runs in an
   issue. But saving the post through the Formular works in every case.
 * I tested a copy of the website on a foreign server and all works perfect together.
   
   I’m weird 🤔
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/sending-error-9/#post-14125856)
 * > How i mentioned before, the plugin works fine if i disable your plugin.
 * indeed, odd. Someone else reported they had better success using CF7 v5.2.2.
 * Given the changes in CF7 v5.4 it is going to be difficult to fix with conventional
   file upload field.
 * It is possible the solution will require shifting to a custom field uploader (
   such as drag and drop plugins).
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/sending-error-9/#post-14139378)
 * v4.1.11 along with Smart Grid plugin v4.9.0 now fixes the file attachments in
   mail notifications.
 * Let me know if you are still having the Send PDF error
 *  Thread Starter [lammic](https://wordpress.org/support/users/lammic/)
 * (@lammic)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/sending-error-9/#post-14139394)
 * Thank you. I will give it a try next week.
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/sending-error-9/#post-14145472)
 * the author of Send PDF is [testing a fix](https://github.com/maximum-software/pdf-forms-for-contact-form-7/issues/10)
   which hopefully should be release soon.
 *  Thread Starter [lammic](https://wordpress.org/support/users/lammic/)
 * (@lammic)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/sending-error-9/#post-14155646)
 * I tested the v4.1.11 and the same error still occurs. I have an eye on the Fix
   of Send PDF. Thanks for your support.
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/sending-error-9/#post-14155946)
 * > I tested the v4.1.11 and the same error still occurs. I have an eye on the 
   > Fix of Send PDF. Thanks for your support.
 * is the error still occurring when you are not using Send PDF plugin?
 *  Thread Starter [lammic](https://wordpress.org/support/users/lammic/)
 * (@lammic)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/sending-error-9/#post-14195714)
 * FIY. The problem was caused through YOAST SEO Plugin v15.8. A downgrade resolve
   this problem.
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/sending-error-9/#post-14195764)
 * that’s very odd! Was it interfering with the AJAX/REST api call made by CF7?

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

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

 * ![](https://ps.w.org/post-my-contact-form-7/assets/icon-256x256.png?rev=1985682)
 * [Post My CF7 Form](https://wordpress.org/plugins/post-my-contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-my-contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-my-contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/post-my-contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-my-contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-my-contact-form-7/reviews/)

## Tags

 * [Invalid JSON](https://wordpress.org/support/topic-tag/invalid-json/)

 * 14 replies
 * 3 participants
 * Last reply from: [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/sending-error-9/#post-14195764)
 * Status: resolved