Background of the issue:
Today the website hidden link crashed. We switched to a previous backup stored in Siteground from 7 days before, but the website is still down. Apparently there is an issue with the String Translation plugin. We have uploaded it manually again, but nothing changes.
Symptoms:
Website is down, suspected issue with the String Translation plugin.
These are the errors:
Fatal error: Uncaught Error: Call to a member function get_language_codes() on bool in /home/customer/www/raypa.com/public_html/wp-content/plugins/wpml-string-translation/classes/slug-translation/class-wpml-slug-translation-records.php:233 Stack trace: #0 /home/customer/www/raypa.com/public_html/wp-content/plugins/wpml-string-translation/classes/slug-translation/class-wpml-slug-translation.php(226): WPML_Slug_Translation_Records->get_all_slug_translations(Array) #1 /home/customer/www/raypa.com/public_html/wp-content/plugins/wpml-string-translation/classes/slug-translation/class-wpml-slug-translation.php(269): WPML_Slug_Translation->get_all_post_slug_translations() #2 /home/customer/www/raypa.com/public_html/wp-includes/class-wp-hook.php(324): WPML_Slug_Translation->filter_pre_get_posts(Object(WP_Query)) #3 /home/customer/www/raypa.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #4 /home/customer/www/raypa.com/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #5 /home/customer/www/raypa.com/public_html/wp-includes/class-wp-query.php(1881): do_action_ref_array('pre_get_posts', Array) #6 /home/customer/www/raypa.com/public_html/wp-includes/class-wp-query.php(3852): WP_Query->get_posts() #7 /home/customer/www/raypa.com/public_html/wp-includes/post.php(2539): WP_Query->query(Array) #8 /home/customer/www/raypa.com/public_html/wp-content/plugins/smart-post-show-pro/admin/GutenbergBlock/class-smart-post-show-pro-gutenberg-block-init.php(71): get_posts(Array) #9 /home/customer/www/raypa.com/public_html/wp-content/plugins/smart-post-show-pro/admin/GutenbergBlock/class-smart-post-show-pro-gutenberg-block-init.php(107): Smart_Post_Show_Pro_Gutenberg_Block_Init->spsp_post_list() #10 /home/customer/www/raypa.com/public_html/wp-includes/class-wp-hook.php(324): Smart_Post_Show_Pro_Gutenberg_Block_Init->spsp_gutenberg_shortcode_block('') #11 /home/customer/www/raypa.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #12 /home/customer/www/raypa.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #13 /home/customer/www/raypa.com/public_html/wp-settings.php(700): do_action('init') #14 /home/customer/www/raypa.com/public_html/wp-config.php(110): require_once('/home/customer/...') #15 /home/customer/www/raypa.com/public_html/wp-load.php(50): require_once('/home/customer/...') #16 /home/customer/www/raypa.com/public_html/wp-blog-header.php(13): require_once('/home/customer/...') #17 /home/customer/www/raypa.com/public_html/index.php(17): require('/home/customer/...') #18 {main} thrown in /home/customer/www/raypa.com/public_html/wp-content/plugins/wpml-string-translation/classes/slug-translation/class-wpml-slug-translation-records.php on line 233
Questions:
Maybe you can help me identify the problem?
I’ve temporarily removed the String Translation Plugin, but I’m still encountering a “504 Gateway Timeout” error when trying to access your website. It seems that a third-party plugin might be using up your server’s memory resources. Could you please contact your hosting provider to investigate this issue?
I have removed every single plugin and then reactivated one by one. Everything went smoothly and without errors. Until I reactivated the last one, String Translation. And the web crashed once again.
It seems that the plugin Smart Post Show make String Translation crash. It's weird, since the two have been getting along fine for months... And none of the two has had any update recently...
Fatal error: Uncaught Error: Call to a member function get_language_codes() on bool in /home/customer/www/raypa.com/public_html/wp-content/plugins/wpml-string-translation/classes/slug-translation/class-wpml-slug-translation-records.php:233 Stack trace: #0 /home/customer/www/raypa.com/public_html/wp-content/plugins/wpml-string-translation/classes/slug-translation/class-wpml-slug-translation.php(226): WPML_Slug_Translation_Records->get_all_slug_translations(Array) #1 /home/customer/www/raypa.com/public_html/wp-content/plugins/wpml-string-translation/classes/slug-translation/class-wpml-slug-translation.php(269): WPML_Slug_Translation->get_all_post_slug_translations() #2 /home/customer/www/raypa.com/public_html/wp-includes/class-wp-hook.php(324): WPML_Slug_Translation->filter_pre_get_posts(Object(WP_Query)) #3 /home/customer/www/raypa.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #4 /home/customer/www/raypa.com/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #5 /home/customer/www/raypa.com/public_html/wp-includes/class-wp-query.php(1881): do_action_ref_array('pre_get_posts', Array) #6 /home/customer/www/raypa.com/public_html/wp-includes/class-wp-query.php(3852): WP_Query->get_posts() #7 /home/customer/www/raypa.com/public_html/wp-includes/post.php(2539): WP_Query->query(Array) #8 /home/customer/www/raypa.com/public_html/wp-content/plugins/smart-post-show-pro/admin/GutenbergBlock/class-smart-post-show-pro-gutenberg-block-init.php(71): get_posts(Array) #9 /home/customer/www/raypa.com/public_html/wp-content/plugins/smart-post-show-pro/admin/GutenbergBlock/class-smart-post-show-pro-gutenberg-block-init.php(107): Smart_Post_Show_Pro_Gutenberg_Block_Init->spsp_post_list() #10 /home/customer/www/raypa.com/public_html/wp-includes/class-wp-hook.php(324): Smart_Post_Show_Pro_Gutenberg_Block_Init->spsp_gutenberg_shortcode_block('') #11 /home/customer/www/raypa.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #12 /home/customer/www/raypa.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #13 /home/customer/www/raypa.com/public_html/wp-settings.php(700): do_action('init') #14 /home/customer/www/raypa.com/public_html/wp-config.php(111): require_once('/home/customer/...') #15 /home/customer/www/raypa.com/public_html/wp-load.php(50): require_once('/home/customer/...') #16 /home/customer/www/raypa.com/public_html/wp-admin/admin.php(34): require_once('/home/customer/...') #17 /home/customer/www/raypa.com/public_html/wp-admin/plugins.php(10): require_once('/home/customer/...') #18 {main} thrown in /home/customer/www/raypa.com/public_html/wp-content/plugins/wpml-string-translation/classes/slug-translation/class-wpml-slug-translation-records.php on line 233
Thanks for your reply. Could you please share your Website WP admin access here again? Also, can I have your permission to copy this "Smart Post Show" plugin so that I could test it on my dev site?
The topic ‘[Closed] Website down – String Translation issue’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.