This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 20 replies, has 2 voices.

Last updated by kenjiT-2 5 months ago.

Assigned support staff: Raja Mohammed.

Author Posts
April 23, 2019 at 4:20 pm #3666067

kenjiT-2

I am trying to: Run the plugin

Link to a page where the issue can be seen: The issue can not be seen, it is sporadic.

I expected to see: The page to load

Instead, I got: " Error establishing database connection "

[Mon Apr 22 02:57:15.947897 2019] [:error] [pid 20042] [client 73.57.237.16:60234] WordPress \xe3\x83\x87\xe3\x83\xbc\xe3\x82\xbf\xe3\x83\x99\xe3\x83\xbc\xe3\x82\xb9\xe3\x82\xa8\xe3\x83\xa9\xe3\x83\xbc: Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM `wp_options` WHERE `option_name` = '_wpml_transient__wpml_st_file_scan_in_progress' made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPML_ST_Translations_File_Scan_Hooks->import_translations_files, WPML_ST_Translations_File_Queue->unlock, WPML_Transient->delete, delete_option, referer: <em><u>hidden link</u></em>
[Mon Apr 22 03:33:35.129001 2019] [:error] [pid 23775] [client 73.57.237.16:60787] WordPress \xe3\x83\x87\xe3\x83\xbc\xe3\x82\xbf\xe3\x83\x99\xe3\x83\xbc\xe3\x82\xb9\xe3\x82\xa8\xe3\x83\xa9\xe3\x83\xbc: Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM `wp_options` WHERE `option_name` = '_wpml_transient__wpml_st_file_scan_in_progress' made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPML_ST_Translations_File_Scan_Hooks->import_translations_files, WPML_ST_Translations_File_Queue->unlock, WPML_Transient->delete, delete_option, referer: <em><u>hidden link</u></em>
[Mon Apr 22 03:33:35.128993 2019] [:error] [pid 24090] [client 73.57.237.16:60789] WordPress \xe3\x83\x87\xe3\x83\xbc\xe3\x82\xbf\xe3\x83\x99\xe3\x83\xbc\xe3\x82\xb9\xe3\x82\xa8\xe3\x83\xa9\xe3\x83\xbc: Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM `wp_options` WHERE `option_name` = '_wpml_transient__wpml_st_file_scan_in_progress' made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPML_ST_Translations_File_Scan_Hooks->import_translations_files, WPML_ST_Translations_File_Queue->unlock, WPML_Transient->delete, delete_option, referer: <em><u>hidden link</u></em>
[Mon Apr 22 03:33:35.128979 2019] [:error] [pid 23773] [client 73.57.237.16:60785] WordPress \xe3\x83\x87\xe3\x83\xbc\xe3\x82\xbf\xe3\x83\x99\xe3\x83\xbc\xe3\x82\xb9\xe3\x82\xa8\xe3\x83\xa9\xe3\x83\xbc: Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM `wp_options` WHERE `option_name` = '_wpml_transient__wpml_st_file_scan_in_progress' made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPML_ST_Translations_File_Scan_Hooks->import_translations_files, WPML_ST_Translations_File_Queue->unlock, WPML_Transient->delete, delete_option, referer: <em><u>hidden link</u></em>
[Mon Apr 22 03:37:59.100111 2019] [:error] [pid 20059] [client 73.57.237.16:60884] WordPress \xe3\x83\x87\xe3\x83\xbc\xe3\x82\xbf\xe3\x83\x99\xe3\x83\xbc\xe3\x82\xb9\xe3\x82\xa8\xe3\x83\xa9\xe3\x83\xbc: Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM `wp_options` WHERE `option_name` = '_wpml_transient__wpml_st_file_scan_in_progress' made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPML_ST_Translations_File_Scan_Hooks->import_translations_files, WPML_ST_Translations_File_Queue->unlock, WPML_Transient->delete, delete_option, referer: <em><u>hidden link</u></em>).html
[Mon Apr 22 03:37:59.100355 2019] [:error] [pid 23775] [client 73.57.237.16:60888] WordPress \xe3\x83\x87\xe3\x83\xbc\xe3\x82\xbf\xe3\x83\x99\xe3\x83\xbc\xe3\x82\xb9\xe3\x82\xa8\xe3\x83\xa9\xe3\x83\xbc: Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM `wp_options` WHERE `option_name` = '_wpml_transient__wpml_st_file_scan_in_progress' made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPML_ST_Translations_File_Scan_Hooks->import_translations_files, WPML_ST_Translations_File_Queue->unlock, WPML_Transient->delete, delete_option, referer: <em><u>hidden link</u></em>
[Mon Apr 22 03:38:33.785608 2019] [:error] [pid 24115] [client 73.57.237.16:60899] WordPress \xe3\x83\x87\xe3\x83\xbc\xe3\x82\xbf\xe3\x83\x99\xe3\x83\xbc\xe3\x82\xb9\xe3\x82\xa8\xe3\x83\xa9\xe3\x83\xbc: Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM `wp_options` WHERE `option_name` = '_wpml_transient__wpml_st_file_scan_in_progress' made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPML_ST_Translations_File_Scan_Hooks->import_translations_files, WPML_ST_Translations_File_Queue->unlock, WPML_Transient->delete, delete_option, referer: <em><u>hidden link</u></em>
[Mon Apr 22 03:38:33.789202 2019] [:error] [pid 24049] [client 73.57.237.16:60894] WordPress \xe3\x83\x87\xe3\x83\xbc\xe3\x82\xbf\xe3\x83\x99\xe3\x83\xbc\xe3\x82\xb9\xe3\x82\xa8\xe3\x83\xa9\xe3\x83\xbc: Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM `wp_options` WHERE `option_name` = '_wpml_transient__wpml_st_file_scan_in_progress' made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPML_ST_Translations_File_Scan_Hooks->import_translations_files, WPML_ST_Translations_File_Queue->unlock, WPML_Transient->delete, delete_option, referer: <em><u>hidden link</u></em>
[Mon Apr 22 03:39:35.192660 2019] [:error] [pid 24115] [client 73.57.237.16:60923] WordPress \xe3\x83\x87\xe3\x83\xbc\xe3\x82\xbf\xe3\x83\x99\xe3\x83\xbc\xe3\x82\xb9\xe3\x82\xa8\xe3\x83\xa9\xe3\x83\xbc: Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM `wp_options` WHERE `option_name` = '_wpml_transient__wpml_st_file_scan_in_progress' made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPML_ST_Translations_File_Scan_Hooks->import_translations_files, WPML_ST_Translations_File_Queue->unlock, WPML_Transient->delete, delete_option, referer: <em><u>hidden link</u></em>
[Mon Apr 22 03:39:35.192698 2019] [:error] [pid 24231] [client 73.57.237.16:60922] WordPress \xe3\x83\x87\xe3\x83\xbc\xe3\x82\xbf\xe3\x83\x99\xe3\x83\xbc\xe3\x82\xb9\xe3\x82\xa8\xe3\x83\xa9\xe3\x83\xbc: Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM `wp_options` WHERE `option_name` = '_wpml_transient__wpml_st_file_scan_in_progress' made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPML_ST_Translations_File_Scan_Hooks->import_translations_files, WPML_ST_Translations_File_Queue->unlock, WPML_Transient->delete, delete_option, referer: <em><u>hidden link</u></em>).html
root@ip-172-xx-xx-xx:/var/log/apache2# [Mon Apr 22 02:57:15.947897 2019] [:error] [pid 20042] [client 73.57.237.16:60234] WordPress \xe3\x83\x87\xe3\x83\xbc\xe3\x82\xbf\xe3\x83\x99\xe3\x83\xbc\xe3\x82\xb9\xe3\x82\xa8\xe3\x83\xa9\xe3\x83\xbc: Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM `wp_options` WHERE `option_name` = '_wpml_transient__wpml_st_file_scan_in_progress' made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPML_ST_Translations_File_Scan_Hooks->import_translations_files, WPML_ST_Translations_File_Queue->unlock, WPML_Transient->delete, delete_option, referer: <em><u>hidden link</u></em>

