Skip to main content

Crash using USPS shipping module with PayPal

12 years 8 months ago #147518 by thanatos0801
-- url of the page with the problem -- : g33knco.com/newsite/
-- HikaShop version -- : HikaShop Starter 2.3.0
-- Joomla version -- : 3.2
-- PHP version -- : 5.4
-- Browser(s) name and version -- : Safari
-- Error-message(debug-mod must be tuned on) -- :

Notice: Trying to get property of non-object in /newsite/plugins/hikashoppayment/paypalexpress/paypalexpress.php on line 328

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

12 years 8 months ago #147521 by thanatos0801
I disabled the paypal express module and that error went away.. I guess it was trying to use the module, even though I never configured the plugin for it.

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

12 years 8 months ago #147520 by Jerome
Hi,

I don't see any specific problem in line 328 of the plugin "paypal express".
Can you please :
- Redownload HikaShop starter 2.3.0
- Re-test it
- Indicate the line content of the error indicated in the notice (line 328 or maybe a new line number after install the latest 2.3.0 package).

Thanks

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

12 years 8 months ago #147567 by thanatos0801
There's a NULL pointer issue. If you enable PayPal express, but then don't actually add a plugin instance, then the plugin params are null and the second half of the if statement on 328 and 330 causes the error.

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

12 years 8 months ago #147571 by Jerome
Hi,

Okay but you didn't answer my question...
Please give me the content of this line. Otherwise I won't be able to help you and fix the error.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

Time to create page: 0.057 seconds
Powered by Kunena Forum