Hi, I recently installed a WP plug in called widlink but it showed on my log 2 error message as follows:
Problems with WP plugin error message
5
Hi,
I recently installed a WP plug in called widlink but it showed on my log 2 error message as follows:
The 2 "foreach" line are as in red as follows:
$q = @file($remoteURL);$a=array();$b=array();
$l = @file($myLinksUrl);
//removing $ignore from $q
$new_q=array();
{
$_p=explode("|", $_u);
$_name = trim($_p[0]);
if( ($_name) && ($_name != $ignore) )
$new_q[]=$_u;
}
$q=$new_q; unset($new_q);
$n=count($q);
//removing $ignore from $l
$new_l=array();
{
$_p=explode("|", $_u);
$_name = trim($_p[0]);
if( ($_name) && ($_name != $ignore) )
$new_l[]=$_u;
}
$l=$new_l; unset($new_l);
$mylinks_count=count($l);
srand(time());
$addmylink = (empty($l)) ? "" : $l[array_rand($l)];
if(empty($l)) {
if(empty($q)) {
echo "";
echo $after_widget;
return;
}
}
I am not a programmer, please advise .
Cheers
Jason Ser
I recently installed a WP plug in called widlink but it showed on my log 2 error message as follows:
The 2 "foreach" line are as in red as follows:
$q = @file($remoteURL);$a=array();$b=array();
$l = @file($myLinksUrl);
//removing $ignore from $q
$new_q=array();
{
$_p=explode("|", $_u);
$_name = trim($_p[0]);
if( ($_name) && ($_name != $ignore) )
$new_q[]=$_u;
}
$q=$new_q; unset($new_q);
$n=count($q);
//removing $ignore from $l
$new_l=array();
{
$_p=explode("|", $_u);
$_name = trim($_p[0]);
if( ($_name) && ($_name != $ignore) )
$new_l[]=$_u;
}
$l=$new_l; unset($new_l);
$mylinks_count=count($l);
srand(time());
$addmylink = (empty($l)) ? "" : $l[array_rand($l)];
if(empty($l)) {
if(empty($q)) {
echo "";
echo $after_widget;
return;
}
}
I am not a programmer, please advise .
Cheers
Jason Ser
- mywebwork
- chaos69
- mrjasonser
- n7 Studios
- mendin1 Banned
Next Topics on Trending Feed
-
5