Error when activating child theme: `failed to open stream: No such file or directory`

This depends a lot on the child theme. However, here is the general gist of things.

Not all themes are meant to be used as parent themes. Many aren’t tested properly and are using the wrong constants and API functions.

For example, get_stylesheet_directory() will return the current theme’s stylesheet directory in a standalone theme. In a parent/child relationship, it get’s the child theme’s stylesheet directory. So if the parent is processing a PHP include using this API function, it will break since the function returns a directory that doesn’t contain the original file.