Plugin Not Working WP 5.5
-
This plugin failed on a few sites and doesnt seem to be supported or updated for months.
So to test I did:
Clean install
WP 5.5
CF7 5.2.1
CF7 Spreadsheets 2.2.4Just a spinning wheel no output, no console errors.
Disable sending to sheets and all works fine again.
-
Hello @positivit
Could you please find some additional information to help me debug your issue:
1) Near browser console tab – find “network” tab and open it.
2) Do your email form request (as usual)
3) You should see new request in that tab with address like: https://YOUR_WEBSITE/wp-json/contact-form-7/v1/contact-forms/44/feedback, click on it
4) Click on subtab “preview” or “response” and send me please the text (if it contains any sensitive data – please hide it by asterisks ********.Thanks.
PS: really plugin hasn’t been maintained for a long time, I was a really busy. Looks like something wrong in global, because plugin active users amount reduced a lot. Need to fix it asap.Ok what I found is:
https://my.example.com/wp-json/contact-form-7/v1/contact-forms/40/feedback
Gives:
{“code”:”internal_server_error”,”message”:”<p>There has been a critical error on your website.<\/p><p>Learn more about debugging in WordPress.<\/a><\/p>”,”data”:{“status”:500},”additional_errors”:[]}Response:
XHRPOSThttps://my.example.com/wp-json/contact-form-7/v1/contact-forms/40/feedback
[HTTP/1.1 500 Internal Server Error 510ms]POST
https://my.example.com/wp-json/contact-form-7/v1/contact-forms/40/feedback
Status500
Internal Server Error
VersionHTTP/1.1
Transferred988 B (279 B size)HTTP/1.1 500 Internal Server Error
Date: Mon, 17 Aug 2020 22:52:24 GMT
Server: Apache/2.4.38 (Debian)
Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
X-Content-Type-Options: nosniff
Upgrade: h2,h2c
Connection: Upgrade, close
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
X-Robots-Tag: noindex
Link: <https://my.example.com/wp-json/>; rel=”https://api.w.org/”
X-Content-Type-Options: nosniff
Access-Control-Expose-Headers: X-WP-Total, X-WP-TotalPages, Link
Access-Control-Allow-Headers: Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type
Content-Length: 279
Content-Type: application/json; charset=UTF-8
Accept
application/json, text/javascript, */*; q=0.01
Accept-Encoding
gzip, deflate, br
Accept-Language
en-IE
Connection
keep-alive
Content-Length
1956
Content-Type
multipart/form-data; boundary=—————————196314201113425703484198592202
Cookie
PHPSESSID=o8pr8suk0dnsrr8sqceatv67u1; wordpress_test_cookie=WP+Cookie+check; wordpress_logged_in_5b49c08cf76e4461db724c171f4382e2=positivi%7C1597877108%7CwsnBTQg3gK831MZ2YdE27UmpcZYQFjgWC3Qhz3bberF%7Ca3f9eb7c17630400c8adddfbded567bc15ef7d73f7617907e3c6025fe7ea3d3b; wp-settings-1=libraryContent%3Dbrowse%26imgsize%3Dfull%26urlbutton%3Dcustom%26editor%3Dhtml%26hidetb%3D1; wp-settings-time-1=1597704308
Host
my.example.com
Origin
https://my.example.com
Referer
https://my.example.com/contact/
User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:79.0) Gecko/20100101 Firefox/79.0
X-Requested-WithWhat version of PHP enabled on your machine/hosting?
Have you found error after CF7Spreadsheets update, or after WordPress update, or after CF7 update, or maybe after some server configuration update?
Testing site – PHP version: 7.3.19-1~deb10u1
Live sites were on 7.2 , now 7.3.
I think it stopped working on live sites, around 15/05/2020
All,
The issue is not WP 5.5, but the issue is the latest CF7 version (5.2.1).
I have the following error in my PHP/apache logs:Got error ‘PHP message: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function wpcf7_special_mail_tag(), 3 passed in /var/www/…/wp-content/plugins/cf7-spreadsheets/CF7-spreadsheets.php on line 706 and exactly 4 expected …
CH7 version 5.2.1 changed the wpcf7_special_mail_tag() function following the release notes. This effectively breaks this plugin as of this CF7 version.
Regards
Hello @manuluyten
Thanks, that’s really helpful!
If you want – you can create PR to https://github.com/moshenskyDV/CF7-spreadsheetsOr, I’ll do it in a 5-6 hours (please write if you want to do it).
Hey @moshensky ,
I already created an issue in the git repository: https://github.com/moshenskyDV/CF7-spreadsheets/issues/17Is that what you needed?
Thanks for following up.
Regards@manuluyten @positivit
small update: I created pull request to CF7 repository, to fix this bug
https://github.com/takayukister/contact-form-7/pull/133I’ll keep you in touch!
Ok, unfortunately CF7 creator declined my pull request.
Looks like he want’s to fix this in version 5.2.2, but he haven’t clarified about any term (when it will be).So I decided to make fix in CF7 Spreadsheets.
I created version 2.3.0, @manuluyten @positivit could you please try is everything fine on this version and respond to me? (I want to be sure is everything fine, before publish it to all users).
You can find version 2.3.0 on “Advanced view” link under the charts.
https://www.ads-software.com/plugins/cf7-spreadsheets/advanced/Hi,
I tested in test site and it worked perfectly. I uninstalled and installed new and did the connections etc. from scratch.
On the live sites how do I update and not have to do all the connections again?
Just overwrite the plugin folder?
Many thanks for this.
Best regards.
You not need to uninstall.
Just replace plugin folder.Thank you too. I’ll publish 2.3.0 as default version to all users tomorrow.
@moshensky , I am unable to do the testing on short notice.
I trust on the work of @moshensky .Looking forward to having this solved.
@moshensky : Tested and working!
Thank you for the quick support and followup.
- The topic ‘Plugin Not Working WP 5.5’ is closed to new replies.