Bulk Export

Bug Released
14 February, 2023 05:24:56
martexx
Topics: 3
Messages: 17
e2pdf_interval
This schedule was added by another plugin and cannot be removed
5 (5 seconds)
This interval is less than the constant WP_CRON_LOCK_TIMEOUTset to 60 seconds. Events using it may not run on time. E2Pdf Cron Job Interval

Could be connected, it an error i see in cron settings for wordpress
14 February, 2023 06:34:33
E2Pdf
Support
Topics: 7
Messages: 3156
Hi,

Sorry, do you have issues with the "bulk" export?

If you start "bulk" export - E2Pdf will add a "cron" job, for PDF generations, however, due to WP_CRON_LOCK_TIMEOUT it can be a delay (regarding this is actually the message). After the "bulk" export is completed - the cron job will be completely removed.

If you see a "could not connect" error - do you use CloudFlare?
We would really appreciate your feedback at WordPress.org!
14 February, 2023 06:48:48
martexx
Topics: 3
Messages: 17
Hi, yes im sorry that i was not clear, i am using cloudfare and wanted to make a mass export, but nothing hapens
14 February, 2023 07:27:05
E2Pdf
Support
Topics: 7
Messages: 3156
Can you try please adding a "Firewall Rule" to Cloudflare.

Go to "Security" -> "WAF" -> "Create Firewall Rule", and create an "Allow" rule for your Server IP Address.

After the rule is added, wait for 5 minutes, and try to "stop" and "start" "Bulk Export".
We would really appreciate your feedback at WordPress.org!
14 February, 2023 07:33:43
martexx
Topics: 3
Messages: 17
I could, but the cloudfare logs show no blocked events for my own ip's:

Request details
Ray ID
7996cf06fe1eb9ad
IP address
-
ASN
AS20473 AS-CHOOPA
Country
Netherlands
User agent
WordPress/6.1.1; -
HTTP Version
HTTP/1.1
Method
POST
Host
-
Path
/wp-cron.php
Query string
-

is allowed
14 February, 2023 07:34:23
martexx
Topics: 3
Messages: 17
oh i actually already allow my own adresses
14 February, 2023 07:42:09
E2Pdf
Support
Topics: 7
Messages: 3156
Can you try please to "pause" and "start" the "bulk" export at "E2Pdf" -> "Bulk Export"? Will it work?

Also, do you see "e2pdf_cronjob" at "Cron Job" events?

It looks like we could replicate the issue so we are currently doing some additional tests on our side.
We would really appreciate your feedback at WordPress.org!
14 February, 2023 07:44:56
martexx
Topics: 3
Messages: 17
Can you try please to "pause" and "start" the "bulk" export at "E2Pdf" -> "Bulk Export"? Will it work?

i did it, now have to wait

Also, do you see "e2pdf_cronjob" at "Cron Job" events?

yes i see it.

e2pdf_cronjob
Bewerken | Nu uitvoeren | Pauzeer | Verwijderen | Verwijder alle 2
Geen 1970-01-01 01:00:01
53 jaren 1 maand geleden Model_E2pdf_Loader->cronjob() Niet-herhalend
Selecteer deze rij e2pdf_cronjob
Bewerken | Nu uitvoeren | Pauzeer | Verwijderen | Verwijder alle 2
Geen 2023-02-14 14:29:24
2 uren 15 minuten geleden Model_E2pdf_Loader->cronjob() Every 5 Minutes
14 February, 2023 07:53:19
E2Pdf
Support
Topics: 7
Messages: 3156
Hm,

For some reason, there are 2 cronjobs, and 1st one seems incorrect with the incorrect date... Can you remove it also please? 1970-01-01 01:00:01
We would really appreciate your feedback at WordPress.org!
14 February, 2023 07:56:24
martexx
Topics: 3
Messages: 17
i removed them, then disapprared, then paused and unpauzed the export.

one new one was created

in dutch (sorry)

