Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author picatic

    (@picatic)

    Hey @andrewinsideout, sorry for the delay in replying.
    The above makes sense that it would work. I’m thinking that the problem is that in the picatic.php file on line 42, we include “vendor/autoload.php”. I’m guessing that because of the lack of __DIR__ in front of the path, it is having difficulty finding the file to load vendor dependencies.

    Would it be possible for you to check to see if this fix would work instead of what you implemented?

    So, remove the code you added above and try this instead in picatic.php line 42:
    `include(plugin_dir_path( __FILE__ ) . ‘vendor/autoload.php’);

    Thanks

    • This reply was modified 8 years, 10 months ago by picatic.
    Plugin Author picatic

    (@picatic)

    @andrewinsideout, we’re having difficulty reproducing the error. Would you be able to supply us with more details?

    • What screen do you see the error on, the edit page, or the public page?
    • What host are you using? What server environment are you running (LAMP?)? What version of PHP?
    Plugin Author picatic

    (@picatic)

    @andrewinsideout, are you working on this in a localhost environment?

    The problem appears to be that the vendor library that communicates with our API is not loading. We use composer to load the vendor libraries and there are occasionally issues around doing this when working in localhost.

    Which screen are you on (what are you doing) when you see this error.

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