Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11781
Latest: tumovilexperts
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 40990
Total Topics: 7177
Most Online Today: 47
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 41
Total: 41

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

+- Recent Topics

Translation of the submenu. by Panoulis64
July 14, 2021, 09:31:41 am

Database error by SMFHacks
July 11, 2021, 09:17:02 pm

SMF 2.1 RC4 Released by SMFHacks
July 10, 2021, 11:05:08 am

Videos and server resources? by SMFHacks
July 09, 2021, 09:29:40 am

Where are original uploaded files stored? by robgratt
June 20, 2021, 12:41:48 pm

Errors for nonexistent members by Krash
June 14, 2021, 09:51:47 pm

Error message: cannot access upload path by SMFHacks
June 08, 2021, 10:06:22 am

How to change order of the Classifieds board by SMFHacks
May 31, 2021, 09:57:36 am

Standard version of Downloads mod value missing by SMFHacks
May 25, 2021, 11:32:48 pm

Privacy Link by SMFHacks
May 14, 2021, 11:11:51 am

Powered by EzPortal