Hello everyone! I am new to Moodle and I need to add core_blog as a search area.
I am following this: https://docs.moodle.org/dev/Search_API
This is what my blog/classes/search/blog.php looks like right now:
When I try to reindex the search, I get the following error:
Processing area: Blogs
!!! Error reading from database !!!
Can anyone tell me what I might be doing wrong? Or can anyone point me to any guide that shows how to add blogs as search area?