In our forum, we try to keep one issue per ticket. As the original issue is resolved, may I kindly ask you to open a new ticket for your additional questions?
Continuing with one ticket per issue helps supporters focus on one issue at once and enables other users to find solutions to their questions faster.
Hello, the subject is the same (string translation).
I have this bug now (i didn't do anything on the website, something related with your change or is a false alarm?) Is in portuguese, you can translate to english.
"Olá!
O WordPress inclui uma funcionalidade que detecta quando um tema ou um plugin causa um erro fatal, e que notifica com este email automático.
Neste caso, o WordPress encontrou um erro no seu tema, Woodmart.
Em primeiro lugar, visite o seu site (hidden link) e verifique se existem problemas visíveis. De seguida, visite a página onde o erro foi identificado (hidden link) e procure novamente por problemas visíveis.
Por favor, peça ajuda ao seu fornecedor de alojamento para investigar um pouco mais este assunto.
Se o site não estiver funcional e não for possível aceder ao painel de administração como é habitual, o WordPress tem agora um "modo de recuperação". Este modo permite aceder em segurança ao painel para poder investigar o problema.
hidden link
Para manter o site em segurança, esta ligação vai expirar em 1 dia. Não se preocupe, se o erro ocorrer de novo após esta ligação expirar, receberá uma nova por email.
Ao procurar ajuda sobre este problema, poderão ser-lhe pedidas algumas das seguintes informações:
WordPress versão 6.4.2
Tema activo: Woodmart Child (versão 1.0.0)
Plugin actual: (versão )
PHP versão 8.0.30
Detalhes do erro
================
Um erro do tipo E_ERROR foi causado na linha 27 do ficheiro /home/w45rutbk/public_html/wp-content/themes/woodmart/woocommerce/single-product/product-image.php. Mensagem de erro: Uncaught Error: Call to a member function get_gallery_image_ids() on null in /home/w45rutbk/public_html/wp-content/themes/woodmart/woocommerce/single-product/product-image.php:27
Stack trace:
#0 /home/w45rutbk/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
#1 /home/w45rutbk/public_html/wp-content/themes/woodmart/inc/modules/layouts/elementor/single-product/class-gallery.php(433): wc_get_template()
#2 /home/w45rutbk/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(2315): XTS\Modules\Layouts\Gallery->render()
#3 /home/w45rutbk/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(634): Elementor\Controls_Stack->render_by_mode()
#4 /home/w45rutbk/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(758): Elementor\Widget_Base->render_content()
#5 /home/w45rutbk/public_html/wp-content/plugins/elementor/includes/base/element-base.php(551): Elementor\Widget_Base->get_raw_data()
#6 /home/w45rutbk/public_html/wp-content/plugins/elementor/includes/base/element-base.php(551): Elementor\Element_Base->get_raw_data()
#7 /home/w45rutbk/public_html/wp-content/plugins/elementor/core/base/document.php(1067): Elementor\Element_Base->get_raw_data()
#8 /home/w45rutbk/public_html/wp-content/plugins/elementor/core/base/document.php(723): Elementor\Core\Base\Document->get_elements_raw_data()
#9 /home/w45rutbk/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(1060): Elementor\Core\Base\Document->get_initial_config()
#10 /home/w45rutbk/public_html/wp-content/plugins/elementor/core/editor/loader/common/editor-common-scripts-settings.php(37): Elementor\Controls_Stack->get_config()
#11 /home/w45rutbk/public_html/wp-content/plugins/elementor/core/editor/loader/v1/editor-v1-loader.php(76): Elementor\Core\Editor\Loader\Common\Editor_Common_Scripts_Settings::get()
#12 /home/w45rutbk/public_html/wp-content/plugins/elementor/core/editor/editor.php(358): Elementor\Core\Editor\Loader\V1\Editor_V1_Loader->enqueue_scripts()
#13 /home/w45rutbk/public_html/wp-includes/class-wp-hook.php(324): Elementor\Core\Editor\Editor->enqueue_scripts()
#14 /home/w45rutbk/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#15 /home/w45rutbk/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#16 /home/w45rutbk/public_html/wp-includes/script-loader.php(2262): do_action()
#17 /home/w45rutbk/public_html/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#18 /home/w45rutbk/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#19 /home/w45rutbk/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#20 /home/w45rutbk/public_html/wp-includes/general-template.php(3052): do_action()
#21 /home/w45rutbk/public_html/wp-content/plugins/elementor/includes/editor-templates/editor-wrapper.php(31): wp_head()
#22 /home/w45rutbk/public_html/wp-content/plugins/elementor/core/editor/loader/v1/editor-v1-loader.php(110): include('/home/w45rutbk/...')
#23 /home/w45rutbk/public_html/wp-content/plugins/elementor/core/editor/editor.php(163): Elementor\Core\Editor\Loader\V1\Editor_V1_Loader->print_root_template()
#24 /home/w45rutbk/public_html/wp-includes/class-wp-hook.php(324): Elementor\Core\Editor\Editor->init()
#25 /home/w45rutbk/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#26 /home/w45rutbk/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#27 /home/w45rutbk/public_html/wp-admin/admin.php(419): do_action()
#28 /home/w45rutbk/public_html/wp-admin/post.php(12): require_once('/home/w45rutbk/...')
#29 {main}
thrown"
Please let me know what the action triggers this error.
All the changes I made were related to translating or finding strings in String Translation. The error you shared is related to the theme. (wp-content/themes/woodmart/woocommerce/single-product/product-image.php.)
Yes, I translated it, and couldn't find anything related to the changes I made.
The error is about the product's image.
Best regards,
Osama
The topic ‘[Closed] Issue with string translation’ 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.