elementor / elementor/wp2static-addon-cloudflare-workers

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

Open
#17 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
27
Forks
16
PR merge metrics
No merged PRs in 30d

Description

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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.