Bedrock + Composer + Toplytics
-
Hello,
I am trying to test Toplytics with Bedrock. What I did was to install bedrock and then using composer to install 4.0.2 version of Toplytics plugin. Installation was fine, but when i try to load the site, I get following:
Warning: require_once(/var/www/domains/mydomain.com/vhosts/bd/htdocs/web/app/plugins/toplytics/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/domains/mydomain.com/vhosts/bd/htdocs/web/app/plugins/toplytics/toplytics.php on line 58
I checked the file and that line and I see this code:
/**
* We load the composer dependencies at this stage and the
* PSR4 autoloading functionality for the components folder.
*/
require_once plugin_dir_path(__FILE__) . ‘vendor/autoload.php’;`It looks for vendor/autoload.php, but with Bedrock composer setup I no longer see vendor/ dir inside the plugin.
Can you tell me how I can make that working without manually doing changes in plugin?
Thank you in advance!
Best regards,
Ali Nebi
- The topic ‘Bedrock + Composer + Toplytics’ is closed to new replies.