Skip to main content

field paypal email - error notice

12 years 3 months ago #167028 by master_b
-- 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.

12 years 3 months ago - 12 years 3 months ago #167038 by Jerome
Hi,

Please edit the file "/http/components/com_hikamarket/views/vendormarket/tmpl/registration.php" and replace
Code:
<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
Code:
<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.
Last edit: 12 years 3 months ago by Jerome. Reason: missing file

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

12 years 3 months ago #167590 by master_b
which file?

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

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

12 years 3 months ago #167592 by Jerome
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.
The following user(s) said Thank You: master_b

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

12 years 3 months ago #167597 by master_b
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.062 seconds
Powered by Kunena Forum