# Crowdsec wordpress block site

**URL:** <https://discourse.crowdsec.net/t/crowdsec-wordpress-block-site/87>\
**Category:** Uncategorized\
**Created:** [December 14, 2020, 2:52pm UTC](https://discourse.crowdsec.net/t/crowdsec-wordpress-block-site/87 "2020-12-14T14:52:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dnit](https://avatars.discourse-cdn.com/v4/letter/d/85e7bf/32.png) [@dnit](https://discourse.crowdsec.net/u/dnit)\
**Post date:** [December 14, 2020, 2:52pm UTC](https://discourse.crowdsec.net/t/crowdsec-wordpress-block-site/87/1 "2020-12-14T14:52:18Z")

</div>

Hello,  
I installed crowdsec plugin for wordpress but I meet a problem and all the site is blocked. Fortunately I didn’t active for backend. below the configuration set (default) :  
 ![Capture d’écran de 2020-12-14 15-43-07](https://europe1.discourse-cdn.com/flex013/uploads/crowdsec/original/1X/d8312fc6035dcaf151c6913ea3533a10ad1a6ca2.png)

and when I go to my site I get :  
 ![Capture d’écran de 2020-12-14 15-43-56](https://europe1.discourse-cdn.com/flex013/uploads/crowdsec/original/1X/87b284e80b5ef5e5875d3a3347feb9943692b6a8.png)  
I see nothing in the the crowdsec logs but in the apache logs:  
_[php7:error] [pid 29898] [client X.X.X.X.:40314] PHP Fatal error: Uncaught Error: Class ‘SQLite3’ not found in /var/www/html/wordpress/wp-content/plugins/crowdsec-wp/inc/Base/CrowdsecController.php:125\nStack trace:\n#0 /var/www/html/wordpress/wp-content/plugins/crowdsec-wp/inc/Base/CrowdsecController.php(70): CrowdsecController-\>apply\_filter\_from\_sqlite(’/var/lib/crowds…’)\n#1 /var/www/html/wordpress/wp-content/plugins/crowdsec-wp/crowdsec.php(141): CrowdsecController-\>blockIp(Array, Array)\n#2 /var/www/html/wordpress/wp-includes/class-wp-hook.php(287): blockIp(Object(WP))\n#3 /var/www/html/wordpress/wp-includes/class-wp-hook.php(311): WP\_Hook-\>apply\_filters(’’, Array)\n#4 /var/www/html/wordpress/wp-includes/plugin.php(551): WP\_Hook-\>do\_action(Array)\n#5 /var/www/html/wordpress/wp-includes/class-wp.php(758): do\_action\_ref\_array(‘wp’, Array)\n#6 /var/www/html/wordpress/wp-includes/functions.php(1291): WP-\>main(’’)\n#7 /var/www/html/wordpress/wp-blog-header.php(16): wp()\n#8 /var/www/html/wordpress/index.php(17): require(’/var/www/html/w…’)\n#9 {main}\n thrown in /var/www/html/wordpress/wp-content/plugins/crowdsec-wp/inc/Base/CrowdsecController.php on line 125_

below my crowdsec config:

Global:

- Configuration Folder : /etc/crowdsec
- Data Folder : /var/lib/crowdsec/data
- Log Folder : /var/log
- Hub Folder : /etc/crowdsec/hub
- Simulation File : /etc/crowdsec/simulation.yaml
- Log level : info
- Log Media : file  
Crowdsec:
- Acquisition File : /etc/crowdsec/acquis.yaml
- Parsers routines : 1  
cscli:
- Output : human
- Hub Branch : master
- Hub Folder : /etc/crowdsec/hub  
API Client:
- URL : [http://localhost:8080/](http://localhost:8080/)
- Login : xxxx
- Credentials File : /etc/crowdsec/local\_api\_credentials.yaml  
Local API Server:
- Listen URL : localhost:8080
- Profile File : /etc/crowdsec/profiles.yaml
- Database:
  - Type : sqlite
  - Path : /var/lib/crowdsec/data/crowdsec.db
  - Flush age : 7d
  - Flush size : 5000  
Central API:

- URL : [https://api.crowdsec.net/](https://api.crowdsec.net/)
- Login : xxxx
- Credentials File : /etc/crowdsec/online\_api\_credentials.yaml

my server configuration:  
ubuntu 180.4  
apache2  
wordpress 5.6

thank you.

---

<div class="post-metadata">

**Author:** ![ErenJ](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/erenj/32/3_2.png) [@ErenJ](https://discourse.crowdsec.net/u/ErenJ)\
**Post date:** [December 16, 2020, 9:09am UTC](https://discourse.crowdsec.net/t/crowdsec-wordpress-block-site/87/2 "2020-12-16T09:09:02Z")

</div>

Hi @dnit,

Unfortunately, this wordpress bouncer is compatible only for crowdsec versions v0.3.X. If you have installed v1.X.X version, it will not work.  
We have almost finished a compatible wordpress bouncer and we’ll publish it soon.  
You can see [here](https://hub.crowdsec.net/browse/#bouncers) all availables bouncers depends on your crowdsec version.
