Skip to main content

Problem with attach invoice plugin from Hikari Software

2 years 4 months ago #361664 by Agabl123
-- 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

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

Please Log in or Create an account to join the conversation.

2 years 4 months ago #361667 by nicolas
Hi,

In your PDF, you provided the call stack ( 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 or Create an account to join the conversation.

2 years 4 months ago #361675 by Agabl123
Hi Nicolas,
the error message is: "error: 0 syntax error, unexpected token","
Anita

Please Log in or Create an account to join the conversation.

2 years 4 months ago #361676 by nicolas
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 or Create an account to join the conversation.

2 years 4 months ago #361677 by Agabl123
sure
This attachment is hidden for guests.
Please log in or register to see it.

Please Log in or Create an account to join the conversation.

2 years 4 months ago #361679 by nicolas
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
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

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum