Error on e2pdf-gravity.php

4 August, 2020 08:48:29
geno
Topics: 6
Messages: 16
Started receiving this error:

[25-Jul-2020 03:08:36 UTC] PHP Warning: preg_match_all() expects parameter 2 to be string, array given in /home/*******/public_html/*****.com/wp-content/plugins/e2pdf/classes/extension/e2pdf-gravity.php on line 1702
[25-Jul-2020 03:08:36 UTC] PHP Warning: array_intersect(): Argument #2 is not an array in /home/******/public_html/*****.com/wp-content/plugins/e2pdf/classes/extension/e2pdf-gravity.php on line 1703

on my Gravity forms installation. The form submits, is emailed with the pdf... it's just this error is thrown and the user gets this error on the web page:

Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 8974040 bytes) in /home/****/public_html/****.com/wp-includes/wp-db.php on line 1989

There has been a critical error on your website.


running 7.3 php
PHP Memory Limit 768.0 MiB
4 August, 2020 22:16:08
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

Are you using the latest version of plugin (1.11.05)? Issue was reported earlier and must be fixed in latest version.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
5 August, 2020 08:24:29
geno
Topics: 6
Messages: 16
Yes, we are using Version: 1.11.05.

On Genesis.
5 August, 2020 09:55:22
E2Pdf
Support
Topics: 7
Messages: 3163
Do you get PHP Warning or Fatal error at this moment?

We just noticed that error from your log appeared on 25 July 2020, but it was fixed on 27 July 2020 in 1.11.05, it's about PHP Warning.

If you are getting Fatal Error upon form submission now, can you try to remove "e2pdf" shortcodes from success message/mail notification and test form submission without?

We remain at your service.
We would really appreciate your feedback at WordPress.org!
5 August, 2020 10:35:00
geno
Topics: 6
Messages: 16
Thank you..

Yes, we are still receiving the following error:
[05-Aug-2020 17:20:07 UTC] PHP Fatal error: Allowed memory size of 824180736 bytes exhausted (tried to allocate 8339912 bytes) in /home/*******/public_html/*******.com/wp-includes/wp-db.php on line 1989

I went to my host, Siteground... we thought perhaps WP Memory Limit was the issue and he raised it to: 768MB. I received the the message above.

I turned off 'notifications' in the gravity form, re-submitted and did not receive the error.
I turned on 'notifications' in the gravity form, re-submitted and DID receive the error.

The email notification is:
Dear - {Owner(s):69}
Your most recent HomeWatch survey was completed  {Start Date:60} @ {Time Ended:66}

Here is the download link: [e2pdf-attachment id="11"]

Thank you for entrusting your property with Paradise Palms Property Management.

thank you
5 August, 2020 10:38:56
geno
Topics: 6
Messages: 16
I just checked another form, it's happening on that one too..
5 August, 2020 23:25:56
E2Pdf
Support
Topics: 7
Messages: 3163
Did you try to remove [e2pdf-attachment id="11"] from notification and submit form?

In any case, submit please support ticket here: https://e2pdf.com/support/request

If possible, include also please FTP details.

By some reason wp-db.php on mysql request taking all memory and it can be caused as due E2Pdf as due other plugins, so we need to make some tests and find out on which request it's failing...

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