Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12333
Latest: crlynmpys01
New This Month: 20
New This Week: 10
New Today: 1
Stats
Total Posts: 39721
Total Topics: 6996
Most Online Today: 129
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 39
Total: 39

Author Topic: problems with my GDRP pro and my SMF forum.  (Read 396 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: 14878
    • 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
3094 Views
Last post January 13, 2013, 01:57:20 pm
by SMFHacks
1 Replies
1789 Views
Last post February 14, 2013, 07:51:05 am
by amwebby
2 Replies
3829 Views
Last post April 06, 2013, 08:48:56 pm
by Jeffproxy
13 Replies
1939 Views
Last post October 29, 2014, 05:49:05 am
by m.ehm
30 Replies
4637 Views
Last post November 26, 2014, 10:43:01 am
by amwebby

+- Recent Topics

About Terms of Use feature by ajac63
May 23, 2019, 06:09:06 pm

About Layout Options by ajac63
May 23, 2019, 04:14:49 am

Error message in Gallery Pro by SMFHacks
May 21, 2019, 03:56:20 pm

Category images not showing by ajac63
May 21, 2019, 03:00:33 pm

Which Options To Disable If I Don't Want Auction Listings by ajac63
May 19, 2019, 11:03:42 pm

Lost images by pete
May 17, 2019, 04:41:51 am

Q's on Integrating SMF Classifieds with current theme by ajac63
May 08, 2019, 01:46:06 pm

Just a hello by SMFHacks
May 06, 2019, 10:30:20 pm

Contact Page Problem by Acans
May 06, 2019, 01:54:08 am

Trying to install 8.0.5a after upgrade to RC2 by SMFHacks
April 30, 2019, 06:04:34 am

Powered by EzPortal