When opening a book I get the following error message:
Fatal error: Uncaught Error: Call to undefined function Sober\Intervention\intervention() in /Applications/MAMP/htdocs/wordpress/wp-content/themes/pressbooks-book/inc/intervention.php:10 Stack trace: #0 /Applications/MAMP/htdocs/wordpress/wp-content/themes/pressbooks-book/functions.php(18): require() #1 /Applications/MAMP/htdocs/wordpress/wp-settings.php(426): include('/Applications/M...') #2 /Applications/MAMP/htdocs/wordpress/wp-config.php(130): require_once('/Applications/M...') #3 /Applications/MAMP/htdocs/wordpress/wp-load.php(37): require_once('/Applications/M...') #4 /Applications/MAMP/htdocs/wordpress/wp-login.php(12): require('/Applications/M...') #5 {main} thrown in /Applications/MAMP/htdocs/wordpress/wp-content/themes/pressbooks-book/inc/intervention.php on line 10
When I deleted the following two lines in pressbooks-book/inc/intervention.php the error message disappeared:
intervention( 'remove-emoji' );
intervention( 'remove-howdy', __( 'Hello,', 'pressbooks-aldine' ) );
Platform: OS X
Browser Name: Firefox
Browser Version: 58.0
User Agent String: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:58.0) Gecko/20100101 Firefox/58.0
Safe Mode: Disabled
Memory Limit: 256M
Upload Max Size: 32M
Post Max Size: 32M
Upload Max Filesize: 32M
Time Limit: 30
Max Input Vars: 1000
URL-aware fopen: On (1)
Display Errors: On (1)
Prerequisites
Check the boxes below by changing them from
[ ]
to[x]
.Description
When opening a book I get the following error message: Fatal error: Uncaught Error: Call to undefined function Sober\Intervention\intervention() in /Applications/MAMP/htdocs/wordpress/wp-content/themes/pressbooks-book/inc/intervention.php:10 Stack trace: #0 /Applications/MAMP/htdocs/wordpress/wp-content/themes/pressbooks-book/functions.php(18): require() #1 /Applications/MAMP/htdocs/wordpress/wp-settings.php(426): include('/Applications/M...') #2 /Applications/MAMP/htdocs/wordpress/wp-config.php(130): require_once('/Applications/M...') #3 /Applications/MAMP/htdocs/wordpress/wp-load.php(37): require_once('/Applications/M...') #4 /Applications/MAMP/htdocs/wordpress/wp-login.php(12): require('/Applications/M...') #5 {main} thrown in /Applications/MAMP/htdocs/wordpress/wp-content/themes/pressbooks-book/inc/intervention.php on line 10
When I deleted the following two lines in pressbooks-book/inc/intervention.php the error message disappeared: intervention( 'remove-emoji' ); intervention( 'remove-howdy', __( 'Hello,', 'pressbooks-aldine' ) );
System Information
System Information
Book Info
Book ID: 8 Book URL: http://localhost/wordpress/testpb5/ Book Privacy: Public
Browser
Platform: OS X Browser Name: Firefox Browser Version: 58.0 User Agent String: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:58.0) Gecko/20100101 Firefox/58.0
WordPress Configuration
Network URL: http://localhost/wordpress/ Network Type: Subdirectory Version: 4.9.3 Language: en_US WP_ENV: developer WP_DEBUG: Enabled Memory Limit: 64M
Pressbooks Configuration
Version: 4.5.0 Book Theme: Clarke Book Theme Version: 2.1.1 Root Theme: Aldine Root Theme Version: 1.0.0-alpha.6
Pressbooks Dependencies
Epubcheck: Installed Kindlegen: Installed xmllint: Installed PrinceXML: Installed Saxon-HE: Installed
Must-Use Plugins
hm-autoloader.php: n/a
Network Active Plugins
Pressbooks: 5.0.0-dev
Book Active Plugins
Inactive Plugins
Activity Log: 2.4.0 WP Security Audit Log: 3.0.1
Server Configuration
PHP Version: 7.1.12 MySQL Version: 5.6.38 Webserver Info: Apache/2.2.34 (Unix) mod_wsgi/3.5 Python/2.7.13 PHP/7.1.12 mod_ssl/2.2.34 OpenSSL/1.0.2j DAV/2 mod_fastcgi/2.4.6 mod_perl/2.0.9 Perl/v5.24.0
PHP Configuration
Safe Mode: Disabled Memory Limit: 256M Upload Max Size: 32M Post Max Size: 32M Upload Max Filesize: 32M Time Limit: 30 Max Input Vars: 1000 URL-aware fopen: On (1) Display Errors: On (1)
PHP Extensions
OPcache: Disabled XDebug: Disabled cURL: Supported cURL Version: 7.52.1 imagick: Not Installed xsl: Installed