Posted: 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! |
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: |
|
|
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 🙂 |
the dompdf folder should go in event-espresso/tpc. So it will look like this: wp-content/plugins/event-espresso/tpc/dompdf |
|
|
correction – that is where i have done it already..but still getting those errors as described.. |
Here are a few things you can try: 1) rename the old tpc/dompdf directory to tpc/dompdf-old |
|
|
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 |
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). |
|
|
Hi, sorry no luck with this. I cannot find another plugin using dompdf. Can you help me pls? Thanks |
Hi there, Can you check to see if the file permissions on the server are allowing the DOMPDF scripts to be read? |
|
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.