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

#   Order &gt;Invoice - Missing argument in preload()

##

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

Less More

- Posts: 8
- Thank you received: 1
-
-

15 years 8 months ago [\#9666](#9666) by [ranwaldo](/forum/user/1351-ranwaldo "View ranwaldo's Profile")  *[Order &gt;Invoice - Missing argument in preload()](/forum/3-bug-report/9666-order-invoice-missing-argument-in-preload#9666 "I have installed 'com&#95;hikashop&#95;starter&#95;1.4.7' on a Joomla 1.6 test system.  A test user created an order and went into PayPal, but did not actually complete the order in PayPal. The order is no longer in the Shopping Cart. In the backend, the order appears under 'Components'&gt;'HikaShop'&gt;'Orders'. Selecting the order number, then 'Invoice' results in an invoice popup which contains the following error message:  Is this a bug, or have I failed to do something in the installation?  Thanks in advance, ~Randy")* was created by *[ranwaldo](/forum/user/1351-ranwaldo "View ranwaldo's Profile")*

I have installed '*com\_hikashop\_starter\_1.4.7*' on a Joomla 1.6 test system.

A test user created an order and went into PayPal, but did not actually complete the order in PayPal. The order is no longer in the Shopping Cart. In the backend, the order appears under '*Components*'&gt;'*HikaShop*'&gt;'*Orders*'. Selecting the order number, then '*Invoice*' results in an invoice popup which contains the following error message:

> Warning: Missing argument 1 for hikashopPluginsType::preload(), called in /home/sam002/public\_html/administrator/components/com\_hikashop/types/plugins.php on line 86 and defined in /home/sam002/public\_html/administrator/components/com\_hikashop/types/plugins.php on line 15

Is this a bug, or have I failed to do something in the installation?

Thanks in advance, ~Randy

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

15 years 8 months ago [\#9668](#9668) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Order &gt;Invoice - Missing argument in preload()](/forum/3-bug-report/9666-order-invoice-missing-argument-in-preload#9668 "I have installed 'com&#95;hikashop&#95;starter&#95;1.4.7' on a Joomla 1.6 test system.  A test user created an order and went into PayPal, but did not actually complete the order in PayPal. The order is no longer in the Shopping Cart. In the backend, the order appears under 'Components'&gt;'HikaShop'&gt;'Orders'. Selecting the order number, then 'Invoice' results in an invoice popup which contains the following error message:  Is this a bug, or have I failed to do something in the installation?  Thanks in advance, ~Randy")*

This message is just a warning because there is indeed a mistake in the code.
You can edit the file adminsitrator/components/com_hikashop/types/plugins.php and change the line:
function preload($backend){
to:
function preload($backend=true){

in order to remove the warning.

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

- **[didero](/forum/user/1276-didero "View didero's Profile")**
- [![didero's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1276.jpg)](/forum/user/1276-didero "View didero's Profile")
- [ Offline](/forum/user/1276-didero)

Less More

- Posts: 66
- Thank you received: 3
-
-
-
- [](http://www.1968dewinkel.nl)
-

15 years 7 months ago [\#9860](#9860) by [didero](/forum/user/1276-didero "View didero's Profile")  Replied by *[didero](/forum/user/1276-didero "View didero's Profile")* on topic *[Re: Order &gt;Invoice - Missing argument in preload()](/forum/3-bug-report/9666-order-invoice-missing-argument-in-preload#9860 "I have installed 'com&#95;hikashop&#95;starter&#95;1.4.7' on a Joomla 1.6 test system.  A test user created an order and went into PayPal, but did not actually complete the order in PayPal. The order is no longer in the Shopping Cart. In the backend, the order appears under 'Components'&gt;'HikaShop'&gt;'Orders'. Selecting the order number, then 'Invoice' results in an invoice popup which contains the following error message:  Is this a bug, or have I failed to do something in the installation?  Thanks in advance, ~Randy")*

I had that error also. Modified it an no error anymore.
Will the file be overwritten later during an update?

---

[ ](http://www.didero.nl)[ www.didero.nl](http://www.didero.nl)

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

15 years 7 months ago [\#9862](#9862) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Order &gt;Invoice - Missing argument in preload()](/forum/3-bug-report/9666-order-invoice-missing-argument-in-preload#9862 "I have installed 'com&#95;hikashop&#95;starter&#95;1.4.7' on a Joomla 1.6 test system.  A test user created an order and went into PayPal, but did not actually complete the order in PayPal. The order is no longer in the Shopping Cart. In the backend, the order appears under 'Components'&gt;'HikaShop'&gt;'Orders'. Selecting the order number, then 'Invoice' results in an invoice popup which contains the following error message:  Is this a bug, or have I failed to do something in the installation?  Thanks in advance, ~Randy")*

That modification will be included in next release of course so you won't loose it.

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

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

[](#top)
