$result is a mysqli_result object, I patch the code doing this:
if($result !== false)
$num_rows = mysqli_num_rows($result);
else
$num_rows = 0;
This is on /inc/PMF_DB/Mysqli.php line 176. So
public function num_rows($result)
{
if($result !== false)
$num_rows = mysqli_num_rows ($result ...
Search found 1 match
- Thu Aug 19, 2010 3:36 pm
- Forum: General discussions
- Topic: phpMyFAQ notice [8]: Trying to get property of non-object in
- Replies: 34
- Views: 34168