Comments (13)
@Betawolf1213 Do you have any other plugins installed? If so you should try to turn them on and off one by one to figure out which of those is causing the issue.
from cloudflare-wordpress.
Alright so I disabled everything on the site and still having the same issue.
from cloudflare-wordpress.
So the root cause is that we read the JSON body from the request with
file_get_contents('php://input');
The problem is versions of PHP lower than 5.6 (I think) php://input can only be read once. Something is reading the JSON request body before our plugin executes, which causes php://input to be null when we do the CSRF check.
Is there anything custom about your setup that reads JSON from a request?
from cloudflare-wordpress.
^^ Yea I know of this problem I didn't say anything to avoid sounding like I know when I clearly don't know how to fix the problem. Also to the best of my knowledge no. I checked and the only times the token is being called for is when Cloudflare asks for it but nothing is stopping it from going through it just request it and then nothing happens. I know you guys can't legally login to my site either... But this is kinda a drag. oh also idk if you'd know but has it taken longer than 24 hours to get your ssl cert?
from cloudflare-wordpress.
Can you tell us the other plugins you're currently running?
Where are you hosting your WordPress blog?
Is there anything else "non standard" about your blog set up?
from cloudflare-wordpress.
Hosting on Domain.com
plugins
Accesspress twitter autopost
Akismet
BBpress
Buddypress
Cloudflare
Essential grid
Jet pack
Mailchimp forms by mailmunch
MO core
Slider rev
W3 total cache
Wordfence security
WPsmush
WP theme optimizer
visual composer
Yoast SEO
from cloudflare-wordpress.
@Betawolf1213 I tried installed (almost) all of your plugins, Cloudflare plugin seems to work. What is your PHP version?
from cloudflare-wordpress.
5.5.22
from cloudflare-wordpress.
I can't update to 5.6 cause it breaks my site.
from cloudflare-wordpress.
I recently through my Myphpadmin disabled everything and only enabled Cloudflare and still had the same issue.
from cloudflare-wordpress.
Is there anything else "non standard" about your blog set up?
from cloudflare-wordpress.
Not to my knowledge.
from cloudflare-wordpress.
Maybe an obvious question but have you searched all the code on your wordpress blog (core + themes, plugins, etc) for php://input
?
from cloudflare-wordpress.
Related Issues (20)
- "Auto Purge Content On Update" no longer working HOT 5
- Unauthorized error when attempting to purge cache for individual pages HOT 2
- Menu Save - Request Times Out After Repeated Cache Purges HOT 4
- APO Cache is Not Cleared on Tablet HOT 3
- Forbidden Request to Cloudflare (new Token needed) HOT 1
- Wordpress plugin gives "400 bad response" when enabling WAF HOT 1
- .htaccess file issues preventing css from loading HOT 3
- How to purgeCacheEverything correctly? HOT 1
- How does cloudflare detect the plugin is installed? HOT 2
- Cache not updated for section HOT 1
- Bulk editing posts is painfully slow HOT 2
- Plugin slows down saving posts in admin panel HOT 4
- No way to purge specific URL HOT 5
- WAF toggle doesn't make sense with the new Managed Rules HOT 2
- Auto Purge Content On Update doesn't purge cache when a worker is used to cache html instead of a cache everything rule HOT 1
- Shop managers should see cache management in admin top bar HOT 2
- Will this work with a Partial CNAME setup? HOT 2
- Fix PHP Deprecated messages HOT 5
- When a post moves from published to draft the page is not cleared HOT 1
- PHP 8.2 Compatibility 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 cloudflare-wordpress.