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

#   Problem with attach invoice plugin from Hikari Software

##

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

Less More

- Posts: 40
- Thank you received: 4
-
-

2 years 5 months ago [\#361664](#361664) by [Agabl123](/forum/user/64378-agabl123 "View Agabl123's Profile")  *[Problem with attach invoice plugin from Hikari Software](/forum/30-integrations/908302-problem-with-attach-invoice-plugin-from-hikari-software#361664 "-- HikaShop version -- : 5.10 -- Joomla version -- : 5.1.0 -- PHP version -- : 8.2  Hello, I just installed the new version of Hikashop business V 5.1.0. it works all fine but there is a problem with the plugin attachinvoice I bought a year ago.  I saw there is a newer version 2.0.4. - but does it fix the problem? BR Anita   HikaShop - generate PDF invoice 08 08 2023 2.0.3 Adrien Baborier, Hikari Software")* was created by *[Agabl123](/forum/user/64378-agabl123 "View Agabl123's Profile")*

-- HikaShop version -- : 5.10
-- Joomla version -- : 5.1.0
-- PHP version -- : 8.2

Hello,
I just installed the new version of Hikashop business V 5.1.0. it works all fine but there is a problem with the plugin attachinvoice I bought a year ago.
*This attachment is hidden for guests.
Please log in or register to see it.*

I saw there is a newer version 2.0.4. - but does it fix the problem? BR Anita

&lt;extension type="plugin" version="2.0" method="upgrade" group="hikashop"&gt;
&lt;name&gt;HikaShop - generate PDF invoice&lt;/name&gt;
&lt;creationDate&gt;08 08 2023&lt;/creationDate&gt;
&lt;version&gt;2.0.3&lt;/version&gt;
&lt;author&gt;Adrien Baborier, Hikari Software&lt;/author&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy85MDgzMDItcHJvYmxlbS13aXRoLWF0dGFjaC1pbnZvaWNlLXBsdWdpbi1mcm9tLWhpa2FyaS1zb2Z0d2FyZT90bXBsPW1hcmtkb3du) 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: 86584
- Thank you received: 14325
-
-

