GithubHelp home page GithubHelp logo

redwood-theme's People

Contributors

broleomo avatar iamrentman avatar jbcsu avatar

Watchers

 avatar  avatar  avatar

redwood-theme's Issues

Error on install with Wordpress on Stanford Domains

After loading this theme through wordpress installed on Stanford Domains, the following error occurs:

Fatal error: Uncaught TypeError: Twig\CacheExtension\CacheStrategy\GenerationalCacheStrategy::__construct(): Argument #1 ($cache) must be of type Twig\CacheExtension\CacheProviderInterface, Timber\Cache\WPObjectCacheAdapter given, called in /home/cpesudom/public_html/wp-content/plugins/timber-library/lib/Loader.php on line 283 and defined in /home/cpesudom/public_html/wp-content/plugins/timber-library/vendor/twig/cache-extension/lib/Twig/CacheExtension/CacheStrategy/GenerationalCacheStrategy.php:43 Stack trace: #0 /home/cpesudom/public_html/wp-content/plugins/timber-library/lib/Loader.php(283): Twig\CacheExtension\CacheStrategy\GenerationalCacheStrategy->__construct(Object(Timber\Cache\WPObjectCacheAdapter), Object(Timber\Cache\KeyGenerator), 0) #1 /home/cpesudom/public_html/wp-content/plugins/timber-library/lib/Loader.php(182): Timber\Loader->_get_cache_extension() #2 /home/cpesudom/public_html/wp-content/plugins/timber-library/lib/Loader.php(70): Timber\Loader->get_twig() #3 /home/cpesudom/public_html/wp-content/plugins/timber-library/lib/Timber.php(334): Timber\Loader->render('layout/two-colu...', Array, false, 'default') #4 /home/cpesudom/public_html/wp-content/plugins/timber-library/lib/Timber.php(383): Timber\Timber::compile('layout/two-colu...', Array, false, 'default', true) #5 /home/cpesudom/public_html/wp-content/plugins/timber-library/lib/Timber.php(410): Timber\Timber::fetch('layout/two-colu...', Array, false, 'default') #6 /home/cpesudom/public_html/wp-content/themes/redwood-theme-master/index.php(26): Timber\Timber::render('layout/two-colu...', Array) #7 /home/cpesudom/public_html/wp-includes/template-loader.php(106): include('/home/cpesudom/...') #8 /home/cpesudom/public_html/wp-blog-header.php(19): require_once('/home/cpesudom/...') #9 /home/cpesudom/public_html/index.php(17): require('/home/cpesudom/...') #10 {main} thrown in /home/cpesudom/public_html/wp-content/plugins/timber-library/vendor/twig/cache-extension/lib/Twig/CacheExtension/CacheStrategy/GenerationalCacheStrategy.php on line 43

This appears to relate to an issue with composer and timber (#2491). The fix outlined in that ticket only applies to the default functions.php file, which seems to be a bit different in this theme.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.