mu-plugin activation throws php fatal error
-
PHP Fatal error: Uncaught Error: Call to undefined function WP_Rest_Cache_Plugin\\Includes\\get_filesystem_method()Occurs when trying to activate this plugin. I am also using the Roots bedrock autoloader, which may be contributing to this.
This is easily fixed by adding
require_once(ABSPATH . 'wp-admin/includes/file.php');in addition to therequire_once ABSPATH . 'wp-admin/includes/plugin.php';in the sources/wp-rest-api-cache.phpFor now i’ve manually added this, but would love a permanent fix.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘mu-plugin activation throws php fatal error’ is closed to new replies.