sweeperr
Forum Replies Created
-
Forum: Plugins
In reply to: [XML Sitemap Generator for Google] Custom taxonomy sitemap file is emptySame issue here, and I appreciate your fix.
I believe I’m here for the same reason. Saving the contact form throws this fatal PHP error:
(Contact Form 7 version 5.8.1 and Conditional Fields for CF7 version 2.3.11)
[16-Oct-2023 19:40:44 UTC] PHP Fatal error: Uncaught Error: Undefined constant WPCF7_ConfigValidator::error_invalid_mailbox_syntax in /home/[domain]/wp-content/plugins/cf7-conditional-fields/cf7cf.php:78 Stack trace: #0 /home/[domain]/wp-includes/class-wp-hook.php(310): CF7CF->wpcf7cf_config_validator_validate(Object(WPCF7_ConfigValidator)) #1 /home/[domain]/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array) #2 /home/[domain]/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home/[domain]/wp-content/plugins/contact-form-7/includes/config-validator/validator.php(329): do_action('wpcf7_config_va...', Object(WPCF7_ConfigValidator)) #4 /home/[domain]/wp-content/plugins/contact-form-7/admin/admin.php(249): WPCF7_ConfigValidator->validate() #5 /home/[domain]/wp-includes/class-wp-hook.php(308): wpcf7_load_contact_form_admin() #6 /home/[domain]/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array) #7 /home/[domain]/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /home/[domain]/wp-admin/admin.php(237): do_action('load-toplevel_p...') #9 {main} thrown in /home/[domain]/wp-content/plugins/cf7-conditional-fields/cf7cf.php on line 78
I’ve got a solution. I added this code to a custom plugin:
function remove_cf7_spam_filter(){ remove_filter('wpcf7_spam', 'wpcf7_disallowed_list', 10); } add_action( 'after_setup_theme', 'remove_cf7_spam_filter' ); add_filter( 'wpcf7_spam', 'wpcf7_disallowed_list2', 10, 2 ); function wpcf7_disallowed_list2( $spam, $submission ) { if ( $spam ) { return $spam; } $target = $submission->get_posted_data(); // Don't spam check these fields: if(array_key_exists('g-recaptcha-response', $target)) unset ($target['g-recaptcha-response']); $target = wpcf7_array_flatten( $target ); $target[] = $submission->get_meta( 'remote_ip' ); $target[] = $submission->get_meta( 'user_agent' ); $target = implode( "\n", $target ); $word = wpcf7_check_disallowed_list( $target ); $word = wpcf7_apply_filters_deprecated( 'wpcf7_submission_is_blacklisted', array( $word, $submission ), '5.3', 'wpcf7_submission_has_disallowed_words' ); $word = apply_filters( 'wpcf7_submission_has_disallowed_words', $word, $submission ); if ( $word ) { if ( is_bool( $word ) ) { $reason = __( "Disallowed words are used.", 'contact-form-7' ); } else { $reason = sprintf( __( "Disallowed words (%s) are used.", 'contact-form-7' ), implode( ', ', (array) $word ) ); } $submission->add_spam_log( array( 'agent' => 'disallowed_list', 'reason' => $reason, ) ); } $spam = (bool) $word; return $spam; }
I resolved it myself.
I rearranged a nested group tag and that seems to have fixed it.Minor update.
I’ve now tried: regenerating .htaccess, disabling *all* other plugins.So it seems like it’s got to be something I’ve misconfigured in the form itself.
Forum: Plugins
In reply to: [Advanced AJAX Product Filters] Unable to remove “Deprecated Filters” addonAh, I should’ve known better. I tried clearing my cache and still couldn’t click it, but my coworker was able to do it without issue on his computer, so it must be something on my browser.
Thanks for your time!I can confirm that caching wasn’t the problem.
I’m not sure how to provide you with a test case without also preventing customers from checking out, so we may just have to leave this as a heads-up for you as something to look out for in the next 9000 stores that update.
Thanks for checking. Everything seems fine for me too. ??
Forum: Plugins
In reply to: [User Activity Log] Conflict with Woocommerce@strangechild Technically no, but practically yes. Without making any other changes, deactivating User Activity Log fixed the problem for me.
It’s theoretically possible that User Activity Log causes this issue when combined with another plugin or theme, but I doubt it.
Still, if the developer would like to pretend that it’s not their problem (not saying this developer would; I just know others do), here are other plugins and themes I’m using, for the record:
-Akismet Anti-Spam
-Asset CleanUp: Page Speed Booster
-Classic Editor
-Compress JPEG & PNG Images
-Contact Form 7
-Contact Form 7 Conditional Fields
-Contact Form DB
-Dashboard Columns
-Jetpack by WordPress.com
-Proxy Cache Purge
-Quick Page/Post Redirect Plugin
-Really Simple SSL
-Scripts n Styles
-Slider REvolution
-Woocommerce
-Yoast SEOThemes:
-Krystal
-Krystal ShopForum: Plugins
In reply to: [User Activity Log] Conflict with WoocommerceI can confirm that I’ve had the same issue and it was solved by disabling the User Activity Log plugin.
When User Activity Log is installed and active, I am unable to save changes to Woocommerce product variations. Clicking the “Save Changes” button in the variations section will cause the loading/saving animation, but it never completes the save.
Upon refreshing, I’ve found that edits to the first variation listed *are* saved, but edits to any additional variation are *not* saved.
Even if no changes are made to the first variation, it is impossible to edit any other variations, as the saving function seems to check each variation in sequence and hangs when moving on from the first one.