Unable to delete a component

Description

Environment
Experience Manager 6.5

Issue/Symptoms
Unable to delete a component in author Adobe Experience Manager (AEM) v6.5.10 with the following exception error message:

24.06.2022 10:01:23.853 *WARN* 223.187.29.150 1656064883851 GET /content/intelligentcontent/brands/mch/en/home/jcr:content/root/container/container_412820554.infinity.json HTTP/1.1 io.wcm.caconfig.extensions.persistence.impl.ToolsConfigPagePersistenceStrategy Ignoring reference to /conf/intelligentcontent/Brands/MCH/settings from /conf/intelligentcontent/Brands/MCH/settings - Probably misconfigured as it ends with '/settings'
24.06.2022 10:01:23.862 *WARN* 223.187.29.150 1656064883851 GET /content/intelligentcontent/brands/mch/en/home/jcr:content/root/container/container_412820554.infinity.json HTTP/1.1 io.wcm.caconfig.extensions.persistence.impl.ToolsConfigPagePersistenceStrategy Ignoring reference to /conf/intelligentcontent/Brands/MCH/settings from /conf/intelligentcontent/Brands/MCH/settings - Probably misconfigured as it ends with '/settings'
24.06.2022 10:01:23.866 *WARN* 223.187.29.150 1656064883851 GET /content/intelligentcontent/brands/mch/en/home/jcr:content/root/container/container_412820554.infinity.json HTTP/1.1 io.wcm.caconfig.extensions.persistence.impl.ToolsConfigPagePersistenceStrategy Ignoring reference to /conf/intelligentcontent/Brands/MCH/settings from /conf/intelligentcontent/Brands/MCH/settings - Probably misconfigured as it ends with '/settings'

Resolution

The root cause is in your custom code:
/content/intelligentcontent/brands/mch/en/home/jcr:content/root/container/container_412820554.infinity.json

Looks like the problem is around line 6 and position 25.

On this page