• Resolved Olivier

    (@eterneige)


    Hi,

    It’s not possible to activate the plugin, a fatal error occurs:

    Warning: require_once(/path/to/mysite/wp-content/plugins/wpx-shortcodes-manager-light/vendor/composer/autoload_static.php): failed to open stream: No such file or directory in /path/to/mysite/wp-content/plugins/wpx-shortcodes-manager-light/vendor/composer/autoload_real.php on line 28

    https://ww.wp.xz.cn/plugins/wpx-shortcodes-manager-light/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Olivier

    (@eterneige)

    I managed to activate the plugin by editing autoload_real.php fro mcomposer. Added this:

    $useStaticLoader = false;

    between lines 26 and 27.

    It’s not a long term solution, but right now, it works. And it works well, even if the admin lacks somes options (filter to display only custom shortcodes, since I don’t care for other ones, I can’t even edit them: I only care for my own shortcodes), allow to display more than 5 on a page. But for now, it does the job.

    If you can fix that bug linked to composer (did you forget to commit that file?), I my leave some stars as plugin evaluation.

    Thanks.

    Plugin Author gfazioli

    (@gfazioli)

    Hi,
    sorry for the delay. In the previous version of the plugin I have to remove the file autoload_static.php because when I’m going to try to “commit” my plugin into the ww.wp.xz.cn repo, an error occurs. Now, instead, all seems works.

    So, try to download the v.2.0.2 and let me know if it works.

    Best
    John

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

The topic ‘Fatal error when activating’ is closed to new replies.