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

#   Error message on Myparcel plugin

##

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

Less More

- Posts: 147
- Thank you received: 8
-
-

3 years 10 months ago -  3 years 10 months ago [\#347865](#347865) by [NicoW](/forum/user/58228-nicow "View NicoW's Profile")  *[Error message on Myparcel plugin](/forum/28-shipping-methods/905610-error-message-on-myparcel-plugin#347865 "Hi, i have this error message while Myparcel seems to function good still:  Error Code 0 Error Type TypeError Message preg&#95;match() expects parameter 2 to be string, bool given File /home/u126019p121985/domains/&#91;my domain&#93;/public&#95;html/plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Helper/MyParcelCurl.php Line 309 Request /je-bestelling-status Referrer https://&#91;my domain&#93;/contact Remote ip address (ip address) User AJorna (1466)  Type Function Class Line File N/A preg&#95;match N/A 309 /plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Helper/MyParcelCurl.php S extractCode MyParcelNL&#92;Sdk&#92;src&#92;Helper&#92;MyParcelCurl 147 /plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Helper/MyParcelCurl.php D read MyParcelNL&#92;Sdk&#92;src&#92;Helper&#92;MyParcelCurl 332 /plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Model/MyParcelRequest.php D setResult MyParcelNL&#92;Sdk&#92;src&#92;Model&#92;MyParcelRequest 159 /plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Model/MyParcelRequest.php D sendRequest MyParcelNL&#92;Sdk&#92;src&#92;Model&#92;MyParcelRequest 236 /plugins/hikashopshipping/myparcelpickup/myparcelpickup.php D getPickupPoints plgHikaShopshippingMyparcelpickup 124 /plugins/hikashopshipping/myparcelpickup/myparcelpickup.php D onShippingDisplay plgHikaShopshippingMyparcelpickup 70 /libraries/joomla/event/event.php D update JEvent 160 /libraries/joomla/event/dispatcher.php D trigger JEventDispatcher 108 /libraries/src/Application/BaseApplication.php D triggerEvent Joomla&#92;CMS&#92;Application&#92;BaseApplication 434 /administrator/components/com&#95;hikashop/classes/shipping.php D getShippings hikashopShippingClass 1373 /administrator/components/com&#95;hikashop/classes/cart.php D getFullCart hikashopCartClass 2385 /components/com&#95;hikashop/views/product/view.html.php D cart ProductViewProduct 28 /components/com&#95;hikashop/views/product/view.html.php D display ProductViewProduct 872 /administrator/components/com&#95;hikashop/helpers/helper.php N/A hikashop&#95;getLayout N/A 70 /modules/mod&#95;hikashop&#95;cart/mod&#95;hikashop&#95;cart.php N/A include N/A 200 /libraries/src/Helper/ModuleHelper.php S renderModule Joomla&#92;CMS&#92;Helper&#92;ModuleHelper 98 /libraries/src/Document/Renderer/Html/ModuleRenderer.php D render Joomla&#92;CMS&#92;Document&#92;Renderer&#92;Html&#92;ModuleRenderer 175 /plugins/content/loadmodule/loadmodule.php D &#95;load PlgContentLoadmodule 81 /plugins/content/loadmodule/loadmodule.php D onContentPrepare PlgContentLoadmodule 70 /libraries/joomla/event/event.php D update JEvent 160 /libraries/joomla/event/dispatcher.php D trigger JEventDispatcher 41 /libraries/cms/html/content.php S prepare JHtmlContent N/A N/A N/A call&#95;user&#95;func&#95;array N/A 239 /libraries/src/HTML/HTMLHelper.php S call Joomla&#92;CMS&#92;HTML&#92;HTMLHelper 111 /libraries/src/HTML/HTMLHelper.php S &#95; Joomla&#92;CMS&#92;HTML&#92;HTMLHelper 15 /modules/mod&#95;custom/mod&#95;custom.php N/A include N/A 200 /libraries/src/Helper/ModuleHelper.php S renderModule Joomla&#92;CMS&#92;Helper&#92;ModuleHelper 98 /libraries/src/Document/Renderer/Html/ModuleRenderer.php D render Joomla&#92;CMS&#92;Document&#92;Renderer&#92;Html&#92;ModuleRenderer 47 /libraries/src/Document/Renderer/Html/ModulesRenderer.php D render Joomla&#92;CMS&#92;Document&#92;Renderer&#92;Html&#92;ModulesRenderer 499 /libraries/src/Document/HtmlDocument.php D getBuffer Joomla&#92;CMS&#92;Document&#92;HtmlDocument 791 /libraries/src/Document/HtmlDocument.php D &#95;renderTemplate Joomla&#92;CMS&#92;Document&#92;HtmlDocument 565 /libraries/src/Document/HtmlDocument.php D render Joomla&#92;CMS&#92;Document&#92;HtmlDocument 1140 /libraries/src/Application/CMSApplication.php D render Joomla&#92;CMS&#92;Application&#92;CMSApplication 778 /libraries/src/Application/SiteApplication.php D render Joomla&#92;CMS&#92;Application&#92;SiteApplication 231 /libraries/src/Application/CMSApplication.php D execute Joomla&#92;CMS&#92;Application&#92;CMSApplication 49 /index.php  Is there something to do about this, or what can be the issue? Thanks.")* was created by *[NicoW](/forum/user/58228-nicow "View NicoW's Profile")*

Hi, i have this error message while Myparcel seems to function good still:

Error Code 0
Error Type TypeError
Message preg_match() expects parameter 2 to be string, bool given
File /home/u126019p121985/domains/[my domain]/public_html/plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Helper/MyParcelCurl.php
Line 309
Request /je-bestelling-status
Referrer https://[my domain]/contact
Remote ip address (ip address)
User AJorna (1466)

Type Function Class Line File
N/A preg_match N/A 309 /plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Helper/MyParcelCurl.php
S extractCode MyParcelNL\Sdk\src\Helper\MyParcelCurl 147 /plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Helper/MyParcelCurl.php
D read MyParcelNL\Sdk\src\Helper\MyParcelCurl 332 /plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Model/MyParcelRequest.php
D setResult MyParcelNL\Sdk\src\Model\MyParcelRequest 159 /plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Model/MyParcelRequest.php
D sendRequest MyParcelNL\Sdk\src\Model\MyParcelRequest 236 /plugins/hikashopshipping/myparcelpickup/myparcelpickup.php
D getPickupPoints plgHikaShopshippingMyparcelpickup 124 /plugins/hikashopshipping/myparcelpickup/myparcelpickup.php
D onShippingDisplay plgHikaShopshippingMyparcelpickup 70 /libraries/joomla/event/event.php
D update JEvent 160 /libraries/joomla/event/dispatcher.php
D trigger JEventDispatcher 108 /libraries/src/Application/BaseApplication.php
D triggerEvent Joomla\CMS\Application\BaseApplication 434 /administrator/components/com_hikashop/classes/shipping.php
D getShippings hikashopShippingClass 1373 /administrator/components/com_hikashop/classes/cart.php
D getFullCart hikashopCartClass 2385 /components/com_hikashop/views/product/view.html.php
D cart ProductViewProduct 28 /components/com_hikashop/views/product/view.html.php
D display ProductViewProduct 872 /administrator/components/com_hikashop/helpers/helper.php
N/A hikashop_getLayout N/A 70 /modules/mod_hikashop_cart/mod_hikashop_cart.php
N/A include N/A 200 /libraries/src/Helper/ModuleHelper.php
S renderModule Joomla\CMS\Helper\ModuleHelper 98 /libraries/src/Document/Renderer/Html/ModuleRenderer.php
D render Joomla\CMS\Document\Renderer\Html\ModuleRenderer 175 /plugins/content/loadmodule/loadmodule.php
D _load PlgContentLoadmodule 81 /plugins/content/loadmodule/loadmodule.php
D onContentPrepare PlgContentLoadmodule 70 /libraries/joomla/event/event.php
D update JEvent 160 /libraries/joomla/event/dispatcher.php
D trigger JEventDispatcher 41 /libraries/cms/html/content.php
S prepare JHtmlContent N/A N/A
N/A call_user_func_array N/A 239 /libraries/src/HTML/HTMLHelper.php
S call Joomla\CMS\HTML\HTMLHelper 111 /libraries/src/HTML/HTMLHelper.php
S _ Joomla\CMS\HTML\HTMLHelper 15 /modules/mod_custom/mod_custom.php
N/A include N/A 200 /libraries/src/Helper/ModuleHelper.php
S renderModule Joomla\CMS\Helper\ModuleHelper 98 /libraries/src/Document/Renderer/Html/ModuleRenderer.php
D render Joomla\CMS\Document\Renderer\Html\ModuleRenderer 47 /libraries/src/Document/Renderer/Html/ModulesRenderer.php
D render Joomla\CMS\Document\Renderer\Html\ModulesRenderer 499 /libraries/src/Document/HtmlDocument.php
D getBuffer Joomla\CMS\Document\HtmlDocument 791 /libraries/src/Document/HtmlDocument.php
D _renderTemplate Joomla\CMS\Document\HtmlDocument 565 /libraries/src/Document/HtmlDocument.php
D render Joomla\CMS\Document\HtmlDocument 1140 /libraries/src/Application/CMSApplication.php
D render Joomla\CMS\Application\CMSApplication 778 /libraries/src/Application/SiteApplication.php
D render Joomla\CMS\Application\SiteApplication 231 /libraries/src/Application/CMSApplication.php
D execute Joomla\CMS\Application\CMSApplication 49 /index.php

Is there something to do about this, or what can be the issue?
Thanks.

Last edit: 3 years 10 months ago by [NicoW](/forum/user/58228-nicow "View NicoW's Profile").

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

3 years 10 months ago [\#347872](#347872) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error message on Myparcel plugin](/forum/28-shipping-methods/905610-error-message-on-myparcel-plugin#347872 "Hi, i have this error message while Myparcel seems to function good still:  Error Code 0 Error Type TypeError Message preg&#95;match() expects parameter 2 to be string, bool given File /home/u126019p121985/domains/&#91;my domain&#93;/public&#95;html/plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Helper/MyParcelCurl.php Line 309 Request /je-bestelling-status Referrer https://&#91;my domain&#93;/contact Remote ip address (ip address) User AJorna (1466)  Type Function Class Line File N/A preg&#95;match N/A 309 /plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Helper/MyParcelCurl.php S extractCode MyParcelNL&#92;Sdk&#92;src&#92;Helper&#92;MyParcelCurl 147 /plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Helper/MyParcelCurl.php D read MyParcelNL&#92;Sdk&#92;src&#92;Helper&#92;MyParcelCurl 332 /plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Model/MyParcelRequest.php D setResult MyParcelNL&#92;Sdk&#92;src&#92;Model&#92;MyParcelRequest 159 /plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Model/MyParcelRequest.php D sendRequest MyParcelNL&#92;Sdk&#92;src&#92;Model&#92;MyParcelRequest 236 /plugins/hikashopshipping/myparcelpickup/myparcelpickup.php D getPickupPoints plgHikaShopshippingMyparcelpickup 124 /plugins/hikashopshipping/myparcelpickup/myparcelpickup.php D onShippingDisplay plgHikaShopshippingMyparcelpickup 70 /libraries/joomla/event/event.php D update JEvent 160 /libraries/joomla/event/dispatcher.php D trigger JEventDispatcher 108 /libraries/src/Application/BaseApplication.php D triggerEvent Joomla&#92;CMS&#92;Application&#92;BaseApplication 434 /administrator/components/com&#95;hikashop/classes/shipping.php D getShippings hikashopShippingClass 1373 /administrator/components/com&#95;hikashop/classes/cart.php D getFullCart hikashopCartClass 2385 /components/com&#95;hikashop/views/product/view.html.php D cart ProductViewProduct 28 /components/com&#95;hikashop/views/product/view.html.php D display ProductViewProduct 872 /administrator/components/com&#95;hikashop/helpers/helper.php N/A hikashop&#95;getLayout N/A 70 /modules/mod&#95;hikashop&#95;cart/mod&#95;hikashop&#95;cart.php N/A include N/A 200 /libraries/src/Helper/ModuleHelper.php S renderModule Joomla&#92;CMS&#92;Helper&#92;ModuleHelper 98 /libraries/src/Document/Renderer/Html/ModuleRenderer.php D render Joomla&#92;CMS&#92;Document&#92;Renderer&#92;Html&#92;ModuleRenderer 175 /plugins/content/loadmodule/loadmodule.php D &#95;load PlgContentLoadmodule 81 /plugins/content/loadmodule/loadmodule.php D onContentPrepare PlgContentLoadmodule 70 /libraries/joomla/event/event.php D update JEvent 160 /libraries/joomla/event/dispatcher.php D trigger JEventDispatcher 41 /libraries/cms/html/content.php S prepare JHtmlContent N/A N/A N/A call&#95;user&#95;func&#95;array N/A 239 /libraries/src/HTML/HTMLHelper.php S call Joomla&#92;CMS&#92;HTML&#92;HTMLHelper 111 /libraries/src/HTML/HTMLHelper.php S &#95; Joomla&#92;CMS&#92;HTML&#92;HTMLHelper 15 /modules/mod&#95;custom/mod&#95;custom.php N/A include N/A 200 /libraries/src/Helper/ModuleHelper.php S renderModule Joomla&#92;CMS&#92;Helper&#92;ModuleHelper 98 /libraries/src/Document/Renderer/Html/ModuleRenderer.php D render Joomla&#92;CMS&#92;Document&#92;Renderer&#92;Html&#92;ModuleRenderer 47 /libraries/src/Document/Renderer/Html/ModulesRenderer.php D render Joomla&#92;CMS&#92;Document&#92;Renderer&#92;Html&#92;ModulesRenderer 499 /libraries/src/Document/HtmlDocument.php D getBuffer Joomla&#92;CMS&#92;Document&#92;HtmlDocument 791 /libraries/src/Document/HtmlDocument.php D &#95;renderTemplate Joomla&#92;CMS&#92;Document&#92;HtmlDocument 565 /libraries/src/Document/HtmlDocument.php D render Joomla&#92;CMS&#92;Document&#92;HtmlDocument 1140 /libraries/src/Application/CMSApplication.php D render Joomla&#92;CMS&#92;Application&#92;CMSApplication 778 /libraries/src/Application/SiteApplication.php D render Joomla&#92;CMS&#92;Application&#92;SiteApplication 231 /libraries/src/Application/CMSApplication.php D execute Joomla&#92;CMS&#92;Application&#92;CMSApplication 49 /index.php  Is there something to do about this, or what can be the issue? Thanks.")*

Hi,

Thank you for your feedback.
This error happens because of a bug in the MyParcel SDK on PHP 8 when it can't connect to MyParcel's server for one reason or another.
I've made a patch so that instead of a PHP error, it properly handle the issue and returns a nice cURL error with the real issue.
I've made a new version for the both MyParcel plugins. You'll have to update both to get the patch.
For that, download again their install package via the download link in the order and install them on your website again.

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

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