Call to a member function xpath() on a non-object in security_scanner.test

kenorb - July 10, 2009 - 14:05
Project:Security scanner component for SimpleTest module
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Running SimpleTests
An error has occurred.
Please continue to the error page
An error occurred. /batch?id=49&op=do <br /> <b>Fatal error</b>: Call to a member function xpath() on a non-object in <b>security_scanner\tests\security_scanner.test</b> on line <b>32</b><br />

Line:

<?php
    $links
= $obj->elements->xpath('//a');
?>

#1

kenorb - July 10, 2009 - 14:06
Version:6.x-1.0-beta1» 6.x-1.0
 
 

Drupal is a registered trademark of Dries Buytaert.