View Single Post
04-25-2012, 04:56 PM   #1
legal
Junior Member
 
Join Date: Jun 2011
Posts: 6
Rep Power: 0
legal is getting browny points
Critical - version-check is not responding

Dear author, your idea to make a checking of versions is not good
In the result the WP Control panel on the sites with installed vbbridge returns an error:
Quote:
FastCGI sent in stderr: "PHP Fatal error: Cannot use object of type WP_Error as array in /vhost/w
p-content/plugins/vbbridge/vbbridge.php on line 130" while reading response header from upstream, client:
Only commenting/deleting this part of code (near line 130) can solve the problem.

Code:
/*                                                                                                                                                                   
if ($vb->wp_vb_transportclass)
{
$transport = new $vb->wp_vb_transportclass;                                                                                                                            
$res = $transport->request( 'http://www.lampwrights.com/version.php', $r);
if ($res['body'])
{
$temp = unserialize($res['body']);
if (!empty($temp))
{
$response['body'] = unserialize($response['body']);
$response['body']['vbbridge/vbbridge.php'] = $temp;
$response['body'] = serialize($response['body']); 
}
}
}                                                                                                                                                                             
*/
I think, the issue is here:
http://www.lampwrights.com/version.php
Quote:
error

Last edited by legal; 04-25-2012 at 05:04 PM.
legal is offline   Reply With Quote