Crash using USPS shipping module with PayPal

  • Posts: 6
  • Thank you received: 0
11 years 2 months ago #147518

-- 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.

  • Posts: 6
  • Thank you received: 0
11 years 2 months ago #147521

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.

  • Posts: 26251
  • Thank you received: 4040
  • MODERATOR
11 years 2 months ago #147520

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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 6
  • Thank you received: 0
11 years 2 months ago #147567

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.

  • Posts: 26251
  • Thank you received: 4040
  • MODERATOR
11 years 2 months ago #147571

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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.060 seconds
Powered by Kunena Forum