-
Hi Ahmed,
I’m getting some type of error to do with the messaging add on. Have you ever seen something like this before?
[Mon Jun 02 16:39:10 2014] [error] [client 121.222.211.54] PHP Warning: Invalid argument supplied for foreach() in /var/zpanel/hostdata/gclips/public_html/gamerclips_tv/gclips/wp-content/plugins/userpro-messaging/functions/api.php on line 379, referer: http://gamerclips.tv/
[Mon Jun 02 16:39:10 2014] [error] [client 121.222.211.54] PHP Warning: Invalid argument supplied for foreach() in /var/zpanel/hostdata/gclips/public_html/gamerclips_tv/gclips/wp-content/plugins/userpro-messaging/functions/api.php on line 416, referer: http://gamerclips.tv/
[Mon Jun 02 16:39:10 2014] [error] [client 76.177.247.21] PHP Warning: Invalid argument supplied for foreach() in /var/zpanel/hostdata/gclips/public_html/gamerclips_tv/gclips/wp-content/plugins/userpro-messaging/functions/api.php on line 379, referer: http://gamerclips.tv/
[Mon Jun 02 16:39:10 2014] [error] [client 76.177.247.21] PHP Warning: Invalid argument supplied for foreach() in /var/zpanel/hostdata/gclips/public_html/gamerclips_tv/gclips/wp-content/plugins/userpro-messaging/functions/api.php on line 416, referer: http://gamerclips.tv/Line 379 does not have a foreach loop. Please make sure you are using the latest update and not an old version of the addon. 🙂
Hi I Ahmed, I had the latest version but installed it anyway. This is my error log:
[Tue Jun 03 03:43:03 2014] [error] [client 76.177.247.21] PHP Warning: Invalid argument supplied for foreach() in /var/zpanel/hostdata/gclips/public_html/gamerclips_tv/gclips/wp-content/plugins/userpro-messaging/functions/api.php on line 379
[Tue Jun 03 03:43:03 2014] [error] [client 76.177.247.21] PHP Warning: Invalid argument supplied for foreach() in /var/zpanel/hostdata/gclips/public_html/gamerclips_tv/gclips/wp-content/plugins/userpro-messaging/functions/api.php on line 416There’s no foreach loop on line 379 can you try to confirm that?
There’s no foreach loop on line 379 can you try to confirm that?
This is the code starting on line 379:
PHP1234foreach (glob( $unread . '*.txt') as $user) {$content = @file_get_contents($user);$content = explode('[/]', $content);$num += count($content) - 1;But on latest addon code, there’s not foreach loop on line 379
We’ll I’m not sure why this is the case. I downloaded the latest add on and this is for what ever reason there. Version 1.0 is the latest one yeah?
You must be logged in to reply to this topic.