8 years ago
9
Topic

Getting the following error on a list & search page that loops through multiple content types:

Notice: Undefined offset: 37 in /public_html/plugins/cck_storage_location/joomla_category/joomla_category.php on line 171

Notice: Trying to get property of non-object in /public_html/plugins/cck_storage_location/joomla_category/joomla_category.php on line 171

The code that it seems to not like is:

$config['author']	=	(int)$storages[self::$table][$config['pk']]->{self::$author};
Get a Book for SEBLOD
8 years ago
0
Level 1

Bit of a bump.  Anyone able to help me with this?  Thanks!!

37 Posts
PierreP
8 years ago
0
Level 1

Hello,

Can you post more info about your list & search page ?

Which content types ? Which fields type are visible ?

310 Posts
ricco
8 years ago
1
Level 1

Hi,

I'm still afraid to make a SEBLOD search through multiple content types, but it's surely in my wish list. Good luck, keep us posted.

Thank you,

ricco

8 years ago
0
Level 2

Hey Ricco, the search through multiple content types works just fine, I'm just getting this php notice.

8 years ago
0
Level 1

Sorry for the delay on responding, to this.  See attached for the content types Im pulling in and the articles.  All the content types are custom types that I've created within the Article folder.  Let me know if you need any more clues!!

310 Posts
ricco
8 years ago
3
Level 1

Hi,

Try putting the Error reporting in the Global configuration - Server tab to System default.

Regards,

ricco

8 years ago
2
Level 2

Hey Ricco,  yes I do know I can hide the php notices.  Was hoping to get at the root of the notice though.  Thanks!

8 years ago
1
Level 3

Any additional thoughts on this one?

4229 Posts
Kadministrator
8 years ago
0
Level 4

Problem is that obviously there is no record with id 37 in that storage table, while seblod is trying to get its value, jsut ignore this notice if it does not cause any problems.

Get a Book for SEBLOD