April 24, 2019 at 5:11 am #3669307

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hi there,

I will help you with the issue,

To isolate and resolve the issue, Please provide a snapshot of your site, If you can provide a copy of your wp-content folder and database that would help as well. Please compress the copy of the wp-content folder and upload it to g-drive or dropbox and share the link.

You can use the Duplicator plugin to create a snapshot of the site and share the package link with me http://wordpress.org/plugins/duplicator/

I have enabled the private fields for you to securely share the duplicator package.

Kind regards
Raja

April 25, 2019 at 6:50 am #3679195

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hi there,

The link is access restricted. I have requested for access.

Kind regards
Raja

April 25, 2019 at 10:22 pm #3686093

kenjiT-2

You've been granted access.

April 26, 2019 at 10:02 am #3689479

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hi there,

I have checked with the duplicator, However, the issue cannot be reproduced.

I would request to please update all the WPML plugin to the latest version check if you can reproduce the issue.

The issue might be due to string translation query running in the background where there are multiple requests sent from the plugins which conflict and end up with a deadlock.

I hope the update would solve your issue. Let me know if you still need assistance.

Kind regards
Raja

April 27, 2019 at 2:17 am #3693847

kenjiT-2

Are you referencing the _e('String', 'theme') query?

Thank you for your diligence thus far!

