Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12284
Latest: arthurheller99
New This Month: 11
New This Week: 5
New Today: 0
Stats
Total Posts: 39488
Total Topics: 6961
Most Online Today: 134
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 73
Total: 74

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

+- Recent Topics

SMF 2.1 RCI & SMF Gallery Pro 8.04 500 Errors by SMFHacks
Today at 11:43:22 am

Bulk upload image problem by SMFHacks
February 14, 2019, 11:09:20 pm

Can the old store mod work on SMF 2.1? by SMFHacks
February 13, 2019, 08:58:13 pm

Is it possible for an admin user to upload photos to a nonadmin user's gallery? by 10341mouse
February 13, 2019, 11:15:56 am

SMF Gallery Pro and AD Seller Pro now for SMF 2.1.x by SMFHacks
February 11, 2019, 07:23:56 pm

[Mod]Push Notifications by shuban
February 06, 2019, 09:18:16 pm

Tinyportal and Mkportal.Which is better? by Oldiesmann
February 06, 2019, 07:23:16 pm

SMF 2.1 RC 1 Released by SMFHacks
February 04, 2019, 06:52:36 pm

Customer can't find what to do... by SMFHacks
February 04, 2019, 04:47:38 pm

"Undefined Index" errors by SMFHacks
January 30, 2019, 05:50:42 pm

Powered by EzPortal