I’m seeing some strangenesses on our dev server in relation to installing Luther, Pressbook-book and the new McLuhan theme. When I first installed installed Pressbooks book 2.0 and Luther, in my list of themes, I was seeing Luther listed twice – one as version 1.8.0 and the other as version 1.12:
When I tried to apply either of these themes to an existing book, I got SASS error messages:
None of the other network installed and activated themes are producing these error messages for me. Based on @dac’s reply in another thread here, I came to believe that these errors may have been due to the installation method (the zip package I used had some problems), so I removed both themes, deleted my composer.lock file and then reinstalled both using composer.
Unfortunately, I’m now getting 500 errors for all books on the site. Here are the two error messages I’m seeing in the apache error.log:
PHP Fatal error: Uncaught Error: Call to undefined function Sober\\Intervention\\intervention() in /var/www/wisc-dev/wordpress/wp-content/themes/pressbooks-book/inc/intervention.php:10\nStack trace:\n#0 /var/www/wisc-dev/wordpress/wp-content/themes/pressbooks-book/functions.php(18): require()\n#1 /var/www/wisc-dev/wordpress/wp-settings.php(426): include('/var/www/wisc-d...')\n#2 /var/www/wisc-dev/wordpress/wp-config.php(79): require_once('/var/www/wisc-d...')\n#3 /var/www/wisc-dev/wordpress/wp-load.php(37): require_once('/var/www/wisc-d...')\n#4 /var/www/wisc-dev/wordpress/wp-admin/admin.php(31): require_once('/var/www/wisc-d...')\n#5 /var/www/wisc-dev/wordpress/wp-admin/index.php(10): require_once('/var/www/wisc-d...')\n#6 {main}\n thrown in /var/www/wisc-dev/wordpress/wp-content/themes/pressbooks-book/inc/intervention.php on line 10, referer: https://wisc-dev.pb.unizin.org/wp-admin/network/themes.php
PHP Fatal error: Uncaught Error: Call to undefined function Sober\\Intervention\\intervention() in /var/www/wisc-dev/wordpress/wp-content/themes/pressbooks-book/inc/intervention.php:10\nStack trace:\n#0 /var/www/wisc-dev/wordpress/wp-content/themes/pressbooks-book/functions.php(18): require()\n#1 /var/www/wisc-dev/wordpress/wp-settings.php(426): include('/var/www/wisc-d...')\n#2 /var/www/wisc-dev/wordpress/wp-config.php(79): require_once('/var/www/wisc-d...')\n#3 /var/www/wisc-dev/wordpress/wp-load.php(37): require_once('/var/www/wisc-d...')\n#4 /var/www/wisc-dev/wordpress/wp-blog-header.php(13): require_once('/var/www/wisc-d...')\n#5 /var/www/wisc-dev/wordpress/index.php(17): require('/var/www/wisc-d...')\n#6 {main}\n thrown in /var/www/wisc-dev/wordpress/wp-content/themes/pressbooks-book/inc/intervention.php on line 10, referer: https://www.google.com/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&ved=2ahUKEwilm5Lht5nZAhUq5IMKHVx9B-0Qjxx6BAgAEAI&url=https%3A%2F%2Fwisc-dev.pb.unizin.org%2Fanatomy622upperlimbcoursebook%2Fchapter%2Fbrachial-plexus%2F&psig=AOvVaw22_94djfj8m6Rsn7Q-6PyO&ust=1518286404001228
Any ideas about what’s happening here?