field paypal email - error notice

  • Posts: 540
  • Thank you received: 49
10 years 3 months ago #167028

-- HikaShop version -- : 2.3.2
-- HikaMarket version -- : 1.4.2
-- Joomla version -- : 2.5.24
-- PHP version -- : 5.3.6
-- Browser(s) name and version -- : mozilla 31.0
-- Error-message(debug-mod must be tuned on) -- : Notice: Trying to get property of non-object in /http/components/com_hikamarket/views/vendormarket/tmpl/registration.php on line 171

Hi, after update to version 1.4.2 in vendor profile (registered user) - field Paypal email - now have Notice: Trying to get property of non-object in /http/components/com_hikamarket/views/vendormarket/tmpl/registration.php on line 171
i dont use any paypal plugins on my site in main configuration option to use paypal email disabled


сайт з перекладами www.benefit.in.ua
PS. спасибо переводить Webmoney : Z207635098627 R152456839841 или ЯД 410011027999056

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 3 months ago #167038

Hi,

Please edit the file "/http/components/com_hikamarket/views/vendormarket/tmpl/registration.php" and replace

<input type="text" id="<?php echo $this->form_type; ?>_paypal_email" name="data[<?php echo $this->form_type; ?>][vendor_params][paypal_email]" value="<?php echo $this->escape($this->element->vendor_params->paypal_email); ?>" class="inputbox <?php echo $r?'required':'';?> validate-email" maxlength="50"/><?php echo $r?' *':'';?>
By
<input type="text" id="<?php echo $this->form_type; ?>_paypal_email" name="data[<?php echo $this->form_type; ?>][vendor_params][paypal_email]" value="<?php echo $this->escape(@$this->element->vendor_params->paypal_email); ?>" class="inputbox <?php echo $r?'required':'';?> validate-email" maxlength="50"/><?php echo $r?' *':'';?>
It will fix the warning problem.

In order to not display the paypal line during the registration, you can change the option "ask for paypal" in the HikaMarket configuration (tab "Market", section "registration").
You can also remove the right "vendor / edit / paypal" so the vendor won't see the paypal email address afterwards.

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.
Last edit: 10 years 3 months ago by Jerome. Reason: missing file

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

  • Posts: 540
  • Thank you received: 49
10 years 3 months ago #167590

which file?


сайт з перекладами www.benefit.in.ua
PS. спасибо переводить Webmoney : Z207635098627 R152456839841 или ЯД 410011027999056

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 3 months ago #167592

Hi,

I fixed my previous post.
It was the file where you got the notice...

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.
The following user(s) said Thank You: master_b

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

  • Posts: 540
  • Thank you received: 49
10 years 3 months ago #167597

tnx!)


сайт з перекладами www.benefit.in.ua
PS. спасибо переводить Webmoney : Z207635098627 R152456839841 или ЯД 410011027999056

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

Moderators: Obsidev
Time to create page: 0.076 seconds
Powered by Kunena Forum