Currently I’m trying to save my user changes to my theme folder using the overwrite theme option within the menu of create block theme.
Whenever I do this, I’m getting a fatal error in WordPress.
And then my debug log tells me:
[19-Apr-2024 13:04:54 UTC] PHP Fatal error: Cannot redeclare turn_off_reject_unsafe_urls() (previously declared in /var/www/my-website/wp-content/plugins/create-block-theme/admin/create-theme/theme-media.php:101) in /var/www/my-website/wp-content/plugins/create-block-theme/admin/create-theme/theme-media.php on line 101
I’ve also tried doing it from within the new full site editor menu. But this simply returns a 500 internal server error. With I think the same error message.
This started happening after the latest update to the create block themes plugin.
If it has to do with https and certificates, that could be the case because I have a self signed certificate on my local development machine. But this hasn’t changed since the update.
I would like to save my user made changes in my full site editor to my block theme. I’m also not in the mood of manually copy/pasting all the code of all the changes I’ve made.
I’ll try to revert back to the previous version to see if the problem persists for now.
Please let me know if there is anything I can do to help diagnose the issue, or perhaps help figure out if this is something that happens to others.
If you want me to make a clean WordPress install and replicate the issue, I’ll try that later.
As far as I can tell this is caused by some conflict with the Classic Editor (not necessarily with the plugin) because this only happens with things that use the classic editor, this includes the Classic Editor plugin, popup plugins, and even Elementor (only when using the Text Editor widget).
And it only happens if there is some code in the content, but not some rogue html code mistakenly pasted in (although that breaks it too) but simple styling code (anything <span style) or just simply centering text (anything <p ), in one rare occasion in Elementor just having the word “well-developed” was enough to cause saving errors, removing the “-” fixed it, and having a “-” anywhere else in the content did not cause issues.
If you need some concrete example then right now I’m having an issue with https://trueskinclinic.ca/ where I would’ve needed to add a new popup yesterday but can’t because the popup plugin (Itro Popup) automatically ads p tags around the text and therefor when I hit save I get redirected to a Not Found page instead (and nothing gets saved).
This is also what happens when trying to save or preview changes on previously posted post and pages that have the unfortunate luck of having text centered, once I remove the centering code then it lets me save/publish.
If I use the Text Editor widget in Elementor and such code happens to be in the content then it gives me a “Server error” when trying to update, once the code is removed updating works again, like magic.
I tried disabling all plugins and nothing changed.
All the websites this is an issue on are hosted in the same place, in case that matters.
Also I’m presuming this is caused by the latest minor update to WordPress (6.4.1) because I only noticed this issue a few days ago (I work on WP websites daily)
Let me know if I can provide any more details.
]]>So what happened was I made some changes to a HTML widget in the footer of the link attached, but after I hit save the loading icon just kept rotating for a long time and nothing got saved, tried it 3 times.
Then I disabled the Classic Widgets plugin and used the new Guttenberg one and it saved the same changes instantly.
I only mention the following because it seems related, otherwise it would be off topic.
A similar issue cropped up in pages/posts edited with the Classic Editor plugin, however this still saves changes, unless you have some styling (like different font, font-size, underline, etc… anything using the span style code) or if you center text, other code like images, links don’t cause issues.
If any of the above mentioned code exists in your content then when you save/publish you are sent to a Not Found page instantly and all your work is lost.
A similar thing happens with the Text Editor widget in Elementor, there having that code in your content results in a Server Error (404 Error) when trying to save changes.
I haven’t tried disabling all other plugins yet so I didn’t report the issue to Elementor, Classic Editor or WordPress yet, but the non-widget issues occurred on at least 4 websites already.
]]>I am is a user with role as Administrator in my website, and the first user in database.
Everthing is working when I logged in as first Administrator.
But, when logged in as other user Administrator the change made of slider can’t save. The Save button just show the spinning icon.
And if I check the slider in front-end, it is not change.
Thanks
]]>Is there some way I can remove this upgrade? Help, I need to get back to work.
Bryan Eggers
]]>I’ve deleted the cache, cleared cookies, etc. etc. etc.
I also noticed that https://underconstructionpage.com/ has a 502 gateway error.
]]>I can’t change any value in “Menu themes”.
What I tried were
1.Delete brows cache with browser
2.disabled all other plugins
3.delete Max mega menu
4.Checked css file in “wp-content/uploads/”,but It was not changed at all.
5.Change theme to twenty-twenty
When I click save button in “Menu Themes”,it reacts for a moment, but then it reverts back to normal and nothing is changed.
What else should I try?
Thank you.
Malibu
POST https://xxx.com/wp-admin/admin-ajax.php 403
send @ jquery.min.js?ver=3.6.0:2
ajax @ jquery.min.js?ver=3.6.0:2
s.ajax.s.ajax @ jquery-migrate.min.js?ver=3.3.2:2
S.<computed> @ jquery.min.js?ver=3.6.0:2
(anonymous) @ wcfm-script-products…e.js?ver=6.6.2:1638
dispatch @ jquery.min.js?ver=3.6.0:2
v.handle @ jquery.min.js?ver=3.6.0:2
Notice the 403 forbidden error. I checked WooCommerce status log and there’s no log at all. No fatal log.
]]>Some stuff doesn’t get translated at all. When I try to manually translate parts of the paragraph it seems that everything works, but when i’m done and i deflag “edit translations” the situations goes back to the starting point and none of my translations have been saved.
The blog’s main language is italian.
]]>Access to fetch at 'https://infinityfree.net/errors/403/' (redirected from 'https://website/wp-json/batch/v1?_locale=user') from origin 'https://website' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
“No ‘Access-Control-Allow-Origin’ header is present on the requested resource” - This seems to be causing the issue, I am unsure how to add that to the request?
I have SSL installed, all database instances of the old http have been automatically changed to https using a plugin that finds and replaces data. All traffic is also forced to go through https.
Currently using a free sub-domain from InfinityFree. They told me to ask here as they could not figure out the issue.
]]>