Hi, I’ve just set up a thank you page for a contact form 7 enquiry form I have on a site. When the thank you page loads the following EE4 error appears!
An error has occurred:
No transaction information could be retrieved because the registration URL link is missing or invalid.
EES_Espresso_Thank_You – _get_reg_url_link – 198
How can I stop this? The page and form have nothing to do with EE4!
domain.com/thank-you/ (which would be the EE thank you page?)
domain.com/something/thank-you/ (which would be your Contact Form 7 thank you page)
Is that correct?
I’ve set-up the above and confirmed the notices are displayed on both the pages with that set-up, I just want to confirm that is how you have your pages.
I have requested some developer feedback on why this is happening, but I also have a work around to remove the notice from the additional page for the time being, if you add this function:
add_filter( 'FHEE__EE_Front_Controller__display_errors', 'ee_remove_notices_from_front_page' );
function ee_remove_notices_from_front_page($display_errors) {
// Check if this is the 'other' thank-you page ID and
// if so set the EE_Front_Controller not to display errors.
if( is_page(103) ) {
$display_errors = false;
}
return $display_errors;
}
To either your themes functions.php file, or a Site Specific Plugin, change the page ID (103 in my example) to match the Contact Form 7 thank you page ID and the errors will no longer display.
The support post ‘Error appearing on contact form 7 thank you page’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.