Support

Home Forums Community Forum FPDF error: Some data has already been output, can't send PDF file (3)

FPDF error: Some data has already been output, can't send PDF file (3)

Posted: July 8, 2015 at 8:58 am


jb

July 8, 2015 at 8:58 am

Hi there,

We had to change our domainname and copy & paste our WP install to a new folder. Everything seems to work except the invoices. We get the error: ‘FPDF error: Some data has already been output, can’t send PDF file’ when clicking on the invoice link. Please advice what to do or look at.

Thanks and regards,
JB

  • This topic was modified 8 years, 8 months ago by  jb.
  • This topic was modified 4 years, 1 month ago by  Garth.


Dean

July 16, 2015 at 6:10 am

Hi JB,

Is that the full error message?

Have you enabled WP_DEBUG to see if there is any more, hidden, messages? https://codex.wordpress.org/WP_DEBUG


jb

July 16, 2015 at 9:14 am

Hi Dean, great to hear from you & thanks. I now tried with WP_DEBUG set to true and clicked a ticket and an invoice. The invoice only gives the error message as stated and the ticket works but does provide some (maybe relevant) data in DEBUG mode:

Notice: Undefined variable: map_image_class in /home5/holland1/public_html/condroid.nl/wp-content/plugins/event-espresso/includes/functions/main.php on line 876

Notice: Undefined property: stdClass::$event_link in /home5/holland1/public_html/condroid.nl/wp-content/plugins/espresso-ticketing/functions.php on line 330

Notice: Undefined property: stdClass::$event_url in /home5/holland1/public_html/condroid.nl/wp-content/plugins/espresso-ticketing/functions.php on line 331

Notice: Undefined property: stdClass::$seatingchart_tag in /home5/holland1/public_html/condroid.nl/wp-content/plugins/espresso-ticketing/functions.php on line 375

Notice: Array to string conversion in /home5/holland1/public_html/condroid.nl/wp-content/plugins/espresso-ticketing/functions.php on line 405

Eager to hear from you!

Regards,
JB


Tony

  • Support Staff

July 16, 2015 at 11:23 am

Hi JB,

Which version number of EE3 are you using?

Also which version number of the EE3 Ticketing Add-on?

You’ll find both of these within Dashboard -> Plugins – http://take.ms/rqziV


jb

July 16, 2015 at 11:59 am

Hi Tony,

Event Espresso: 3.1.28.4.P
Event Espresso Ticketing: 2.0.8

Regards,
JB


Josh

  • Support Staff

July 16, 2015 at 12:07 pm

Hi Jorik,

Those versions are no longer supported, but you could check to see if you have an invoice URL set in the invoice settings is still pointing to your old domain.


jb

July 16, 2015 at 12:27 pm

Hi Josh,

Is that the ‘Invoice Payment Settings’ under ‘Payment Settings’? There is no setting with domain in there. Where should I look or which file on server?

Regards,
JB


Josh

  • Support Staff

July 16, 2015 at 12:34 pm

It’s the Logo URL field:

https://www.evernote.com/shard/s4/sh/9937206e-32bb-4d30-8fe4-6326e3ef4831/18047837a3f3f755eef26868cb25c0ba

You can also check and verify the files that you copied over to make sure everything that was supposed to get copied did get copied.


jb

July 16, 2015 at 12:42 pm

The problem here seems to be that whenever I try to login onto the old domain wp-admin it will show the new domain admin panel..


Lorenzo Orlando Caum

  • Support Staff

July 17, 2015 at 11:36 am

Hi JB, did you update the old site to point to the new domain?

If so, that could explain why, you are seeing the dashboard for the new site when trying to access the old one.


Lorenzo


jb

July 17, 2015 at 1:11 pm

Hi Lorenzo,

Good question. I did so because tutorial said so when copying WP site from domain 1 to domain 2. Now it seems the folder associated on server with domain 1 is undergoing changes partly when we change things in wp backend at domain & folder 2 🙁

Big problem remains somehow after using the EE code for our yearly event I have managed to destroy the invoice capability.. Everything else seems yo work 100% fine.

Regards,
Jorik


Lorenzo Orlando Caum

  • Support Staff

July 17, 2015 at 4:09 pm

Hi Jorik, could you try adding this towards the middle of your wp-config.php file?

It should replace any existing debugging macros for WP:

define(‘WP_DEBUG_DISPLAY’, false);
@ini_set(‘display_errors’,0);


Lorenzo


jb

July 20, 2015 at 12:34 pm

Hi Lorenzo,

I have added the code and but nothing seems to have changed?

Regards,
JB

The support post ‘FPDF error: Some data has already been output, can't send PDF file (3)’ 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