Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12241
Latest: ronaldjduncan
New This Month: 10
New This Week: 0
New Today: 0
Stats
Total Posts: 39383
Total Topics: 6933
Most Online Today: 77
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 36
Total: 36

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

+- Recent Topics

condition de livraison by SMFHacks
December 14, 2018, 12:47:53 pm

Multiple Versions in SMF by Boomslanger
December 13, 2018, 06:13:31 pm

GDPR Helper free doubts by Rock Lee
December 08, 2018, 06:20:57 pm

Downloads Pro 5.0 Released by SMFHacks
December 05, 2018, 03:11:32 pm

SMF Hacks Black Friday Sale! by SMFHacks
November 30, 2018, 09:03:04 am

Rewrite rule for IPN by diegolyanky
November 26, 2018, 10:58:55 am

EDITOR PRO by SMFHacks
November 25, 2018, 03:12:19 pm

SMF Gallery Pro 8.0 / PHP 7.0 onwards by SMFHacks
November 25, 2018, 12:33:10 pm

5.0 beta log errors by tfs
November 24, 2018, 10:37:06 pm

Download button doesn't initiate a download the first time by SMFHacks
November 24, 2018, 09:08:55 pm

Powered by EzPortal