OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
undefined offset + non-object property warnings (0 viewing) 
BookLibary Component Support
Go to bottom Favoured: 0
TOPIC: undefined offset + non-object property warnings
#584
wirthcons (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
undefined offset + non-object property warnings 11 Years ago Karma: 0  
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,
 
Logged Logged  
  The administrator has disabled public write access.
#589
admin (Admin)
Admin
Posts: 7244
graph
User Offline Click here to see the profile of this user
Re:undefined offset + non-object property warnings 11 Years ago Karma: 85  
Sorry,

I can't local reproduce any from these warning. All look like you not have BookLibrary category(ies) at all - but program think - these category(ies) exist.

Can you gibe admin access to your site or to yours demo site - we that we will can check where error. You can do that through "Contact form"

Thanks,
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
Go to top