Hi guys can you help me?
I’m having 502 Bad Gateway in accessing our domain when login.
I’ve already update the codes as suggested from chatgpt but still not working thru ftp.
https://ourdomain/wp-admin/ → 502 Bad Gateway
Logs
[08-Oct-2025 03:10:39 UTC] Automatic updates starting…
[08-Oct-2025 03:10:41 UTC] Automatic plugin updates starting…
[08-Oct-2025 03:10:41 UTC] Automatic plugin updates complete.
[08-Oct-2025 03:10:41 UTC] Automatic theme updates starting…
[08-Oct-2025 03:10:41 UTC] Automatic theme updates complete.
[08-Oct-2025 03:10:41 UTC] Automatic updates complete.
[08-Oct-2025 05:47:51 UTC] PHP Warning: Attempt to read property “term_id” on null in /www/domain/public/wp-content/plugins/anywhere-elementor-pro/includes/helper.php on line 595
[08-Oct-2025 05:47:51 UTC] PHP Warning: Attempt to read property “term_id” on null in /www/domain/public/wp-content/plugins/anywhere-elementor-pro/includes/aepro.php on line 408
[08-Oct-2025 05:47:51 UTC] PHP Warning: Attempt to read property “taxonomy” on null in /www/domain/public/wp-content/plugins/seo-by-rank-math/includes/frontend/paper/class-taxonomy.php on line 49
[08-Oct-2025 05:47:51 UTC] PHP Warning: Attempt to read property “taxonomy” on null in /www/domain/public/wp-content/plugins/seo-by-rank-math/includes/frontend/paper/class-taxonomy.php on line 54
[08-Oct-2025 05:47:51 UTC] PHP Warning: Attempt to read property “taxonomy” on null in /www/domain/public/wp-content/plugins/seo-by-rank-math/includes/class-term.php on line 110
[08-Oct-2025 05:47:51 UTC] PHP Warning: Attempt to read property “name” on null in /www/domain/public/wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php on line 412
[08-Oct-2025 05:47:51 UTC] PHP Fatal error: Uncaught TypeError: ltrim(): Argument #1 ($string) must be of type string, WP_Error given in /www/domain/public/wp-includes/formatting.php:4482
Stack trace:
#0 /www/domain/public/wp-includes/formatting.php(4482): ltrim(Object(WP_Error))
#1 /www/domain/public/wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php(147): esc_url(Object(WP_Error))
#2 /www/domain/public/wp-content/plugins/seo-by-rank-math/includes/frontend/class-shortcodes.php(73): RankMath\Frontend\Breadcrumbs->get_breadcrumb(Array)
#3 /www/domain/public/wp-includes/shortcodes.php(434): RankMath\Frontend\Shortcodes->breadcrumb(Array, ‘’, ‘rank_math_bread…’)
#4 [internal function]: do_shortcode_tag(Array)
#5 /www/domain/public/wp-includes/shortcodes.php(273): preg_replace_callback(‘/\[(\[?)(rank_m…’, ‘do_shortcode_ta…’, ‘[rank_math_brea…’)
#6 /www/domain/public/wp-content/plugins/elementor/includes/widgets/shortcode.php(141): do_shortcode(‘[rank_math_brea…’)
#7 /www/domain/public/wp-content/plugins/elementor/includes/base/controls-stack.php(2374): Elementor\Widget_Shortcode->render()