Skip to main content

Order >Invoice - Missing argument in preload()

More
15 years 6 months ago #9666 by ranwaldo
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'>'HikaShop'>'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 or Create an account to join the conversation.

More
15 years 6 months ago #9668 by nicolas
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 or Create an account to join the conversation.

More
15 years 6 months ago #9860 by didero
I had that error also. Modified it an no error anymore.
Will the file be overwritten later during an update?

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

More
15 years 6 months ago #9862 by nicolas
That modification will be included in next release of course so you won't loose it.

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

Time to create page: 0.184 seconds
Powered by Kunena Forum