• Resolved mikecorkum

    (@mikecorkum)


    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 the require_once ABSPATH . 'wp-admin/includes/plugin.php'; in the sources/wp-rest-api-cache.php

    For now i’ve manually added this, but would love a permanent fix.

    • This topic was modified 4 years, 10 months ago by mikecorkum.
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.