elementor / wp2static-addon-cloudflare-workers

CloudFlare Workers deployment add-on for WP2Static
https://wp2static.com/addons/cloudflare-workers/
The Unlicense
26 stars 13 forks source link

Needs same fix as other addons for trying to initialize plugin more than once #17

Open leonstafford opened 3 years ago

leonstafford commented 3 years ago

Was fixed in other addons, apply same here

WordPress database error Duplicate entry 'wp2static-addon-cloudflare-workers' for key 'PRIMARY' for query INSERT INTO wp_wp2static_addons (slug,type,name,docs_
url,description) VALUES ('wp2static-addon-cloudflare-workers','deploy','Cloudflare Workers Deployment','https://wp2static.com/addons/cloudflare-workers/','Depl
oys to Cloudflare Workers') made by include('phar:///usr/bin/wp/php/boot-phar.php'), include('phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php'), WP_CLI\
bootstrap, WP_CLI\Bootstrap\LaunchRunner->process, WP_CLI\Runner->start, WP_CLI\Runner->load_wordpress, require('wp-settings.php'), do_action('plugins_loaded')
, WP_Hook->do_action, WP_Hook->apply_filters, WP2StaticCloudflareWorkers\boot, WP2StaticCloudflareWorkers\Controller->__construct, do_action('wp2static_registe
r_addon'), WP_Hook->do_action, WP_Hook->apply_filters, WP2Static\Addons::registerAddon
leonstafford commented 3 years ago

(this may just be a stale version of the addon in Lokl)