[Skip to main content](#vessel-content)

#   Error printing invoice on the frontend

##

- **[Rixters](/forum/user/28762-rixters "View Rixters's Profile")**
- [![Rixters's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28762.jpg)](/forum/user/28762-rixters "View Rixters's Profile") Topic Author
- [ Offline](/forum/user/28762-rixters)

Less More

- Posts: 209
- Thank you received: 14
-
-
-
- [](http://www.r2h.nl)
-

4 years 2 months ago [\#345167](#345167) by [Rixters](/forum/user/28762-rixters "View Rixters's Profile")  *[Error printing invoice on the frontend](/forum/35-orders-management/905089-error-printing-invoice-on-the-frontend#345167 "-- HikaShop version -- : 4.6.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 8.x  When I try to print the invoice from the frontend, I get a blank popup. When error reporting is on I get the error: Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/deb88329/domains/follyfoamdev.com/public&#95;html/plugins/hikashop/attachinvoice/vendor/tecnickcom/tcpdf/tcpdf.php on line 16900  This is probably the attach invoice plugin... with PHP 8.x  Thanks in advance!")* was created by *[Rixters](/forum/user/28762-rixters "View Rixters's Profile")*

-- HikaShop version -- : 4.6.2
-- Joomla version -- : 3.10.11
-- PHP version -- : 8.x

When I try to print the invoice from the frontend, I get a blank popup. When error reporting is on I get the error: Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/deb88329/domains/follyfoamdev.com/public_html/plugins/hikashop/attachinvoice/vendor/tecnickcom/tcpdf/tcpdf.php on line 16900

This is probably the attach invoice plugin... with PHP 8.x

Thanks in advance!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNTA4OS1lcnJvci1wcmludGluZy1pbnZvaWNlLW9uLXRoZS1mcm9udGVuZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

4 years 2 months ago [\#345169](#345169) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Error printing invoice on the frontend](/forum/35-orders-management/905089-error-printing-invoice-on-the-frontend#345169 "-- HikaShop version -- : 4.6.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 8.x  When I try to print the invoice from the frontend, I get a blank popup. When error reporting is on I get the error: Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/deb88329/domains/follyfoamdev.com/public&#95;html/plugins/hikashop/attachinvoice/vendor/tecnickcom/tcpdf/tcpdf.php on line 16900  This is probably the attach invoice plugin... with PHP 8.x  Thanks in advance!")*

Hello,

There are a good chance that your pdf invoice plugin is a bit too old for php 8 standards.
Uour only solution is to update it, and it will solve this issue.

Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNTA4OS1lcnJvci1wcmludGluZy1pbnZvaWNlLW9uLXRoZS1mcm9udGVuZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[finngu](/forum/user/71306-finngu "View finngu's Profile")**
- [![finngu's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/71306-finngu "View finngu's Profile")
- [ Offline](/forum/user/71306-finngu)

Less More

- Posts: 6
- Thank you received: 2
-
-

3 years 10 months ago [\#348431](#348431) by [finngu](/forum/user/71306-finngu "View finngu's Profile")  Replied by *[finngu](/forum/user/71306-finngu "View finngu's Profile")* on topic *[Error printing invoice on the frontend](/forum/35-orders-management/905089-error-printing-invoice-on-the-frontend#348431 "-- HikaShop version -- : 4.6.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 8.x  When I try to print the invoice from the frontend, I get a blank popup. When error reporting is on I get the error: Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/deb88329/domains/follyfoamdev.com/public&#95;html/plugins/hikashop/attachinvoice/vendor/tecnickcom/tcpdf/tcpdf.php on line 16900  This is probably the attach invoice plugin... with PHP 8.x  Thanks in advance!")*

I have the same problem

Joomla 4.2.6
Hikashop Business 4.7.0
PDF plogin 1.1.4
PHP 8

Nothing is attached to the emails to customer or administrator and same problem with an empty popup window where nothing happens.....
Considering if the attach invoice as PDF to confirmed orders are working at all?

Can someone maybe help me? Our customers are complaining that they dont get any PDF invoices after we swithed from Virtuemart to Hikashop....

Thanks
Finn  [ ![hikashop&#95;faktura&#95;venter.jpg](/forum/attachment/56339) ](/forum/attachment/56339 "...ura&#95;venter.jpg")

[ ![hikashop&#95;faktura&#95;venter.jpg](/forum/attachment/56339) ](/forum/attachment/56339 "...ura&#95;venter.jpg")

- [ ![hikashop&#95;faktura&#95;venter.jpg](/forum/attachment/56339) ](/forum/attachment/56339 "...ura&#95;venter.jpg") [ ](/forum/attachment/56339?download=1 "...ura&#95;venter.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNTA4OS1lcnJvci1wcmludGluZy1pbnZvaWNlLW9uLXRoZS1mcm9udGVuZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14327
-
-

3 years 10 months ago [\#348433](#348433) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error printing invoice on the frontend](/forum/35-orders-management/905089-error-printing-invoice-on-the-frontend#348433 "-- HikaShop version -- : 4.6.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 8.x  When I try to print the invoice from the frontend, I get a blank popup. When error reporting is on I get the error: Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/deb88329/domains/follyfoamdev.com/public&#95;html/plugins/hikashop/attachinvoice/vendor/tecnickcom/tcpdf/tcpdf.php on line 16900  This is probably the attach invoice plugin... with PHP 8.x  Thanks in advance!")*

Hi,

The plugin is working fine and is being used by many.
Could you provide a screenshot of the settings of the plugin ?
Are you able to get the invoice from the backend order details page with the "invoice" button ? That's the first thing to try.
Regarding your screenshot, it looks like the browser has troubles displaying the print prompt. It's not clear whether it is related to the plugin or not. If you disable the PDF invoice plugin, do you still have the same issue ? If so, it would confirm it is not related to the plugin. If not, it means the plugin is providing the PDF but the PDF reader has problems reading it. It could either be a problem with the PDF reader or with the PDF file generation.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNTA4OS1lcnJvci1wcmludGluZy1pbnZvaWNlLW9uLXRoZS1mcm9udGVuZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.069 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
