elgg 1.8 class missing - bug or coding error?


I'm using elgg 1.8.6 and I have a problem with my Entities.

I add the following code into the init function of my plugin:

elgg_register_entity_type('user', 'myuser');

add_subtype('user', 'myuser', 'MyUser');


The class MyUser is defined into the class folder of my plugin

The system seem to work fine, but I had 2 problems:

1) Into the log file I see a lot of Class 'MyUser' was not found, missing plugin?

2) when I call the get_entity method, it returns to me an ElggUser entity, not a MyUser one.

Is this a coding error or a new bug?

Thanks in advance.


Feedback and Planning

Feedback and Planning

Discussions about the past, present, and future of Elgg and this community site.