• 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 3 years ago by Micah Wood.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Greg

    (@freshbrewedweb)

    This is fixed in 0.4.4, thanks for bringing it to my attention!

    Thread Starter Micah Wood

    (@wpscholar)

    Awesome. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin causing a fatal error’ is closed to new replies.