Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Error when trying to download ticket | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Error when trying to download ticket

Error when trying to download ticket

Posted: May 21, 2013 at 5:36 am

Viewing 9 reply threads


inspectahdeck

May 21, 2013 at 5:36 am

I have created a ticket and placed in in uploads/espresso/tickets/templates and replaced the existing template.

It works fine…but when trying to download, i get the following error:

Fatal error: Uncaught exception ‘Exception’ with message ‘This function is not compatible with non-static object methods due to PHP Bug #44144.’ in /home/tgbs/public_html/wp-content/plugins/event-espresso/tpc/dompdf/dompdf_config.inc.php:385 Stack trace: #0 /home/tgbs/public_html/wp-content/plugins/espresso-ticketing/functions.php(241): require_once() #1 /home/eventsma/public_html/wp-content/plugins/event-espresso/espresso.php(1040): espresso_ticket_launch() #2 /home/tgbs/public_html/wp-includes/plugin.php(406): espresso_export_ticket(‘108′, ’25-519a53102f95…’) #3 /home/tgbs/public_html/wp-settings.php(209): do_action(”) #4 /home/tgbs/public_html/wp-config.php(91): require_once(‘/home/tgbs/…’) #5 /home/tgbs/public_html/wp-load.php(29): require_once(‘/home/tgbs/…’) #6 /home/tgbs/public_html/wp-blog-header.php(12): require_once(‘/home/tgbs/…’) #7 /home/tgbs/public_html/index.php(17): require(‘/home/tgbs/…’) #8 {main} thrown in/home/tgbs/public_html/wp-content/plugins/event-espresso/tpc/dompdf/dompdf_config.inc.php on line 385

 

Any idea as to why this may be happening?

Cheers!


Josh

May 21, 2013 at 8:21 am

Hi there,

This was reported one other time and it turns out the solution was to download the latest version of dompdf replace the version of dompdf that is included with Event Espresso with the newer version. You can download the newest version of dompdf here:

https://github.com/dompdf/dompdf/downloads


inspectahdeck

May 21, 2013 at 11:48 am

Thanks, still not working, but getting different error now:

 

Notice: Constant DOMPDF_ENABLE_REMOTE already defined in /home/eventsma/public_html/wp-content/plugins/event-espresso/tpc/dompdf/dompdf_config.inc.php on line 196Fatal error: Class ‘DOMPDF’ not found in /home/eventsma/public_html/wp-content/plugins/espresso-ticketing/functions.php on line 242

 

Here is what I did:

1) download the stable version dompdf-0.5.2

2) unzipped it

3) replaced plugins/event-espresso/dompdf with

load_font.php

dompdf_config.inc.php

dompdf.php

lib/

include/

Didn’t think I needed to move any other file…

Please let me know what I have not done properly :)


Josh

May 21, 2013 at 12:44 pm

the dompdf folder should go in event-espresso/tpc.

So it will look like this: wp-content/plugins/event-espresso/tpc/dompdf


inspectahdeck

May 21, 2013 at 10:46 pm

correction – that is where i have done it already..but still getting those errors as described..


Josh

May 22, 2013 at 8:39 am

Here are a few things you can try:

1) rename the old tpc/dompdf directory to tpc/dompdf-old
2) upload the entire dompdf folder downloaded from github to event-espresso/tpc
3) open up wp-config.php and set WP_DEBUG to false


inspectahdeck

May 22, 2013 at 1:24 pm

Hi,

I’ve done this and still getting the same error. Can you take a look at this?

 

Notice: Constant DOMPDF_ENABLE_REMOTE already defined in /home/eventsma/public_html/wp-content/plugins/event-espresso/tpc/dompdf/dompdf_config.inc.php on line 196Fatal error: Class ‘DOMPDF’ not found in /home/eventsma/public_html/wp-content/plugins/espresso-ticketing/functions.php on line 242


Josh

May 22, 2013 at 2:37 pm

Hi there,

You cab check to see if there are other plugins active that include the DOMPDF scripts and verify that the tpc/dompdf folder’s permission is set to something like 755 or 775 (your server’s permissions may vary, so you might try one if it’s set to the other).


inspectahdeck

June 4, 2013 at 2:28 am

Hi, sorry no luck with this.

I cannot find another plugin using dompdf.

Can you help me pls?

Thanks


Josh

June 4, 2013 at 8:40 am

Hi there,

Can you check to see if the file permissions on the server are allowing the DOMPDF scripts to be read?

Viewing 9 reply threads

The support post ‘Error when trying to download ticket’ 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 - Staging Server