Support

Home Forums Event Espresso Premium No transaction information error on non-EE pages

No transaction information error on non-EE pages

Posted: September 22, 2015 at 9:14 am

Viewing 4 reply threads


Justin Baloun

September 22, 2015 at 9:14 am

We are getting the transaction info error message (screenshot) on our Gravity forms thank you pages. All of the EE critical pages are correctly assigned and are not on this thank you page. Here’s a link to the thank you page.


Tony

  • Support Staff

September 22, 2015 at 9:41 am

Hi Justin,

This is cause by another page with the same slug (thank-you) as the Event Espresso page, I’ll check in with the developers on preventing it from loading within core.

However as a quick fix you can add:

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(306) ) {
        $display_errors = false;
    }       

    return $display_errors;
}

To your themes functions.php file or a Site Specific Plugin

The id in the is_page() check is the id of your GF thank you page, it looks like it should be 306 so I’ve used that number in the above example.


Lorenzo Orlando Caum

  • Support Staff

September 22, 2015 at 9:50 am

Hi Justin,

The slug appears to be similar to the thank you page (thank-you) for Event Espresso.

Could you try this out?

Go to the Event Espresso thank you page and rename it to thanks.

Then go to Event Espresso –> General Settings –> Critical Pages. Be sure that the existing page is selected and then go ahead and save changes as-is.

Does that message still appear when you browse to the thank you page for Gravity Forms?


Lorenzo


Justin Baloun

September 22, 2015 at 9:52 am

It was actually easier just to change the slug on the non-EE thank you page. Once I did that it worked fine. Thanks guys.


Tony

  • Support Staff

September 22, 2015 at 10:15 am

Yeah that works to 🙂

I though you may have wanted to keep the slug as thank-you.

I’m glad its now working as expected.

Viewing 4 reply threads

The support post ‘No transaction information error on non-EE pages’ 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.

Event Espresso