New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timber killing site load when installed as a dependency of the whole site instead of the composer.json of a theme #991
Comments
There has been another report of this, where do you require the autoloader.php? And what is your setup that you can't require it in the theme? Thanks! |
Hi, can you please try the fix in #997 (you should be able to do |
@stewarty I merged @connorjburton's changes into master — can you give the newest version a test to confirm that it solves your issue? |
You can require a specific commit: |
@connorjburton No luck I'm afraid.
Autoload.php is required in wp-config.php before wp-settings.php
|
@stewarty — where are you calling autoloader.php? I want to try to re-create your setup locally to see if I can get the same error |
@jarednova I can send you the project as it is if you'd like? |
@stewarty that'd be awesome! jared@upstatement.com |
Moving this to #979 as they are the same issue. |
Expected behavior
Timber not to kill a site loading
Actual behavior
Following error on page view
Steps to reproduce behavior
Install timber at the composer.json in the root of a WordPress project, not in the composer.json of a theme
What version of WordPress, PHP and Timber are you using?
WordPress 4.5.2, PHP 7, Timber 1.01 -->
How did you install Timber? (for example, from GitHub, Composer/Packagist, WP.org?)
composer require timber/timber
The text was updated successfully, but these errors were encountered: