Cédric
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Create Refunds With API RESTHello Hanna,
i know the doc. But item lines are not taken into account. When i look at the order after the request, only the total refunded is displayed, and nothing is displayed on the product line (what quantity and how much is refunded for each line).
this is my request:
{"amount":"4.89","reason":"","refunded_by":1,"line_items":{"2052":{"quantity":1,"tax_class":0,"total":"4.89"}}}
What am i doing wrong?
Thank you for your help
Forum: Plugins
In reply to: [WooCommerce] API Refunds: “line_items” is not taken into accountup
Forum: Plugins
In reply to: [WooCommerce] API Refunds: “line_items” is not taken into accounti tried this but it didn’t work.
{"amount":"4.89","reason":"test","refunded_by":1,"line_items":{"2052":{"quantity":1,"tax_class":0,"total":"4.89"}}}
Maybe there is a bug on the API. On Woofrance, someone confirmed there is a bug with the line ID that is replaced by 0.
Hi,
It seems to work. No PHP Notice in my debug log 2 hours after the update.
Regards,
Cedric.it’s perfect. no more notice. Thank you very much.
this warning appear in the debug.log when preload mode work.
i have this warning every second or two.
it’s maybe because i launch wp-cron.php from the server crontab
thank you for the link
This problem is solved.
Did you plan to fix this warning in a future version?
PHP Warning: strpos(): Empty needle in /var/www/clients/client1/web1/web/wp-content/plugins/wp-super-cache/wp-cache-phase1.php on line 636
I know there is a small custom fix on github but i thought it could be fix in new version. Maybe you can’t?
Thank you for your help
Best regardsHello @donncha,
$wp_cache_object_cache is defined in wp-content/wp-cache-config.php at line 8:
$wp_cache_object_cache = 0;
I found that the file was corrupted. A line with a lot of black “NULNULNULNUL” appeared at line 64 (just after $wp_super_cache_front_page_notification). So i have fixed it thanks to the sample version. Then i tried to save settings to see if the “bug” appear again but it seems to be good.
I launch the preload. I hope that was the problem.
I’m using the linux crontab for wp-cron.php
Best regards
i’m using php 7.1.8
i understand what you mean but a good plugin doesn’t made 10 Mo of php notices by day.
One notice or ten notices by day, it’s ok. i have got more than 10k pages to preload.
i don’t write a subject for one or two php notices by day. i have created this thread because it produce me a debug.log of 10Mo by day …
I have a lot of work, i don’t made a thread to spend my time. It’s not my plugin, do what you want with your plugin.
But, I love this plugin! So, i report that because i think, as a developper, this need to be revised.
Best regards,
Cedric(nb: sorry if my english is bad, it’s not my main language)
No,
it’s not solved. the problem is still here. i can’t use your plugin.
I sent you the mail some days ago.
But i don’t have a lot of time to resolve this at the moment.
Regards.
hi @chetnapatel,
Thank you for your reply. Your fix seems to work perfectly since about 3 hours.
Thank you very much.
Best regards,
Cedric.Forum: Plugins
In reply to: [WP Super Cache] Preload PHP Warning: strpos(): Empty needlehello @stodorovic,
Thank you for your help. Maybe i will try your fix.
i have discovered a second problem and i think this is why updating a post is very very slow.
This error appear when i update a post:
Notice: Undefined index: HTTP_REFERER in /var/www/clients/xxxx/web1/web/xxxx/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 1453
Does your code fix this too?Regards
Forum: Plugins
In reply to: [WP Super Cache] Cache stop working after 100 postsMore than 8000 product posts
Forum: Plugins
In reply to: [WP Super Cache] Cache stop working after 100 postshave you clear the cache, try different options? I have no problem with the last version 1.5.5