Hi David,
It looks like one of your snippets is running out of memory.
You shoudl be able to resolve this by increasing the memory limit for your WordPress site: https://developer.ww.wp.xz.cn/apis/wp-config-php/#increasing-memory-allocated-to-php
Good morning Shea!
I only have two snippets running and they are very simple. See below. Is there something that is not correct in the code?
Dave
add_action(‘frm_after_create_entry’, ‘frm_add_entry_id_grant’, 42, 2);
function frm_add_entry_id_grant($entry_id, $form_id){
if ( $form_id == 275 ) { //change 275 to the ID of your form
FrmEntryMeta::add_entry_meta( $entry_id, 6071, “”, $entry_id);//change 6071 to the ID of the field in which you want to store the entry ID
}
}
My memory limit is maxed out
Hi David,
If you’re not able to increase the memory limit, then you can try disabling the syntax highlighter on the plugin Settings menu. This should prevent that error from appearing.
Thank you for this guidance. I have just implemented your suggestion.
It is very kind of you to take your time to work through these minor issues. Thank you so much.
Dave
You’re welcome! Hopefully this fixes things for you.