Hi, I am getting the following warnings in my server logs:
[Wed Feb 10 15:30:56 2010] [warn] mod_fcgid: stderr: PHP Notice: Undefined offset: 0 in /<path>/components/com_booklibrary/booklibrary.php on line 1439
[Wed Feb 10 15:30:56 2010] [warn] mod_fcgid: stderr: PHP Notice: Trying to get property of non-object in /<path>/components/com_booklibrary/booklibrary.php on line 1476
[Wed Feb 10 15:30:56 2010] [warn] mod_fcgid: stderr: PHP Notice: Trying to get property of non-object in /<path>/components/com_booklibrary/booklibrary.php on line 1318
[Wed Feb 10 15:30:56 2010] [warn] mod_fcgid: stderr: PHP Notice: Trying to get property of non-object in /<path>/components/com_booklibrary/booklibrary.php on line 1481
[Wed Feb 10 15:30:56 2010] [warn] mod_fcgid: stderr: PHP Notice: Trying to get property of non-object in /<path>/components/com_booklibrary/booklibrary.php on line 1523
[Wed Feb 10 15:30:57 2010] [warn] mod_fcgid: stderr: PHP Notice: Trying to get property of non-object in /<path>/components/com_booklibrary/booklibrary.php on line 1528
[Wed Feb 10 15:30:57 2010] [warn] mod_fcgid: stderr: PHP Notice: Trying to get property of non-object in /<path>/components/com_booklibrary/booklibrary.php on line 1539
[Wed Feb 10 15:30:58 2010] [warn] mod_fcgid: stderr: PHP Notice: Undefined offset: 0 in /<path>/components/com_booklibrary/booklibrary.php on line 1581
[Wed Feb 10 15:30:58 2010] [warn] mod_fcgid: stderr: PHP Notice: Trying to get property of non-object in /<path>/components/com_booklibrary/booklibrary.php on line 1585
Copy of these lines:
1439:
Code: |
$category = $category[0];
|
1476:
Code: |
$params->def( 'category_name', $category->title );
|
1318:
Code: |
$pid = $cat->parent_id;
|
1481:
Code: |
$mainframe->appendPathWay($category->name);
|
1523:
Code: |
$currentcat->descrip = $category->description;
|
1528:
Code: |
if ( $category->image != null && count($category->image) > 0) {
|
1539:
Code: |
$currentcat->header = $currentcat->header . ": " . $category->title;
|
1581:
Code: |
$category = $category[0];
|
1585:
Code: |
$mainframe->appendPathWay($category->title ,sefRelToAbs('index.php?option=' . $option . '&task=showCategory&catid=' . $catid . '&Itemid=' . $Itemid));
|
I am running Booklibrary Pro 1.5.3 and Joomla 1.5.15.
Any idea on fixing these issues?
thanks,