I looked at the header through Chrome developer tools.
Referrer Policy : strict-origin-when-cross-origin
I’m replying to your question rather than posting a new one, as I think it might be helpful.
thank you
I have modified WP_POST_REVISIONS correctly by referring to other references.
I also took another look at the gzip entry on the server.
The fuction item you mentioned seems to be the parent theme.
I am still getting 502 errors even though it is a personal server and I personally find it difficult to troubleshoot. I hope it gets fixed someday.
Thanks for the useful information and advice.
And while it’s not like there’s nothing to gain so far, the current source code seems to be an improvement over the old one.
Thank you.
I am running a Synology personal server.
I seem to be getting a 502 error on every menu that requires admin login.
It seems like Synology tech support has already been terminated due to my inquiry.
This will probably be the last time I will be receiving newspaper tech support due to a 502 error.
If you have any useful information or tips, please let me know.
I hope I’m not being unreasonable.
Thank you.
-
This reply was modified 1 year by
leejaehak.
It doesn’t seem to be a theme issue.
I recreated the Newspaper parent theme and child theme folders as ‘old’ themes.
And I still get the 502 error.
And the plugins I use are as follows:
classic-editor
td-cloud-library
td-composer
td-social-counter
wordpress-seo(yoast seo)
wp-super-cache
-
This reply was modified 1 year by
leejaehak.
Thanks for reviewing my WordPress Newspaper child theme code.
And also, the WordPress admin page shows a 502 error and only FTP access is possible.
I previously tried to edit the theme using FTP, but it broke my site and I had to restore both the WordPress files and the DB files.
When clearing the cache, you also need to upgrade the cache plugin version for normal operation, and the cache will continue to accumulate.
The thing is…
I suddenly got a 502 server error when I logged into my WordPress admin page.
I’m still getting the 502 error, but I’m sure it’ll get fixed eventually.
– Here is the child theme code.
– The code that needs to be hidden is marked with the x alphabet.
– I share the child theme code file as a txt file as follows.
https://1drv.ms/t/c/4b73c3634bb72fff/EcBi_ZDEXjxOr2sONLNJlKUBgia83eh2yaWwy2R04m6DiQ?e=Nizvp6
– I’d like to request a code review in case it helps.
-
This reply was modified 1 year by
leejaehak.
This is the debugging log.
[28-May-2022 17:12:56 UTC] PHP Deprecated: Function create_function() is deprecated in /volume1/web/wordpress/wp-content/themes/Newspaper-child/functions.php on line 80
[28-May-2022 17:12:56 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /volume1/web/wordpress/wp-config.php on line 87
[28-May-2022 17:12:56 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzencode() in /volume1/web/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php:2275
Stack trace:
#0 /volume1/web/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php(1962): wp_cache_get_ob(‘\nDeprecated: Fu…’)
#1 [internal function]: wp_cache_ob_callback(‘\nDeprecated: Fu…’, 9)
#2 /volume1/web/wordpress/wp-includes/functions.php(5275): ob_end_flush()
#3 /volume1/web/wordpress/wp-includes/class-wp-hook.php(307): wp_ob_end_flush_all(”)
#4 /volume1/web/wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
#5 /volume1/web/wordpress/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
#6 /volume1/web/wordpress/wp-includes/load.php(1102): do_action(‘shutdown’)
#7 [internal function]: shutdown_action_hook()
#8 {main}
thrown in /volume1/web/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 2275
[28-May-2022 17:12:58 UTC] PHP Deprecated: Function create_function() is deprecated in /volume1/web/wordpress/wp-content/themes/Newspaper-child/functions.php on line 80
[28-May-2022 17:12:58 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /volume1/web/wordpress/wp-config.php on line 87
[28-May-2022 17:12:59 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzencode() in /volume1/web/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php:2275
Stack trace:
#0 /volume1/web/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php(1962): wp_cache_get_ob(‘\nDeprecated: Fu…’)
#1 [internal function]: wp_cache_ob_callback(‘\nDeprecated: Fu…’, 9)
#2 /volume1/web/wordpress/wp-includes/functions.php(5275): ob_end_flush()
#3 /volume1/web/wordpress/wp-includes/class-wp-hook.php(307): wp_ob_end_flush_all(”)
#4 /volume1/web/wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
#5 /volume1/web/wordpress/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
#6 /volume1/web/wordpress/wp-includes/load.php(1102): do_action(‘shutdown’)
#7 [internal function]: shutdown_action_hook()
#8 {main}
thrown in /volume1/web/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 2275
Reference
To avoid confusion, please note that separate error pages such as 404 and 502 are coded to redirect to the main homepage.
-
This reply was modified 1 year by
leejaehak.
Can you reply to me because tech support didn’t extend it even if i emailed it?
But can I report a bug?
So see the screenshot below.
https://1drv.ms/u/s!Av8vt0tjw3NLgcoRDaPD8y4zFMA6bA?e=PKggux
Modifying the header to give an example in chrome dev tools will overflow the width.
-
This reply was modified 5 years by
leejaehak.
My site is https://itons.net/.
Another thing I’ve learned is that this doesn’t happen if the background color is the same.
Fixed headers get weird if they have different background colors.
Even if you arbitrarily modify the CSS with the Chrome browser developer tools, you will get the same result.
We are always grateful for answers to questions that are lacking.
Until the update, when applying a boxed layout and ‘fixed’ the top header menu, the layout didn’t go out of place.
However, if the top header menu is ‘fixed’ after the update, the layout is wrong.
I hope you understand that I am not good at English because I am Korean. Thank you for your interest.
-
This reply was modified 5 years by
leejaehak.