Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43261
Total Topics: 7519
Most Online Today: 297
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 296
Total: 296

Author Topic: Undefined index: store_storepaypal  (Read 2578 times)

0 Members and 1 Guest are viewing this topic.

Offline w5hro

  • Member
  • *
  • Posts: 39
    • View Profile
Undefined index: store_storepaypal
« on: October 10, 2014, 12:22:54 pm »
Hello, I've been getting the error below in the error log. I looked in the Modifications.english.php file and I don't see any store_storepaypal line. Is it not contained in that file or is it a legacy line from an earlier version? Either way how do I fix it. Thanks...

8: Undefined index: store_storepaypal
File: /home/mydomain/public_html/Themes/default/Profile.template.php
Line: 1278

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Undefined index: store_storepaypal
« Reply #1 on: October 10, 2014, 12:33:45 pm »
It's a newer option on the profile page used to store the paypal address for user store listings
Open profile.template.php
Change
Code: [Select]
<input type="text" name="default_options[store_storepaypal]" size="50" value="', $context['member']['options']['store_storepaypal'], '" />
To
Code: [Select]
<input type="text" name="default_options[store_storepaypal]" size="50" value="', (isset($context['member']['options']['store_storepaypal']) ? $context['member']['options']['store_storepaypal'] : ''), '" />

Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline w5hro

  • Member
  • *
  • Posts: 39
    • View Profile
Re: Undefined index: store_storepaypal
« Reply #2 on: October 10, 2014, 12:56:32 pm »
Thanks, that seemed to work

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
6270 Views
Last post October 10, 2006, 08:03:25 pm
by SMFHacks
2 Replies
5564 Views
Last post January 16, 2007, 08:34:00 pm
by DawnsWebDesigns
3 Replies
4383 Views
Last post February 21, 2008, 11:33:24 am
by clive
0 Replies
3930 Views
Last post March 27, 2009, 02:52:42 pm
by dry3210
8 Replies
13273 Views
Last post December 04, 2012, 08:45:52 pm
by SMFHacks

+- Recent Topics

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
Today at 08:27:36 am

No thumbnails on new uploads by Tonyvic
Today at 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Powered by EzPortal