elementor/wp2static-addon-cloudflare-workers

Fatal error. Can not find vendor folder

Closed this issue · 5 comments

Warning: require(/var/www/html/XXX/wp-content/plugins/wp2static-addon-cloudflare-workers/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/XXX/wp-content/plugins/wp2static-addon-cloudflare-workers/wp2static-addon-cloudflare-workers.php on line 22

Fatal error: require(): Failed opening required '/var/www/html/XXX/wp-content/plugins/wp2static-addon-cloudflare-workers/vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/html/XXX/wp-content/plugins/wp2static-addon-cloudflare-workers/wp2static-addon-cloudflare-workers.php on line 22

Hi @presup, please ensure composer install has been run from within the directory, this will create the vendor dir

Yes. I managed to figure that out. I have now successfully created the .zip and the plugin installed/activated without problems. The above error disappeared. However, I am unable to see the deploy option at the WP2Static option.

Thanks for the great work with the WP2Static plugin!

Hi @presup, sorry for the late reply. This should help explain how to deploy in V7: https://wp2static.com/docs/jobs/

Please let me know if any questions persist after reading that.

Cheers,

Leon

Hey guys! I have had the same issue as @presup regarding not being able to see the WP2Static options and the issue is that on the Wordpress repo there's an older version of the plugin, to be more precise, 6.6.7. Downloading the latest version of W2PStatic fixes the issue.

Cheers,
Costin

Closing this old issue, but be aware that I've been doing some work on this repo and have a couple of pending issues left to prepare a new stable release of this Cloudflare add-on (these issues: #12 #11)