Problem with attach invoice plugin from Hikari Software

  • Posts: 39
  • Thank you received: 4
  • Hikashop Business
4 months 4 weeks ago #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.

This browser does not support PDFs. Please download the PDF to view it: Download PDF


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>

Attachments:

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

  • Posts: 82823
  • Thank you received: 13370
  • MODERATOR
4 months 4 weeks ago #361667

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.

  • Posts: 39
  • Thank you received: 4
  • Hikashop Business
4 months 4 weeks ago #361675

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

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

  • Posts: 82823
  • Thank you received: 13370
  • MODERATOR
4 months 4 weeks ago #361676

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.

  • Posts: 39
  • Thank you received: 4
  • Hikashop Business
4 months 4 weeks ago #361677

sure

File Attachment:

File Name: cid0jp.zip
File Size:573 KB

Attachments:

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

  • Posts: 82823
  • Thank you received: 13370
  • MODERATOR
4 months 4 weeks ago #361679

Hi,

It seems that everything after the line

// --- 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
// --- 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.066 seconds
Powered by Kunena Forum