GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   I see wordpress experts here... (https://gfy.com/showthread.php?t=1337557)

hausarzt 11-12-2020 12:56 PM

I see wordpress experts here...
 
Hey folks.
I have a strange problem with one of me self-hosted websites.

Beforehand:
I am not a totaly newbie, when it comes to use and maintain wordpress. I have several sites and during the past years, I have gained pretty good experience in using this cms.

Now here is my problem:
I had a live wordpress site and created a "Staging"-Version of it. I made several changes on the "staging"-instance and everything worked as supposed to be. When all changes were made, I went from "stating" to "live". This process went flawless and the live-site was an exact copy of the staging-site.
I deleted the staging-instance, as everything seemed normal.

After a while I found out, that I can not click the "Save Changes"-Button in all Sub-Menus of the "Settings"-Menu. This includes "General" , "Writing" , "Reading" and so on.
When a Plugin creates a Sub-Menu inside the "Settings"-Menu, this problems occure there as well.
In all other parts of the backend, I can save changes. Only the save buttons in the "settings" menu don't work.

What I have tried so far:
Deactive all plugins
Change user

Before pushing the "staging" to "live", the "Save Changes" Button worked on both instances.

Any thoughts?

Ferus 11-12-2020 01:14 PM

Could be the prefix is not correct. Did you migrate the config-file with the staging settings? (DB and prefix)

hausarzt 11-12-2020 01:30 PM

I can not give you a clear "yes" or "no".
All I can say, that I kept the default setting for pushing-to-live and all stuff (posts,users, ...) has been migrated and works.

Colmike9 11-12-2020 02:18 PM

Clear cache

hausarzt 11-12-2020 02:51 PM

Done 10 times.
Browser and server cache.
Used different computers, different locations, different browsers.

Colmike9 11-12-2020 05:18 PM

Quote:

Originally Posted by hausarzt (Post 22771521)
Done 10 times.
Browser and server cache.
Used different computers, different locations, different browsers.

Cool, sometimes cache issues can cause that. Also clear the cache if you're using any caching plugins in WP.

ThuNguyen 11-12-2020 06:23 PM

Check file permissions
Check config file
CHECK EVERYTHING!! :) Good luck
But most importantly let us know all what was the issue after you fix :)

MakeMeGrrrrowl 11-15-2020 09:29 AM

I don't know if my issue is the same as yours, but recently I started having issues updating pages. My programmer sent this back to me...

Basically, Wordpress was updated and they killed off some old jQuery code that was deprecated. Some of the plugins you use rely on this old code so they were breaking the page. As a temporary fix, I installed a jQuery migration plugin to help fix the issue - and it seems to have (though it does give a nasty list of deprecation notices).

This should all resolve itself when you migrate to the new site, but in the meantime, at least it'll allow you to make changes and still use the existing one.

That fixed my issues.

Colmike9 11-15-2020 09:35 AM

Quote:

Originally Posted by MakeMeGrrrrowl (Post 22773275)
I don't know if my issue is the same as yours, but recently I started having issues updating pages. My programmer sent this back to me...

Basically, Wordpress was updated and they killed off some old jQuery code that was deprecated. Some of the plugins you use rely on this old code so they were breaking the page. As a temporary fix, I installed a jQuery migration plugin to help fix the issue - and it seems to have (though it does give a nasty list of deprecation notices).

This should all resolve itself when you migrate to the new site, but in the meantime, at least it'll allow you to make changes and still use the existing one.

That fixed my issues.

Just random, but sometimes people or a theme will have something like this in functions, which can make things in admin not work:
wp_deregister_script('jquery');

Then this can fix it if it's the cause:
if ( !is_admin() ) wp_deregister_script('jquery');

Or use this if you want to use the newest jquery:
if (!is_admin()) {
wp_deregister_script('jquery');
wp_register_script('jquery', ("https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"), false);
wp_enqueue_script('jquery');
}


But, so many other things can cause this, and we don't have access to check for sure, so it's just a guess. :upsidedow

hausarzt 11-18-2020 02:27 AM

Quote:

Originally Posted by MakeMeGrrrrowl (Post 22773275)
.....

Basically, Wordpress was updated and they killed off some old jQuery code that was deprecated. Some of the plugins you use rely on this old code so they were breaking the page. As a temporary fix, I installed a jQuery migration plugin to help fix the issue - and it seems to have (though it does give a nasty list of deprecation notices).

.....

That fixed my issues.

That did not fix my problem.

Quote:

Originally Posted by Colmike7 (Post 22773277)
Just random, but sometimes people or a theme will have something like this in functions, which can make things in admin not work:
wp_deregister_script('jquery');

Then this can fix it if it's the cause:
if ( !is_admin() ) wp_deregister_script('jquery');

Or use this if you want to use the newest jquery:
if (!is_admin()) {
wp_deregister_script('jquery');
wp_register_script('jquery', ("https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"), false);
wp_enqueue_script('jquery');
}


But, so many other things can cause this, and we don't have access to check for sure, so it's just a guess. :upsidedow

I can not find any similar code in the theme.
Beside that, the theme worked perfect before.


All times are GMT -7. The time now is 02:33 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc