Support

Home Forums Event Espresso Premium Registration Could Not Be Completed Error

Registration Could Not Be Completed Error

Posted: March 9, 2021 at 5:57 pm

Viewing 10 reply threads


cgigar

March 9, 2021 at 5:57 pm

We set up a new event in our Event Espresso account and made a couple minor changes to the registration form and now when people try to register they are often getting an error that says, “The registration could not be completed, please refresh and try again.”

We tried reverting the registration form changes, but that did not fix it. We have tested it with both paid and free tickets to eliminate that it was a payment gateway issue and have found that it does occur with free tickets as well. We are not sure what else to try? Any ideas??


cgigar

March 9, 2021 at 6:23 pm

Additionally, it does seem to process the registration despite the error, so it is causing people to register and get charged multiple times.


Tony

  • Support Staff

March 10, 2021 at 3:37 am

Hi there,

There is a fatal error being thrown when EE tries to generate an email on your server.

I added a quick test registration on your admin ticket and got this error on the ajax request:

Fatal error: Uncaught Error: Class 'DOMDocument' not found in /event-espresso-core-reg/core/third_party_libs/cssinliner/vendor/tijsverkoyen/css-to-inline-styles/src/CssToInlineStyles.php:146

That error means your server does not have the PHP Dom extension installed:

https://www.php.net/en/dom

You’ll need to install/enable that on your server for the above to work, I recommend contacting your host to have them enable it.


cgigar

March 10, 2021 at 10:46 am

@tony We fixed the PHP Dom as you suggested and EE does now allow us to complete a ticket purchase, but when we click on the registration receipt and select download pdf, we get another fatal error.


Tony

  • Support Staff

March 10, 2021 at 2:34 pm

Do you have the error being thrown on that request? if so can you post it here.

The Download PDF button is redirecting me but not showing a fatal on the page.


cgigar

March 10, 2021 at 4:05 pm

My developers were trying to fix it and not sure why the PDF button is redirecting now? That shouldn’t be doing that.

The error that we were seeing is really long and I have the screenshot of that, but not sure how to upload that here? The beginning of the error says this though:

!Fatal error: Uncaught Error: Call to undefined function Dompdf\mb_internal_encoding()

/public/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/src/Dompdf.php  on line 274


Tony

  • Support Staff

March 10, 2021 at 4:51 pm

For screenshots you need to host the image and include a link to it here, or use a 3rd party service.

We have some examples here:

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots

However I don’t need a screenshot here, the error you’ve mentioned means the MBString module is not installed, DOMPDF (which we use to generate PDFs) requires it so you’ll need that enabling on the server.

The redirect can happen if the PDF message type has been disabled.

Event Espresso -> Messages -> Settings.

In the PDF section is there a receipt and invoice message type in the active section? If so, drag them to be disabled and then back again.


cgigar

March 10, 2021 at 5:21 pm

@Tony,

I’ve asked my developers to enable the MBString you mentioned. In the meantime, I tried to make the changes to the PDF settings that you mention here:

“Event Espresso -> Messages -> Settings. In the PDF section is there a receipt and invoice message type in the active section? If so, drag them to be disabled and then back again.”

However, there are no message types showing on the PDF settings page (either in active or inactive.). Instead it has a message that says this, “This messenger is not currently used with any message types for templates but merely adds to the shortcodes available for templates on other messenger and message types.”

I also tried looking under the HTML message types and Receipt shows there, so I dragged that from active to inactive and then back again, but it didn’t resolve anything.


Tony

  • Support Staff

March 11, 2021 at 2:39 am

My apologies, I had ‘PDF’ on the brain.

As you’ve already found, the PDF section of the message system is basically a placeholder that allows us to add in the PDF related shortcodes.

The steps you took in the HTML section are what I was trying to suggest above.

Has MBString been enabled on the server? The current output may well just be from the fatal error being thrown.


cgigar

March 12, 2021 at 3:08 pm

@Tony the MBString was enabled, but the receipt pdf is still not working.
What do you suggest.


Tony

  • Support Staff

March 16, 2021 at 5:28 am

Strange, do you mind if I take a look at the message system and see if anything stands out?

If that’s ok you can send temp login details using this form:

https://eventespresso.com/send-login-details/

Viewing 10 reply threads

The support post ‘Registration Could Not Be Completed Error’ 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