- Posts: 8
- Thank you received: 1
Order >Invoice - Missing argument in preload()
15 years 6 months ago #9666
by ranwaldo
Order >Invoice - Missing argument in preload() was created 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:
Thanks in advance, ~Randy
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:
Is this a bug, or have I failed to do something in the installation?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
Thanks in advance, ~Randy
Please Log in or Create an account to join the conversation.
15 years 6 months ago #9668
by nicolas
Replied by nicolas on topic Re: Order >Invoice - Missing argument in preload()
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.
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.
15 years 6 months ago #9860
by didero
Replied by didero on topic Re: Order >Invoice - Missing argument in preload()
I had that error also. Modified it an no error anymore.
Will the file be overwritten later during an update?
Will the file be overwritten later during an update?
Please Log in or Create an account to join the conversation.
15 years 6 months ago #9862
by nicolas
Replied by nicolas on topic Re: Order >Invoice - Missing argument in preload()
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