Skip to content

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

@leonstafford

Description

@leonstafford

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions