Our child theme's functions.php contains:

require_once __DIR__ . '/vendor/autoload.php';

However, the files that autoload.php loads are not being loaded, and a fatal error occurs. '/vendor/autoload.php' exists.

Nothing gets echoed or logged if we add an echo or an error_log() above this line.

Why would the child theme's functions.php not be loading?

The child theme is active.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.