Support

Home Forums Event Espresso Premium Downloading PDF gives me error

Downloading PDF gives me error

Posted: October 3, 2014 at 6:38 pm


jts2005

October 3, 2014 at 6:38 pm

I am getting this error when trying to download the PDF. Is it due to the server OPcache possibly not being enabled? I read that on the forums and wanted to double check.

Warning: DOMNode::cloneNode(): ID invoice already defined in /home/forexcur/public_html/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/include/frame_decorator.cls.php on line 453

Warning: DOMNode::cloneNode(): ID invoice already defined in /home/forexcur/public_html/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/include/frame_decorator.cls.php on line 453
Unable to stream pdf: headers already sent


Lorenzo Orlando Caum

  • Support Staff

October 4, 2014 at 2:36 pm

Hi,

Thanks for trying out the solution here:

https://eventespresso.com/topic/invoice-pdf-button-generating-an-error-when-clicked/

Opcache should be off on the server.

Try turning WordPress debugging off on your site:

define( 'WP_DEBUG', false );
if ( WP_DEBUG ) {
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );
}
    @ini_set( 'display_errors', 0 );


Lorenzo

The support post ‘Downloading PDF gives me 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