scottfrontline
Forum Replies Created
-
USE AT YOUR OWN RISK!!!!!!!!!!!!!!!!!!!!!!
Looks like this is the fix, at least it fixed it for me, copied from here:
https://plugins.trac.www.ads-software.com/changeset/3183147/
Ininc\integrations\forms\contact-form-7.php
in the function cfturnstile_cf7_add_tag_generator_button
Need to change the last parameter to add from empty string to
?array( ‘version’ => ‘2’ )
Seeing the same issue, it has also been reported for other CF& addons, will need to be addressed.
Thanks
[07-Nov-2024 01:38:43 UTC] PHP Deprecated: WPCF7_TagGenerator::add(): Use of tag generator instances older than version 2 is deprecated. Version 1 instance (cloudflare turnstile) detected. in /var/www/vhosts/———————/———–/wp-includes/functions.php on line 6085
https://www.ads-software.com/support/topic/deprecated-errro-with-new-cf7-6-0/
Forum: Plugins
In reply to: [CF7 Spreadsheets] Can’t upload JSON file@moshensky I just installed the new version in a test environment and can verify it worked.
I had installed the 2.3.1 version first to confirm the issue was still there then uploaded 2.3.2 over it and it worked (after I forced a refresh with CTRL+F5)Scott
Forum: Plugins
In reply to: [CF7 Spreadsheets] Can’t upload JSON filefound the issue, in script.js:
var readURLE = function (input) {
$(‘.CF7spreadsheets_status’).html(‘<span class=”CF7spreadsheets_loading”></span>’);
var reader = new FileReader();
reader.fileNameSet = input.files[0].name;
reader.onload = function (e, test) {
$.getJSON(e.target.result).complete(function (json){
$(‘.CF7spreadsheets_status’).html(”);
file_string = JSON.stringify(json.responseJSON);
});
};
reader.readAsDataURL(input.files[0]);
};json.responseJSON is undefined, I fixed mine by using
file_string =JSON.stringify(json)
instead of
file_string = JSON.stringify(json.responseJSON);after putting a breakpoint after
file_string = JSON.stringify(json.responseJSON);I was then able to click save and have the file load, not sure what the issue is caused by or a long term solution as I can’t take time to check right now ??
Forum: Plugins
In reply to: [CF7 Spreadsheets] Can’t upload JSON fileI am getting the same issue, I don’t see anything in the logs.
Details:
WP 5.6 (WPEngine)
PHP Version 7.4.13
MySQL Version 5.7.31-34-logMUST-USE PLUGINS
WP Engine System 4.1.0
Force Strong Passwords – WPE Edition 1.6.4
WP Engine Seamless Login Plugin 1.5.5
WP Engine Security Auditor 1.0.9OTHER PLUGINS
Akismet Anti-Spam 4.1.7
Better Search Replace 1.3.4
CF7 Spreadsheets 2.3.1
Classic Editor 1.6
Contact Form 7 Extension For Mailchimp 0.5.31
Contact Form 7 5.3.2
Cornerstone 4.2.3
Yoast Duplicate Post 3.2.6
301 Redirects 2.53
Flamingo 2.2.1
Smash Balloon Instagram Feed 2.6.2
Popup Maker 1.14.0
Yoast SEO 15.5Thanks
ScottFixed,
In the plugin adminFunctions.php I changed:
if ( $_not_buyable) {to
if ( $_not_buyable == ‘yes’ ) {Now all the status’ are showing correctly.