Support

Home Forums Event Espresso Premium Error when clicking on invoice post registration

Error when clicking on invoice post registration

Posted: March 12, 2014 at 6:09 pm

Viewing 11 reply threads


ATD Cascadia Chapter

March 12, 2014 at 6:09 pm

After event registration with the “invoice” option, on the thank you page, when I click on the invoice link, the page displays this error:

Fatal error: Cannot redeclare mb_substr() (previously declared in /home/astdcasc/public_html/wp-includes/compat.php:17) in /home/astdcasc/public_html/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/include/functions.inc.php on line 414

========
WP version: 3.8.1
EE version: 4.1.5.reg Version 3.8.1
Upgraded and Migrated


Lorenzo Orlando Caum

  • Support Staff

March 12, 2014 at 6:54 pm

Hello,

Could you backup your WordPress and update to version 4.1.9.reg?


Lorenzo


ATD Cascadia Chapter

March 13, 2014 at 4:49 pm

Hi Lorenzo,

I ran a backup and updated to 4.1.9.reg.

Here is a link to the thank-you page after an order: http://astdcascadiatest.org/cascadia-events/thank-you/?e_reg_url_link=1-80c9c9e567792a98a354188c88773cc6

There are 2 links on this page. One is “retry payment” (which i have an issue with in this thread: https://eventespresso.com/topic/make-a-payment-link-goes-to-blank-page/) and the other one is “Download PDF Invoice”. If you click on each link, you will see the 2 issues represented.

Let me know if you need additional info.

Thanks!


Lorenzo Orlando Caum

  • Support Staff

March 13, 2014 at 7:30 pm

I’ve created a report for the developers to review. I’ll update this post once I have more information.


Lorenzo


Lorenzo Orlando Caum

  • Support Staff

March 14, 2014 at 2:25 pm

Hello,

Could you please create a temporary WordPress admin login and a temporary FTP so I can make an adjustment to one of the files?

Please share that temporary login through the secure link below:

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

To prevent delays in troubleshooting, be sure to double check your information on the form before submitting. The submit button for the form appears after you have answered “Yes” to the last question.

Thank you.


Lorenzo


ATD Cascadia Chapter

March 14, 2014 at 2:32 pm

Hi Loreno, would you be open to just sharing the changes here and we can make them ourselves. We would prefer to have a good understanding of the issue and solution.


Lorenzo Orlando Caum

  • Support Staff

March 14, 2014 at 2:54 pm

Hello again,

A developer did review the issue but was unable to reproduce it. I also can’t reproduce the issue so I was hoping to take a look at your site privately to get more information on the hosting environment.

With that mentioned, I can see that a check was added to a file.

Here are the steps that I was going to go through:

1) Deactivate Event Espresso through WordPress Plugins. Login to WordPress site with an SFTP or FTP client

2) Browse to this location:

wp-content/event-espresso/core/third_party_libs/dompdf/include/functions.inc.php

3) Rename the existing file to functions.inc.php.old

4) Download this file to your computer:

http://cl.ly/code/0l0E0O0J0z0z

5) Upload to the location in step 2

6) Reactivate Event Espresso through WordPress Plugins

Then retest the invoice option.


Lorenzo


ATD Cascadia Chapter

March 14, 2014 at 3:14 pm

Okay, updated the file. Issues that remain: When I click on “View Full Order Confirmation” and click on download I get

Fatal error: Cannot redeclare mb_substr() (previously declared in /home/site/public_html/wp-includes/compat.php:17) in /home/site/public_html/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/include/functions.inc.php on line 414

When I click on “Edit” event registration details I get a blank page. This also occurs when I click on edit Attendee Information from the Thank you page.


Lorenzo Orlando Caum

  • Support Staff

March 14, 2014 at 4:32 pm

Hi there, thanks for applying the file and testing again.

We are having a difficult time since we can’t reproduce the issue on our end.

Would it be possible to get those temporary logins? I’ll also be able to take a look at your other issue at the same time (https://eventespresso.com/topic/make-a-payment-link-goes-to-blank-page/).

If so, could you send them securely through this link:

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


Lorenzo


ATD Cascadia Chapter

March 17, 2014 at 6:19 pm

Hi Lorenzo, checking to make sure you got the log on credentials. Thanks!


Dean

March 18, 2014 at 2:18 am

Hi,

I emailed you regarding the login details.


ATD Cascadia Chapter

March 28, 2014 at 2:58 pm

I ended up needing to nest the events page under the main home page not a sub-page. This fixed the error.

Viewing 11 reply threads

The support post ‘Error when clicking on invoice post registration’ 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