1.
I can confirm that two other websites don't have issues.
However, I am unsure why this website still presents issues.
I've reinstalled Hikashop 5.0.0 and deleted the PDF invoice plugin before installing it again.
I can confirm it's version 2.0.4 now, as you can see in the screenshot.
I made changes in the past to /plugins/hikashop/attachinvoice/attachinvoice/invoice.php,
but I've since deleted everything, and even with the default code, I encounter this error.
I will send you the login credentials and hope you can take a look.
An error has occurred.
0 count(): Argument #1 ($value) must be of type Countable|array, null given
Call stack
# Function Location
1 () JROOT/plugins/hikashop/attachinvoice/vendor/spipu/html2pdf/src/Html2Pdf.php:5280
2 count() JROOT/plugins/hikashop/attachinvoice/vendor/spipu/html2pdf/src/Html2Pdf.php:5280
3 Spipu\Html2Pdf\Html2Pdf->_tag_open_TR() JROOT/plugins/hikashop/attachinvoice/vendor/spipu/html2pdf/src/Html2Pdf.php:1444
4 Spipu\Html2Pdf\Html2Pdf->_executeAction() JROOT/plugins/hikashop/attachinvoice/vendor/spipu/html2pdf/src/Html2Pdf.php:1412
5 Spipu\Html2Pdf\Html2Pdf->_makeHTMLcode() JROOT/plugins/hikashop/attachinvoice/vendor/spipu/html2pdf/src/Html2Pdf.php:5602
6 Spipu\Html2Pdf\Html2Pdf->_tag_open_TD() JROOT/plugins/hikashop/attachinvoice/vendor/spipu/html2pdf/src/Html2Pdf.php:1444
7 Spipu\Html2Pdf\Html2Pdf->_executeAction() JROOT/plugins/hikashop/attachinvoice/vendor/spipu/html2pdf/src/Html2Pdf.php:1398
8 Spipu\Html2Pdf\Html2Pdf->_makeHTMLcode() JROOT/plugins/hikashop/attachinvoice/vendor/spipu/html2pdf/src/Html2Pdf.php:600
9 Spipu\Html2Pdf\Html2Pdf->writeHTML() JROOT/plugins/hikashop/attachinvoice/attachinvoice.php:502
10 plgHikashopAttachinvoice->_Html2Pdf() JROOT/plugins/hikashop/attachinvoice/attachinvoice.php:112
11 plgHikashopAttachinvoice->_getPDFInvoice() JROOT/plugins/hikashop/attachinvoice/attachinvoice.php:229
12 plgHikashopAttachinvoice->onHikashopBeforeDisplayView() JROOT/libraries/src/Plugin/CMSPlugin.php:284
13 Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}() JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:486
14 Joomla\Event\Dispatcher->dispatch() JROOT/libraries/src/Application/EventAware.php:111
15 Joomla\CMS\Application\WebApplication->triggerEvent() JROOT/administrator/components/com_hikashop/helpers/helper.php:2805
16 hikashopView->display() JROOT/administrator/components/com_hikashop/views/order/view.html.php:30
17 OrderViewOrder->display() JROOT/libraries/src/MVC/Controller/BaseController.php:645
18 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2557
19 hikashopController->display() JROOT/administrator/components/com_hikashop/controllers/order.php:305
20 OrderController->invoice() JROOT/libraries/src/MVC/Controller/BaseController.php:678
21 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:2535
22 hikashopController->execute() JROOT/administrator/components/com_hikashop/hikashop.php:73
23 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
24 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
25 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
26 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
27 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
28 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
29 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
30 require_once() JROOT/administrator/index.php:32
2.
Indeed, I didn't have the latest version of MyParcel. Now, with the latest version, deprecated errors are gone. Thanks!
3.
I don't know why that happened (maybe automatic translation somewhere), but now we used the latest version, 2.0.4. However, we still have this issue, see point one.
Thanks!