Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12206
Latest: Nos7
New This Month: 14
New This Week: 6
New Today: 4
Stats
Total Posts: 39192
Total Topics: 6902
Most Online Today: 126
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 35
Total: 35

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

+- Recent Topics

Turn off Download Stats? by SMFHacks
Today at 01:49:59 pm

multiple currencies bug by SMFHacks
October 14, 2018, 07:15:36 pm

message editor pro by SMFHacks
October 14, 2018, 06:45:02 pm

KARMA Badge by SMFHacks
October 14, 2018, 11:19:42 am

Upgraded to pro - some features not working? by SMFHacks
October 14, 2018, 09:25:36 am

SMF lottery mod by SMFHacks
October 13, 2018, 08:02:41 am

Error after adding Russian translation by SMFHacks
October 08, 2018, 04:10:41 pm

Adseller Pro 3.0 Released! by SMFHacks
October 06, 2018, 05:45:42 pm

problems with my GDRP pro and my SMF forum. by SMFHacks
October 03, 2018, 03:42:57 pm

Ad doesn't align in forum posts by jamesdeignan
October 03, 2018, 08:12:50 am

Powered by EzPortal