Oleksandr
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] The response is not a valid JSON responseI fix this by changing the function
wp_insert_post() to $wpdb->insert()Forum: Plugins
In reply to: [Contact Form 7] The response is not a valid JSON responseI found a reason for this bug.
I use the plugin for saving letters to the databasePart of code.
add_action( 'wpcf7_submit', array( $this, 'wpcf7_contact_form_submit'), 10, 2 ); wpcf7_contact_form_submit( $contact_form, $result ) { ... // This line is a reason for bug $postId = wp_insert_post( $args ); ... }So saving the post after submitting it is a reason for this.
It all works if I comment this line.
I can send the whole plugin to youJust log out and log in again.
But this bug occurred only today and I can’t reproduce it even on my test site, that almost the same as the production site.I fix this by modifying the file Settings.php
public function send_data_on_login() { // to prevent duplicate calls remove_action( 'wp_login', array( $this, 'send_data_on_login' ) ); if ( false === $this->should_send_data() ) { return; } // to prevent duplicate calls update_option( $this->tracking_option, time() ); $this->send_data(); }Hello
Sorry – I missed your question.
https://3d-kstudio.com/Big!
Thanks – this should helpThanks.
But I answered about how to disable purging using filters from PHP code.Forum: Plugins
In reply to: [ActiveCampaign Postmark for Wordpress] Some wishes3rd point isn’t actual.
Using webhooks is simpler than I think before.I just must read data in json format
// Takes raw data from the request $json = file_get_contents('php://input'); // Converts it into a PHP object $data = json_decode($json);Forum: Plugins
In reply to: [ActiveCampaign Postmark for Wordpress] Some wishesErrorCode for 2nd point
{“ErrorCode”:300,”Message”:”Error parsing ‘From’: Illegal email address ‘&’. It must contain the ‘@’ symbol.”}Forum: Plugins
In reply to: [YITH WooCommerce Wishlist] Javascript errorThis work.
I don’t see this error more in logs.
Thank you!Done.
Check your mailboxI can give you access to the test site.
How to send credentials to you?
Is it possible to exclude Memcache for some pages using actions, filters or something else?Thank you
Forum: Plugins
In reply to: [YITH WooCommerce Wishlist] Javascript errorSorry – only now see your message.
I did it.
I’ll write in a week if this helped or not. I need time to check analytics.
Thank you!Forum: Plugins
In reply to: [Lazy Load for Videos] Parsing a videoI understand.
Thank you.I can’t reproduce this error and now I added a few changes to the code so this will not appear again.
if(!WC()->cart ){ return; }Forum: Everything else WordPress
In reply to: Merge my accountsPlease keep this one
https://wordpress.org/support/users/track77/Thank you.