Where can we see the website in question?
Thread Starter
mcvlot
(@mcvlot)
040energie.nl/040zon
for a form example
Could it be that the wordpress editor is used – that also strips much html.
Config info:
PHP (7.3.33)
WordPress 6.0.3
Theme: customized from TwentyTwelve Version: 3.7 with heavy CSS mods + very minor PHP extensions
CF7 plugin Version 5.6.4 (NL)
Contact Form 7 Extension For Mailchimp version 0.5.62
Honeypot for Contact Form 7 Version 2.1.1
Contact Form DB Versie 2.10.36 (no longer maintained as far as I know – we’re working on it).
-
This reply was modified 3 years, 7 months ago by
mcvlot.
What other plugins and theme do you use on the site?
Thread Starter
mcvlot
(@mcvlot)
Theme is indicated: twentytwelve is the base – css and very ninor cusomizations through a child theme.
There is a whole list of active plugins, maybe there is interaction with Classic Editor?
Akismet Anti-Spam
All in one Favicon
Classic Editor
Clicky voor WordPress
Conditional Fields for Contact Form 7
Contact Form 7
Contact Form 7 Extension For Mailchimp
Contact Form DB
Cookie Notice & Compliance for GDPR / CCPA
Dynamische Widgets
Easy Columns
Growmap Anti Spambot Plugin
GTM4WP
Honeypot for Contact Form 7
Jellyfish Counter Widget
Post Content Shortcodes
Redirection
Shortcoder
Shortcodes Ultimate
SiteOrigin Widgets Bundle
Tabby-responsieve tabbladen
TablePress
UpdraftPlus – Backup/Restore
W3 Total Cache
Widget Shortcode
Yet Another Related Posts Plugin (YARPP)
Yoast Duplicate Post`
Thread Starter
mcvlot
(@mcvlot)
Bummer – even with classic editor disabled the problem persists.
Try switching to the default theme, deactivating all plugins excluding Contact Form 7, Akismet Anti-Spam and Classic Editor, and clearing all cache data.
Why you are advised to deactivate plugins and switch to the default theme.
Thread Starter
mcvlot
(@mcvlot)
Deactivated the plugins – not all at once but groups at a time – no effect.
Same with theme – no effect.
π
Where can this filtering of the HTML tags come from – it is not just random error behaviour – there must be some reason why that all of a sudden kicks in?
Specifically it filters <script> and so disables the javascipt extensions with the forms.
Thread Starter
mcvlot
(@mcvlot)
I remember I had a problem with another plugin related to a specific configuration used in our wordpress setup: we use a subdirectory to do the wordpress install – so not at the root of the webserver. It also caused massive problems when WP introduced the blockeditor since it “upset” the rest-api.
See the general setup for wordpress from the wordpress menu:
…..
WordPress adres (URL) https://040energie.nl/wp040
Site adres (URL) https://040energie.nl
-
This reply was modified 3 years, 7 months ago by
mcvlot.
Are you logged-in as an Administrator?
Thread Starter
mcvlot
(@mcvlot)
Yes, logged in as admin.
Tried an older version of the plugin, version 5.5.6, but also that has no effect.
I am not sure when the problemen appeared. Very recently I think. I sometimes edit some text in the forms which did not given problemen until quite recently. Say max 2 months back all worked well I think. Not 100% sure though.
Isn’t the 040energie.nl site a Multisite install? If so, try it as a Super Admin user.
Thread Starter
mcvlot
(@mcvlot)
Hello Takayuki,
No, it is a single install site, just a slightly different directory structure on the server.
Thread Starter
mcvlot
(@mcvlot)
Update: it seems indeed to be a super-user problem. Somehow WordPress thinks our installation is in multi-site mode. It never did so before. There were some other functions that started to refuse input with certain types of HTML content.
The hypothesis is that it is related to the permission “unfiltered_html”.
The problem is how to get out of this “trap”: maybe we should “patch” the
wordpress installation to force it to single site mode or to ro prevent “unfiltered_html” in some other way.
The thing that makes our site a bit different is that the root for the wordpress install is not in the main directory but in a subdirectory of the main directory – a feature typical for multi-siteconfiguration.
Any tip on how to “circumvent this issue’ is appreciated. Probably the problem is in the wordpress core.
Thread Starter
mcvlot
(@mcvlot)
Note: loaded a plugin “unfiltered MU”: this fixed it. It is a silly patch – but the short route to getting on with it….