• Resolved Micah Wood

    (@wpscholar)


    I was surprised when activating this plugin caused all front-end pages on my site to return a fatal error. I did some investigating on my local environment and was able to find the problem.

    This code is currently used to load the Composer autoload file:

    require 'vendor/autoload.php';

    Simply adding the __DIR__ in front ensures that the the file is properly loaded.

    require __DIR__ . '/vendor/autoload.php';

    If you can get this updated, I’d love to use this plugin on some sites.

    Thanks!

    • This topic was modified 1 year, 7 months ago by Micah Wood.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin causing a fatal error’ is closed to new replies.