Unable to add components to content library

Hi Sarina, thanks, I didn’t realized about that point. There it is:

281/536. Now indexing course Fundamentos de programación (course-v1:UAMx+FundProg+22-23)
2026-04-27 08:47:05,798 WARNING 3926 [xmodule.modulestore.split_mongo.mongo_connection] [user None] [ip None] mongo_connection.py:352 - doc was None when attempting to retrieve structure for item with key 64b113e03311ff492f38b365
Traceback (most recent call last):
  File "/openedx/edx-platform/./manage.py", line 99, in <module>
    execute_from_command_line([sys.argv[0]] + django_args)
  File "/openedx/venv/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/openedx/venv/lib/python3.11/site-packages/django/core/management/__init__.py", line 436, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/openedx/venv/lib/python3.11/site-packages/django/core/management/base.py", line 412, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/openedx/venv/lib/python3.11/site-packages/django/core/management/base.py", line 458, in execute
    output = self.handle(*args, **options)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/openedx/edx-platform/openedx/core/djangoapps/content/search/management/commands/reindex_studio.py", line 47, in handle
    api.rebuild_index(self.stdout.write)
  File "/openedx/edx-platform/openedx/core/djangoapps/content/search/api.py", line 584, in rebuild_index
    course_docs = index_course(course)
                  ^^^^^^^^^^^^^^^^^^^^
  File "/openedx/edx-platform/openedx/core/djangoapps/content/search/api.py", line 568, in index_course
    _recurse_children(course, add_with_children)
  File "/openedx/edx-platform/openedx/core/djangoapps/content/search/api.py", line 277, in _recurse_children
    if block.has_children:
       ^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'has_children'
Error: Command failed with status 1: docker compose -f /home/tutor/manifests/env/local/docker-compose.yml -f /home/tutor/manifests/env/local/docker-compose.prod.yml --project-name tutor_local exec cms ./manage.py cms reindex_studio --experimental