April 29, 2019 at 8:42 am #3701183

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Not exactly, but somewhat similar. String translation scans the string in plugins and theme which might lead to deadlock is a rare situation.

Please let me know whether you had any issue during the weekend also confirm whether your plugins are updated.

Kind regards
Raja

May 4, 2019 at 2:35 pm #3740445

kenjiT-2

Understood.

I've updated the plugins and I haven't noticed any problems yet within the past 24 hours. I will keep monitoring them and keep this topic open in the meantime in case anything happens or if the problem persists.

Thank you for your assistance, Raja.

May 5, 2019 at 9:27 pm #3744007

kenjiT-2

Upon review, I am still having this same error when WPML is activated. WPML is the only plugin causing this issue.

This is the stack trace error from error.log

[Sun May 05 21:19:31.387386 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP Stack trace:, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387390 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP   1. {main}() /opt/bitnami/apache2/htdocs/wp/index.php:0, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387394 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP   2. require() /opt/bitnami/apache2/htdocs/wp/index.php:17, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387398 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP   3. require_once() /opt/bitnami/apache2/htdocs/wp/wp-blog-header.php:19, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387402 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP   4. include() /opt/bitnami/apache2/htdocs/wp/wp-includes/template-loader.php:74, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387413 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP   5. get_footer() /opt/bitnami/apache2/htdocs/wp/wp-content/themes/toyox-development-hardcode/index.php:14, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387417 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP   6. locate_template() /opt/bitnami/apache2/htdocs/wp/wp-includes/general-template.php:76, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387422 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP   7. load_template() /opt/bitnami/apache2/htdocs/wp/wp-includes/template.php:647, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387425 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP   8. require_once() /opt/bitnami/apache2/htdocs/wp/wp-includes/template.php:688, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387429 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP   9. wp_footer() /opt/bitnami/apache2/htdocs/wp/wp-content/themes/toyox-development-hardcode/footer.php:74, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387433 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  10. do_action() /opt/bitnami/apache2/htdocs/wp/wp-includes/general-template.php:2630, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387437 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  11. WP_Hook->do_action() /opt/bitnami/apache2/htdocs/wp/wp-includes/plugin.php:453, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387442 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  12. WP_Hook->apply_filters() /opt/bitnami/apache2/htdocs/wp/wp-includes/class-wp-hook.php:310, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387447 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  13. call_user_func_array:{/opt/bitnami/apache2/htdocs/wp/wp-includes/class-wp-hook.php:286}() /opt/bitnami/apache2/htdocs/wp/wp-includes/class-wp-hook.php:286, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387452 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  14. wp_admin_bar_render() /opt/bitnami/apache2/htdocs/wp/wp-includes/class-wp-hook.php:286, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387456 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  15. do_action_ref_array() /opt/bitnami/apache2/htdocs/wp/wp-includes/admin-bar.php:83, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387460 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  16. WP_Hook->do_action() /opt/bitnami/apache2/htdocs/wp/wp-includes/plugin.php:515, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387465 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  17. WP_Hook->apply_filters() /opt/bitnami/apache2/htdocs/wp/wp-includes/class-wp-hook.php:310, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387469 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  18. call_user_func_array:{/opt/bitnami/apache2/htdocs/wp/wp-includes/class-wp-hook.php:286}() /opt/bitnami/apache2/htdocs/wp/wp-includes/class-wp-hook.php:286, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387473 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  19. wp_admin_bar_my_account_menu() /opt/bitnami/apache2/htdocs/wp/wp-includes/class-wp-hook.php:286, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387477 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  20. get_edit_profile_url() /opt/bitnami/apache2/htdocs/wp/wp-includes/admin-bar.php:246, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387485 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  21. get_dashboard_url() /opt/bitnami/apache2/htdocs/wp/wp-includes/link-template.php:3484, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387489 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  22. get_blogs_of_user() /opt/bitnami/apache2/htdocs/wp/wp-includes/link-template.php:3434, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387493 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  23. get_option() /opt/bitnami/apache2/htdocs/wp/wp-includes/user.php:616, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387496 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  24. apply_filters() /opt/bitnami/apache2/htdocs/wp/wp-includes/option.php:148, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387501 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  25. WP_Hook->apply_filters() /opt/bitnami/apache2/htdocs/wp/wp-includes/plugin.php:203, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387505 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  26. call_user_func_array:{/opt/bitnami/apache2/htdocs/wp/wp-includes/class-wp-hook.php:288}() /opt/bitnami/apache2/htdocs/wp/wp-includes/class-wp-hook.php:288, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387510 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  27. wpml_st_blog_title_filter() /opt/bitnami/apache2/htdocs/wp/wp-includes/class-wp-hook.php:288, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387514 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  28. icl_t() /opt/bitnami/apache2/htdocs/wp/wp-content/plugins/wpml-string-translation/inc/private-filters.php:59, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387518 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  29. icl_translate() /opt/bitnami/apache2/htdocs/wp/wp-content/plugins/wpml-string-translation/inc/functions.php:424, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387522 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  30. wpml_get_string_current_translation() /opt/bitnami/apache2/htdocs/wp/wp-content/plugins/wpml-string-translation/inc/functions.php:247, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387526 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  31. icl_get_string_by_id() /opt/bitnami/apache2/htdocs/wp/wp-content/plugins/wpml-string-translation/inc/functions.php:281, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387530 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  32. wpdb->get_row() /opt/bitnami/apache2/htdocs/wp/wp-content/plugins/wpml-string-translation/inc/functions.php:531, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387534 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  33. wpdb->query() /opt/bitnami/apache2/htdocs/wp/wp-includes/wp-db.php:2413, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387537 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  34. wpdb->_do_query() /opt/bitnami/apache2/htdocs/wp/wp-includes/wp-db.php:1813, referer: <em><u>hidden link</u></em>
[Sun May 05 21:19:31.387541 2019] [:error] [pid 15609] [client xx.xx.xxx.xx:61317] PHP  35. mysqli_query() /opt/bitnami/apache2/htdocs/wp/wp-includes/wp-db.php:1924, referer: <em><u>hidden link</u></em>

According to the stack trace, the error happens the moment WPML tries an attempt to access a translation. This is a problem with the plugin and I need further help on how to debug and correct this issue.

I will say that this is the only installation of WPML that is giving this error.

May 5, 2019 at 11:31 pm #3744077

kenjiT-2

The WC add on, once activated, severely slows down the WP installation and once it's activated, the stack trace above is kicked on. This has something to do with with WooCommerce Multilingual....

May 6, 2019 at 7:40 am #3745515

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Sorry about that. I'm checking this with the second tier of supporters. I will update you once I hear from them.

Regards
Raja

May 6, 2019 at 9:30 pm #3752795

kenjiT-2

Thank you so much, I will be waiting for your reply 🙂

May 7, 2019 at 10:41 am #3756557

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hi There,

I am unable to reproduce the issue with the duplicator package, I don't see any error in the logs except notices coming from the custom theme. I have tested with WPML and WooCommerce Multilingual enabled and updated to the latest version.

A client with a similar issue reported that restarting the Web server resolved the issue for them. please try the same.

Please increase the WP Memory limit to 256MB or above,
You can add the below code to wp-config.php to increase WP memory:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

Increase PHP max input vars to 3000, You can request your hosting provider to help you with this or if you can handle it by yourself refer the link for details hidden link

If the issue persists check if you can reproduce the error changing you theme any of WordPress default theme.

Please let me know the results

Kind regards
Raja

May 8, 2019 at 12:41 am #3762813

kenjiT-2

I do not believe it's a memory problem, because the error is a direct cause to an attempt at accessing the database via the plugin. I will increase the memory, but I doubt this will do anything.

The stack trace does not point to the theme, it starts at index.php because that's the access point, but the rest of the stack track is the following:

PHP  28. icl_t() /opt/bitnami/apache2/htdocs/wp/wp-content/plugins/wpml-string-translation/inc/private-filters.php:59, referer: <em><u>hidden link</u></em>
PHP  29. icl_translate() /opt/bitnami/apache2/htdocs/wp/wp-content/plugins/wpml-string-translation/inc/functions.php:424, referer: <em><u>hidden link</u></em>
PHP  30. wpml_get_string_current_translation() /opt/bitnami/apache2/htdocs/wp/wp-content/plugins/wpml-string-translation/inc/functions.php:247, referer: <em><u>hidden link</u></em>
PHP  31. icl_get_string_by_id() /opt/bitnami/apache2/htdocs/wp/wp-content/plugins/wpml-string-translation/inc/functions.php:281, referer: <em><u>hidden link</u></em>
PHP  32. wpdb->get_row() /opt/bitnami/apache2/htdocs/wp/wp-content/plugins/wpml-string-translation/inc/functions.php:531, referer: <em><u>hidden link</u></em>
PHP  33. wpdb->query() /opt/bitnami/apache2/htdocs/wp/wp-includes/wp-db.php:2413, referer: <em><u>hidden link</u></em>
PHP  34. wpdb->_do_query() /opt/bitnami/apache2/htdocs/wp/wp-includes/wp-db.php:1813, referer: <em><u>hidden link</u></em>
PHP  35. mysqli_query() /opt/bitnami/apache2/htdocs/wp/wp-includes/wp-db.php:1924, referer: <em><u>hidden link</u></em>

I will also run this plugin on a default theme to make sure that it's not directly connected to the custom theme. Line 14 of index.php of the custom theme is get_footer(); which pulls footer.php, then the stack track tracks to the wp_footer() method, which pulls from WP Core, so I can't really imagine this to be a theme problem.

Either way, the stack trace ultimately breaks on wpml-string-translation, particularly functions.php line 247 and then it goes down hill from there.

Could someone look into further detail about this?

May 8, 2019 at 8:51 am #3764765

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Maybe I can escalate this to the second tier of supporters, Please provide some additional bit of information do you see any pattern or the error occurs on each page load ?. since I am not able to reproduce on my local setup maybe I can try the same procedure to reproduce and pass the piece of information to the second tier for a better clarity.

Kind regards
Raja