2 years 5 months ago [\#361667](#361667) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Problem with attach invoice plugin from Hikari Software](/forum/30-integrations/908302-problem-with-attach-invoice-plugin-from-hikari-software#361667 "-- HikaShop version -- : 5.10 -- Joomla version -- : 5.1.0 -- PHP version -- : 8.2  Hello, I just installed the new version of Hikashop business V 5.1.0. it works all fine but there is a problem with the plugin attachinvoice I bought a year ago.  I saw there is a newer version 2.0.4. - but does it fix the problem? BR Anita   HikaShop - generate PDF invoice 08 08 2023 2.0.3 Adrien Baborier, Hikari Software")*

Hi,

In your PDF, you provided the call stack ( [ en.wikipedia.org/wiki/Call\_stack](https://en.wikipedia.org/wiki/Call_stack) ) of the error, but not the error message itself.
Also, the call stack points at line 18 of the file /plugins/hikashop/attachinvoice/vendor/tecnickcom/tcpdf/fonts/cid0jp.php
However, if I open this file with notepad and look at the line 18, it is the last line of the file and it is completely empty. So I'm confused as to why this line would be a problem. The error message associated with the call stack would probably help understand what's going on. Could you provide it please ?
Without knowing the error message, it will be hard to say if updating would help or not.

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

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

Less More

- Posts: 40
- Thank you received: 4
-
-

2 years 5 months ago [\#361675](#361675) by [Agabl123](/forum/user/64378-agabl123 "View Agabl123's Profile")  Replied by *[Agabl123](/forum/user/64378-agabl123 "View Agabl123's Profile")* on topic *[Problem with attach invoice plugin from Hikari Software](/forum/30-integrations/908302-problem-with-attach-invoice-plugin-from-hikari-software#361675 "-- HikaShop version -- : 5.10 -- Joomla version -- : 5.1.0 -- PHP version -- : 8.2  Hello, I just installed the new version of Hikashop business V 5.1.0. it works all fine but there is a problem with the plugin attachinvoice I bought a year ago.  I saw there is a newer version 2.0.4. - but does it fix the problem? BR Anita   HikaShop - generate PDF invoice 08 08 2023 2.0.3 Adrien Baborier, Hikari Software")*

Hi Nicolas,
the error message is: "error: 0 syntax error, unexpected token","
Anita

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy85MDgzMDItcHJvYmxlbS13aXRoLWF0dGFjaC1pbnZvaWNlLXBsdWdpbi1mcm9tLWhpa2FyaS1zb2Z0d2FyZT90bXBsPW1hcmtkb3du) 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: 86584
- Thank you received: 14325
-
-

2 years 5 months ago [\#361676](#361676) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Problem with attach invoice plugin from Hikari Software](/forum/30-integrations/908302-problem-with-attach-invoice-plugin-from-hikari-software#361676 "-- HikaShop version -- : 5.10 -- Joomla version -- : 5.1.0 -- PHP version -- : 8.2  Hello, I just installed the new version of Hikashop business V 5.1.0. it works all fine but there is a problem with the plugin attachinvoice I bought a year ago.  I saw there is a newer version 2.0.4. - but does it fix the problem? BR Anita   HikaShop - generate PDF invoice 08 08 2023 2.0.3 Adrien Baborier, Hikari Software")*

Hi,

This indicates that there is a comma on line 18 of this file, even though this line is empty on my end. So that's strange.
Could you zip the file /plugins/hikashop/attachinvoice/vendor/tecnickcom/tcpdf/fonts/cid0jp.php on your website and provide it so that we can check its content ?

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

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

Less More

- Posts: 40
- Thank you received: 4
-
-

2 years 5 months ago [\#361677](#361677) by [Agabl123](/forum/user/64378-agabl123 "View Agabl123's Profile")  Replied by *[Agabl123](/forum/user/64378-agabl123 "View Agabl123's Profile")* on topic *[Problem with attach invoice plugin from Hikari Software](/forum/30-integrations/908302-problem-with-attach-invoice-plugin-from-hikari-software#361677 "-- HikaShop version -- : 5.10 -- Joomla version -- : 5.1.0 -- PHP version -- : 8.2  Hello, I just installed the new version of Hikashop business V 5.1.0. it works all fine but there is a problem with the plugin attachinvoice I bought a year ago.  I saw there is a newer version 2.0.4. - but does it fix the problem? BR Anita   HikaShop - generate PDF invoice 08 08 2023 2.0.3 Adrien Baborier, Hikari Software")*

sure  *This attachment is hidden for guests.
Please log in or register to see it.*

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy85MDgzMDItcHJvYmxlbS13aXRoLWF0dGFjaC1pbnZvaWNlLXBsdWdpbi1mcm9tLWhpa2FyaS1zb2Z0d2FyZT90bXBsPW1hcmtkb3du) 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: 86584
- Thank you received: 14325
-
-

2 years 5 months ago [\#361679](#361679) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Problem with attach invoice plugin from Hikari Software](/forum/30-integrations/908302-problem-with-attach-invoice-plugin-from-hikari-software#361679 "-- HikaShop version -- : 5.10 -- Joomla version -- : 5.1.0 -- PHP version -- : 8.2  Hello, I just installed the new version of Hikashop business V 5.1.0. it works all fine but there is a problem with the plugin attachinvoice I bought a year ago.  I saw there is a newer version 2.0.4. - but does it fix the problem? BR Anita   HikaShop - generate PDF invoice 08 08 2023 2.0.3 Adrien Baborier, Hikari Software")*

Hi,

It seems that everything after the line Code:

// --- EOF ---

has been somehow manually added to your file and is incorrect:
[ i.imgur.com/21fteM3.png](https://i.imgur.com/21fteM3.png)
It looks like a wrong copy / paste somehow.
Delete everything after Code:

// --- EOF ---

in that file and it should then work again.

The following user(s) said Thank You: [Agabl123](/forum/user/64378-agabl123 "View Agabl123's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy85MDgzMDItcHJvYmxlbS13aXRoLWF0dGFjaC1pbnZvaWNlLXBsdWdpbi1mcm9tLWhpa2FyaS1zb2Z0d2FyZT90bXBsPW1hcmtkb3du) 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.071 seconds

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