Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12424
Latest: serbenfiquista
New This Month: 5
New This Week: 0
New Today: 0
Stats
Total Posts: 40043
Total Topics: 7047
Most Online Today: 49
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 26
Total: 27

Author Topic: problems with my GDRP pro and my SMF forum.  (Read 703 times)

0 Members and 1 Guest are viewing this topic.

Offline smporten

  • Newbie
  • *
  • Posts: 32
    • View Profile
problems with my GDRP pro and my SMF forum.
« on: October 03, 2018, 03:27:56 pm »
Hello
If I export my data, I got this error.
Invalid argument supplied for foreach()
line  1189
I have pasted some of the codes from the file below.
   
// Start the big old loop 'of love. 
1188:
   
$lastItem = 'hr'; 
==>1189:
   
foreach ($context['profile_fields'] as $key => $field) 
1190:
   

Thanks in advance.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15025
    • View Profile
Re: problems with my GDRP pro and my SMF forum.
« Reply #1 on: October 03, 2018, 03:42:57 pm »
You can attach that file

Find
Code: [Select]

foreach ($context['profile_fields'] as $key => $field)
Change to
Code: [Select]
if (!empty($context['profile_fields']))
foreach ($context['profile_fields'] as $key => $field)
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/

 

Related Topics

  Subject / Started by Replies Last post
7 Replies
3343 Views
Last post January 13, 2013, 01:57:20 pm
by SMFHacks
1 Replies
1912 Views
Last post February 14, 2013, 07:51:05 am
by amwebby
2 Replies
4008 Views
Last post April 06, 2013, 08:48:56 pm
by Jeffproxy
13 Replies
2202 Views
Last post October 29, 2014, 05:49:05 am
by m.ehm
30 Replies
4984 Views
Last post November 26, 2014, 10:43:01 am
by amwebby

+- Recent Topics

SMF Store 4.0 Released by SMFHacks
January 26, 2020, 12:11:56 pm

Order of photos by D4611001
January 21, 2020, 12:06:36 pm

Cannot install by SMFHacks
January 18, 2020, 09:40:56 pm

Call to undefined function mysql_query() by SMFHacks
January 18, 2020, 02:06:47 pm

English British Translation file by HAL9000
January 17, 2020, 05:44:28 pm

Characters dispayed as boxes by SMFHacks
January 16, 2020, 07:21:51 am

Multiple adds where one used to be? by SMFHacks
January 07, 2020, 08:20:38 am

Ribbon Theme Logo Position by slizzie1986
January 06, 2020, 08:52:31 pm

System enhancement? by SMFHacks
January 03, 2020, 09:22:45 am

Pretty Url Pro Is it compatible with 7.2? by Rock Lee
January 01, 2020, 08:53:50 pm

Powered by EzPortal