ianchamba
Forum Replies Created
-
Forum: Plugins
In reply to: [Reportana] Site LentoEnquanto eles ainda n?o resolveram eu removi o codigo
add_action( ‘wp’, ‘reportana_load_abandoned_checkout’ );
e estou usando o agendamento do Action Schedulerfunction reportana_schedule_abandoned_checkout() {
if ( ! as_next_scheduled_action( 'reportana_abandoned_checkout_hook' ) ) {
as_schedule_recurring_action( time(), 300, 'reportana_abandoned_checkout_hook' );
}
}
add_action( 'init', 'reportana_schedule_abandoned_checkout' );
add_action( 'reportana_abandoned_checkout_hook', 'reportana_load_abandoned_checkout' );O 300 s?o os segundos que é 5 minutos, pra mim está OK, mas dá pra alterar se necessário. Lembre-se de comentar ou remover a linha do add_action.
I managed to solve it by deleting an option that is in the wp database table. I now forgot the name exactly, but just deleting it and clicking Cancel again fixed it, but it’s a bug that happens all the time with me.
- This reply was modified 1 month, 1 week ago by ianchamba.
Forum: Plugins
In reply to: [Advanced Media Offloader] Error Bulk OffloadOkay, thank you so much!
Forum: Plugins
In reply to: [Advanced Media Offloader] Error Bulk OffloadYes, I removed it, thanks again. Now a question, do you intend to integrate with WooCommerce? Because I had to create a code to be able to update the URLs of my downloadable products in WooCommerce, because currently the plugin does offload, but does not update the URLs of the WooCommerce products.
Forum: Plugins
In reply to: [Advanced Media Offloader] Error Bulk OffloadWith a lot of sacrifice, I managed to find the problem. The problem was that I used the WP Media Offload plugin before and there were some remnants of information from the old bucket that I used before in Amazon S3, so what I needed to do was just give the command
UPDATE wp_postmeta
SET meta_value = REPLACE(meta_value,
's3saeast1://wpgpl-brasil/wp-content/uploads/',
'')
WHERE meta_key = '_wp_attachment_metadata'
AND meta_value LIKE '%s3saeast1://%';and this command removed the wrong information directly from the database. Solved.
Forum: Plugins
In reply to: [Advanced Media Offloader] Error Bulk Offloadhttps://github.com/minio/minio/issues/3390
https://github.com/minio/minio/issues/5874
I found these links that might help
Forum: Plugins
In reply to: [Advanced Media Offloader] Error Bulk Offload<?xml version="1.0" encoding="UTF-8"?> <Error><Code>XMinioInvalidObjectName</Code><Message>Object name contains unsuppor (truncated...) XMinioInvalidObjectName (client): Object name contains unsupported characters. - <?xml version="1.0" encoding="UTF-8"?> <Error><Code>XMinioInvalidObjectName</Code><Message>Object name contains unsupported characters.</Message><Key>s3saeast1://wpgpl-brasil/wp-content/uploads/2024/06/02080337/31175314/Lewis-6668354d5fee9.jpg</Key><BucketName>wpgpl-brasil</BucketName><Resource>/wpgpl-brasil/s3saeast1://wpgpl-brasil/wp-content/uploads/2024/06/02080337/31175314/Lewis-6668354d5fee9.jpg</Resource><Region>sa-east-1</Region><RequestId>1816AB956F1305F6</RequestId><HostId>dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8</HostId></Error> [01-Jan-2025 20:29:26 UTC] Advanced Media Offloader: Error uploading file to S3: Error executing "PutObject" on "https://cloud.hostbraza.com.br/wpgpl-brasil/s3saeast1%3A//wpgpl-brasil/wp-content/uploads/2024/06/02080335/31175320/Nadus-6668359ad1f41.png"; AWS HTTP error: Client error:
PUT https://cloud.hostbraza.com.br/wpgpl-brasil/s3saeast1%3A//wpgpl-brasil/wp-content/uploads/2024/06/02080335/31175320/Nadus-6668359ad1f41.png
resulted in a400 Bad Request
response: <?xml version="1.0" encoding="UTF-8"?>I was able to send the error_log correctly here now.
The strangest thing about all of this is that I managed to offload half of my files from my website, but half of them gave this error.
- This reply was modified 2 months, 3 weeks ago by ianchamba.
Forum: Plugins
In reply to: [Advanced Media Offloader] Error Bulk Offloaddefine(“ADVMO_MINIO_ENDPOINT”, “https://cloud.hostbraza.com.br;);
define(“ADVMO_MINIO_BUCKET”, “wpgpl-brasil”);
define(“ADVMO_MINIO_DOMAIN”, “https://cloud.hostbraza.com.br;);- This reply was modified 2 months, 3 weeks ago by ianchamba.
Forum: Plugins
In reply to: [Advanced Media Offloader] Error Bulk OffloadIn fact, I thought I had solved it, but it cunningly didn’t. I edited the message, could you tell me what could happen with this problem?
Forum: Plugins
In reply to: [Advanced Media Offloader] Error Bulk OffloadForum: Plugins
In reply to: [Advanced Media Offloader] Connection Failed! MinIOThank you, it works!