e2pdf_cronjob
Bewerken | Nu uitvoeren | Pauzeer | Verwijderen
Geen 2023-02-14 16:55:53
nu Model_E2pdf_Loader->cronjob() E2Pdf Cron Job Interval
Dit interval is kleiner dan de constante WP_CRON_LOCK_TIMEOUT die is ingesteld op 60 seconden. Gebeurtenissen die het gebruiken, worden mogelijk niet op tijd uitgevoerd.
14 February, 2023 07:58:55
E2Pdf
Support
Topics: 7
Messages: 3156
Ok, thanks. If it will not work in 5 - 10 minutes, let us know, please. We are currently checking what can cause the issue.

Sorry for the inconvenience.
We would really appreciate your feedback at WordPress.org!
14 February, 2023 08:00:03
martexx
Topics: 3
Messages: 17
no problem, things happen. I dont understand wp-cron at all.
15 February, 2023 03:49:52
E2Pdf
Support
Topics: 7
Messages: 3156
Hi,

Can you please try to update the plugin to the latest RC version: 1.18.38 and see if the issue with "bulk" export still persists on your side?

We remain at your service.
We would really appreciate your feedback at WordPress.org!
15 February, 2023 06:58:39
martexx
Topics: 3
Messages: 17
so that works, but only for one.

I used a pdf and selected only two entires.
The first one was ready almost instantly, but for the second one i needed to pause and unpause
15 February, 2023 13:02:50
E2Pdf
Support
Topics: 7
Messages: 3156
Thank you for letting us know. It seems we were able to identify the issue, as it's not persistent and we were need to catch it.

We will note you shortly as soon as update will be ready.
We would really appreciate your feedback at WordPress.org!
16 February, 2023 05:18:33
martexx
Topics: 3
Messages: 17
thanks, also i could not download the files, but that seems to work now.

Question in between:

how can i copy templates between sites?
16 February, 2023 07:02:40
E2Pdf
Support
Topics: 7
Messages: 3156
Hi,

See please current topic: https://e2pdf.com/support/desk/how-to-copy-template

"Item" under the "Backup" and "Import" option is Formidable Form. So keep attention on this as if the form was migrated previously and will not be migrated with E2Pdf, use the "Force shortcodes to use": "Field Keys" instead of "Field IDs" as it could be needed to re-map E2Pdf Template. In another case, you will need to "Import" E2Pdf Template with the "Item" so it could be created a Formidable Forms Form and fields can be remapped to new Field IDs.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
16 February, 2023 07:14:58
martexx
Topics: 3
Messages: 17
thanks!

so about bulk export:

It works but will only make one file, if i pause and unpause it makes the next one.
I can visit my site as much a s i want.

perhaps u guys can find a better way, wp cron seems nasty
16 February, 2023 07:17:57
E2Pdf
Support
Topics: 7
Messages: 3156
We are rebuilding the logic of the "bulk" export. Unfortunately, the update is expected next week, so we will let you know as soon as it will be ready.
We would really appreciate your feedback at WordPress.org!
16 February, 2023 07:19:59
martexx
Topics: 3
Messages: 17
no stress, it would be handy, and will still be when it is done.
Thanks!
16 February, 2023 07:21:50
martexx
Topics: 3
Messages: 17
if u are working on it anyway, bulk export of templates would be usefull
16 February, 2023 07:22:33
E2Pdf
Support
Topics: 7
Messages: 3156
We will add this feature for review.
We would really appreciate your feedback at WordPress.org!
23 February, 2023 01:30:23
E2Pdf
Support
Topics: 7
Messages: 3156
Hi,

We currently rebuilt the "Bulk Export" logic. Can you please update the plugin to the latest RC version and let us know please if the issue will be resolved? If not and it's acceptable for you, submit please support ticket with access details to WP Admin Dashboard here: https://e2pdf.com/support/request

We remain at your service.
We would really appreciate your feedback at WordPress.org!