Comments (3)
Hi @michelep ,
Thanks for reporting this issue.
Which PHP version is running on your server ?
Looking at the code, it is strange that the retrieved value of crowdsec_tls_cert_path
database entry is a boolean:
ltrim($rawConfigs['crowdsec_tls_cert_path'] ?? '', '/')
Could you look in the wp-options
table and share the value of your crowdsec_tls_cert_path
entry ?
[EDIT]: Ok, I can reproduce the bug : I guess you don't have any entry in your database for the crowdsec_tls_cert_path
.
Then the WordPress get_option(crowdsec_tls_cert_path) method returns false => BUG
Anyway, I guess I could force a string cast to avoid such error.
Will work on a fix asap.
Thanks again.
from cs-wordpress-bouncer.
Could you look in the
wp-options
table and share the value of yourcrowdsec_tls_cert_path
entry ?
Column "option_value" is empty and "autoload" is "yes".
Hope this help!
from cs-wordpress-bouncer.
Hi @michelep,
I released a new 2.0.2
version of the plugin with a fix for your issue.
Please let me know if it is ok with this new release.
Thanks
from cs-wordpress-bouncer.
Related Issues (20)
- WP Bouncer doesn't seem to be working HOT 9
- Question: Is the Trust these CDN Ips compatible with IPv6? HOT 1
- [Feature Request] WP-CLI integration HOT 5
- Stream mode causes ERROR 500 - Internal Server Error! HOT 9
- Exception while bouncing banned IP (not output captcha/ban page) HOT 4
- [Feature Request] Multisite Support with Global Tables HOT 4
- nvm
- ive enabled crowdsec on my wp site HOT 2
- Fatal error on crowdsec WP plugin - The value 0 is too small for path "config.captcha_cache_duration" HOT 5
- Plugin does not pass "wp plugin verify-checksums" validation HOT 6
- Unable to activate plugin (Conflicting class name) HOT 3
- 2 Errors on WordPress Version 5.9.3 HOT 4
- CRITICAL Uncaught Error: Call to a member function error() on null in /wp-content/plugins/crowdsec/inc/Bounce.php:339 HOT 6
- PHP Fatal error: Uncaught Error: Call to a member function error() on null in wp-content/plugins/crowdsec/inc/Bounce.php:339 HOT 10
- Same redis DB for multiple WP sites HOT 5
- Change to user agent reported to crowdsec_api.log to include the site name HOT 3
- Cache refreshing in STREAM mode HOT 16
- Sync with crowdsec api in stream mode is inconsistent HOT 11
- safelyBounce error:session_start() HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cs-wordpress-bouncer.