Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wordpress: can not save Global page settings. #3290

Open
designzwang opened this issue Dec 2, 2024 · 3 comments
Open

Wordpress: can not save Global page settings. #3290

designzwang opened this issue Dec 2, 2024 · 3 comments

Comments

@designzwang
Copy link

designzwang commented Dec 2, 2024

Wordpress 6.7.1
PHP 8.1 AND 8.2
Gantry Framework 5.5.19
Hydrogen 5.5.19

I can not edit/save/change my Javascript snippets any more that were saved in the global settings admin screen.

If I go to the global page setting of the base outline, at /wp-admin/admin.php?page=layout-manager&view=configurations/default/page, and change whatever setting, toggle or text field, and then click "Save Page Settings", an empty white error overlay appears . There is no error message, but the saving process is not finished, no changes are saved.
A POST to /wp-admin/admin.php?page=layout-manager&view=configurations/default/page&_wpnonce=0dae096a3e&action=gantry5 is executed and gets an empty 200 response.
This happens in php8.2 and 8.1.
Enabling WP_DEBUG and the gantry debug flag does not bring up any helpful error messages.

Since I have not used the page settings for a while, I can not say since when this problem exists, all I know is that i was able to save changed settings about a year ago for the last time.

There is a similar report, but for Joomla, here: #3232
Not sure whether it is a duplicate, but that issue is still open, and a workaround in that thread is not applicable in WP.

EDIT: I should mention that I have verified the file permissions of the YAML files, where the config stuff is stored. They are accessible/writable for the webserver UID ( www-data )

Regards Ulrich

grafik

@N8Solutions
Copy link

@designzwang it may or may not help but wanted to ask if you are using a CDN like Cloudflare? If you are, you need to make sure you have excluded the admin area of your site in the CDN settings. Otherwise any changes you make won't get applied.

@designzwang
Copy link
Author

@N8Solutions no CDN involved here, and everything else in admin area works. It looks as if some error message should be displayed in the overlay, but is missing.

@blizam
Copy link

blizam commented Jan 26, 2025

@designzwang no errors in console? Have you tried disabling all 3rd party plugins besides Gantry to see if that clears any conflicts? If you have a menu particle on your Base Outline try deleting (backup first if you've made any settings changes via the Gantry Menu Editor) all yaml files here: /wp-content/themes/[theme]/custom/config/menu/*.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants