Notice: Trying to get property of non-object in /var/www/testwawel2/web/wp-content/themes/wawel/pages/product-card.php on line 42

Fatal error: Uncaught exception 'Exception' with message 'TCPDF ERROR: Some data has already been output, can't send PDF file' in /var/www/testwawel2/web/wp-content/themes/wawel/plugins/product-card/vendor/tecnickcom/tcpdf/tcpdf.php:2927 Stack trace: #0 /var/www/testwawel2/web/wp-content/themes/wawel/plugins/product-card/vendor/tecnickcom/tcpdf/tcpdf.php(7649): TCPDF->Error('Some data has a...') #1 /var/www/testwawel2/web/wp-content/themes/wawel/plugins/product-card/vendor/spipu/html2pdf/src/Html2Pdf.php(506): TCPDF->Output('karta-produktu-...', 'D') #2 /var/www/testwawel2/web/wp-content/themes/wawel/pages/product-card.php(219): Spipu\Html2Pdf\Html2Pdf->output('karta-produktu-...', 'D') #3 /var/www/testwawel2/web/wp-includes/template-loader.php(74): include('/var/www/testwa...') #4 /var/www/testwawel2/web/wp-blog-header.php(19): require_once('/var/www/testwa...') #5 /var/www/testwawel2/web/index.php(26): require('/var/www/testwa...') #6 {main} thrown in /var/www/testwawel2/web/wp-content/themes/wawel/plugins/product-card/vendor/tecnickcom/tcpdf/tcpdf.php on line 2927