foxontherock
Forum Replies Created
-
Go to the advanced options of translatepress, and disable these:
Fix spaces between HTML attributes
Fix broken HTMLWe just had that trouble, and we found that the problem is with translatepress changing all the single quotes with double quotes.
We disable these options:
Fix spaces between HTML attributes
Fix broken HTMLthat were enabled by default ?? and now, the html is clean, the english and french version are almost the same, except our custom translations, nothing more.
And the slider works correctly now.They changed that:
err += “<div class=’rs_error_message_content’>”;
to this!
err += “<div class=”rs_error_message_content”>”;They broke the javascript code.
Oh, I found my answer!
https://www.wordfence.com/help/scan/troubleshooting/
“Our servers are from 69.46.36.0 to 69.46.36.32.”I edited the 2 files with the isUAblocked function, and add a substring to get the first 250 characters of the useragent, and now my troubles are gone. I suggest to the wordfence team to edit their source code with that fix.
You can reproduce it easily with any browser by setting a fake useragent of 261+ characters.
I just got that issue on windows, and the iis logs indicates a useragent of more than 260 characters. That is the UA in trouble, and it’s not a robot, but seems to be an iphone from a provider? (vodafone?). That is 261 characters. I have that error several times a day for that line of code. In fact, the error message is wrong, the trouble is not with the filename, but with the string length sent to fnmatch function, the useragent.
Mozilla/5.0+(iPhone;+CPU+iPhone+OS+10_1_1+like+Mac+OS+X)+AppleWebKit/602.2.14+(KHTML,+like+Gecko)+Mobile/14B100+[FBAN/FBIOS;FBAV/99.0.0.57.70;FBBV/63577032;FBDV/iPhone7,2;FBMD/iPhone;FBSN/iOS;FBSV/10.1.1;FBSS/2;FBCR/Vodafone;FBID/phone;FBLC/en_US;FBOP/5;FBRV/0]
Forum: Plugins
In reply to: [Collapsing Categories] Performance issue with several postsSorry about image link not working, this one should work.