Daniele
Forum Replies Created
-
Hello @mrclayton ,
Thanks for the input, just to clarify they are not duplicated orders.
They are separate orders, with different dates and items, having the same PP transaction ID – far more bizarre!Here 2 screenshots:
- Order 78458 from Dec 10:
https://pasteboard.co/aoHfDdSbNxu8.png
https://pasteboard.co/1i4G1C6CiwWa.png - Order 78533 from Dec 12 (same customer, different IP, different products):
https://pasteboard.co/e3rx4vGWsA1q.png
https://pasteboard.co/toO7ouXIJb5h.png
Note that Paypal ID and “Net payout” are the same, even if the order totals are of course different.
Thanks
Forum: Plugins
In reply to: [Additional Custom Order Status for WooCommerce] Missing Action button?Hi @algoritmika ,
I’m not sure how this works.
With the snipped, I added the action wc-completed to 2 custom status.
How can I do that in the “Admin Order List Actions Buttons”? It’s not matter of sorting.
Thanks!
@bruandet bingo!
I found a custom plugin that was changing the curl timeout values…
add_action('http_api_curl', 'sar_custom_curl_timeout', 9999, 1);
function sar_custom_curl_timeout($handle)
{
curl_setopt($handle, CURLOPT_CONNECTTIMEOUT, 10); // 30 seconds.
curl_setopt($handle, CURLOPT_TIMEOUT, 10); // 30 seconds.
}I guess 10 seconds isn’t enough, I just removed the function.
Thanks for your help!!
@bruandet I’m testing on staging and it depends on a plugin!
I still don’t know which one but I’ll let you know πHello @bruandet ,
The IP returned is correct:
[wpokit@cloe ~]$ host wp-ok.it
wp-ok.it has address 157.90.192.96there was no DNS change, and if I try “curl https://wp-ok.it/” (with or without trailing slash) the page is returned correctly.
In the debug I have this, also unrelated:
[30-Sep-2025 10:04:49 UTC] PHP Notice: La funzione _load_textdomain_just_in_time Γ¨ stata richiamata <strong>in maniera scorretta</strong>. Il caricamento della traduzione per il dominio <code>hello-elementor-child</code> Γ¨ stato attivato troppo presto. Di solito Γ¨ un indicatore di un codice nel plugin o nel tema eseguito troppo presto. Le traduzioni dovrebbero essere caricate all'azione <code>init</code> o in un secondo momento. Leggi <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> per maggiori informazioni. (Questo messaggio Γ¨ stato aggiunto nella versione 6.7.0.) in /home/wpokit/public_html/wp-includes/functions.php on line 6121I also tried changing PHP version from 8.2 to 8.1 but it’s the same.
I am a bit lost!
Thanks
I tried disabling:
- WordFence (waf wasn’t enabled anyway)
- WPremote firewall
- renaming .htaccess
But did not help.
Here the logs with debug:
16-May-25 18:41:18 DEBUG Entering AJAX endpoint (profiler initialization)
16-May-25 18:41:18 DEBUG Verifying security nonce
16-May-25 18:41:18 DEBUG Checking MU plugin availability
16-May-25 18:41:18 DEBUG Retrieving parameters #1
16-May-25 18:41:18 DEBUG Retrieving parameters #2
16-May-25 18:41:18 DEBUG Retrieving parameters #3
16-May-25 18:41:18 DEBUG Retrieving parameters #4
16-May-25 18:41:18 INFO Initializing Code Profiler v1.7.5 on https://wp-ok.it. Profile: 2025-05-16_420865 - https://wp-ok.it/
16-May-25 18:41:18 DEBUG Retrieving parameters #5
16-May-25 18:41:18 DEBUG Creating security key
16-May-25 18:41:18 DEBUG Building HTTP query
16-May-25 18:41:18 DEBUG Checking HTTP options
16-May-25 18:41:18 DEBUG Sending HTTP request
16-May-25 18:41:19 DEBUG Setting size of memory buffer to 10MB
16-May-25 18:41:19 DEBUG Starting profiler
16-May-25 18:41:28 ERROR Cannot connect to the requested page: cURL error 28: Operation timed out after 10002 milliseconds with 0 bytes receivedWhich command is being executed, exactly? I can try from the terminal.
Hi @bruandet,
I created a one-time link as there are information I’d rather not share in the forum:
https://eu.onetimesecret.com/secret/32smg470vfwdelfgnxy13mc50rr0jza
The hosting support says they’re not blocking local access.
Thanks!
Forum: Plugins
In reply to: [Additional Custom Order Status for WooCommerce] Missing Action button?Hello @tahaamin
The snipped worked, thanks!!
Forum: Plugins
In reply to: [WooCommerce] Brands counter not working@saivutukuru we do not use other plugins, WooCommerce Brands is in core since WooCommerce 9.6.
So, we’re using the native WC feature (that previously was WooCommerce Brands)
Forum: Plugins
In reply to: [WooCommerce] Brands counter not workingHello @shahzeenfarooq ,
Yes we use WPbakery latest version (8.5).
Somewhere after Woo 9.8.5 the counters stopped working, but it doesn’t seem a bug of WPbakery.Also in this code “$brand->count” is always returning zero:
function show_woocommerce_brands( $atts ) {
$atts = shortcode_atts( array(
'columns' => 4,
'hide_empty' => true,
), $atts, 'show_brands' );
$args = array(
'taxonomy' => 'product_brand',
'hide_empty' => filter_var( $atts['hide_empty'], FILTER_VALIDATE_BOOLEAN ),
);
$brands = get_terms( $args );
ob_start();
foreach ( $brands as $brand ) {
echo esc_html( $brand->name ) . ' (' . intval( $brand->count ) . ')</h4>';
}
return ob_get_clean();
}
add_shortcode( 'show_brands', 'show_woocommerce_brands' );I suspect it has something to do with the performance improvements of 9.5? There were a few changes related to counters.
I hope it helps.
Thanks
Forum: Plugins
In reply to: [FiboSearch - Ajax Search for WooCommerce] Brands support?Never mind, I see that it’s already available in the PRO version.
@cjmora OK but as I wrote in my request:
We noticed that the stock quantity is not reduced on pre-ordered products.
Are you sure that if I set a product as pre-order, the stock quantity is reduced on orders?
Thanks
@cjmora thanks, but my question is different.
How can we set a product in pre-order and limit the quantity to 20 pieces?
But imagine we ordered 20 pieces of product A, and we want to allow pre-orders. We would need to limit sales to 20 pieces.
Thanks
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] SEPA payments never activated@wesleyjrosa when is 9.2 expected to be released?
Hello @aqibkhan9 ,
Thanks, to answer your questions:
- It’s a generic SMTP service provided by the hosting.
- The error is not happening for all emails, but random ones. When I manually retry, the emails are sent so it’s not something specific with those emails
I set up a fallback for now, thanks
- Order 78458 from Dec 10: