This thread is resolved. Here is a description of the problem and solution.
Problem: The client is unable to translate products using WPML due to a persistent 'processing' status and an error indicating a call to an undefined function
get_current_screen()
within the Easy Subscriptions plugin. Solution: We recommend contacting the support team for the Easy Subscriptions plugin to address the undefined function error. If they cannot resolve the issue, consider switching to an alternative plugin that is compatible with WPML. You can find a list of compatible WooCommerce extensions here: https://wpml.org/plugin-functionality/woocommerce-extension/ For issues related to translating Gravity Forms, ensure that the forms are translated into the secondary languages following this guide: https://wpml.org/documentation/related-projects/gravity-forms-multilingual/ If problems persist, please open a new support ticket with detailed information.
Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, do not hesitate to open a new support ticket for further assistance.
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.
We have not been able to transate pridcuts - not working. Always "processing" never ends. Shows error pf some complicated imcompatibility.
Job ID: 388
ATE Job ID: 186575530
Error Type: DownloadError
Error Message: Call to undefined function get_current_screen() /var/www/internationaltradingcenter.com/wp-content/plugins/easy-subscriptions/includes/integration/product-settings/class-easy-subscriptions-product-settings.php:14
Error Details: {
"message": "Call to undefined function get_current_screen()",
"code": 0,
"file": "/var/www/internationaltradingcenter.com/wp-content/plugins/easy-subscriptions/includes/integration/product-settings/class-easy-subscriptions-product-settings.php",
"line": 14,
"trace": [
"/var/www/internationaltradingcenter.com/wp-includes/class-wp-hook.php:341",
"/var/www/internationaltradingcenter.com/wp-includes/plugin.php:205",
"/var/www/internationaltradingcenter.com/wp-content/plugins/woocommerce/includes/tracks/events/class-wc-products-tracking.php:269",
"/var/www/internationaltradingcenter.com/wp-content/plugins/woocommerce/includes/tracks/events/class-wc-products-tracking.php:288",
"/var/www/internationaltradingcenter.com/wp-content/plugins/woocommerce/includes/tracks/events/class-wc-products-tracking.php:340",
"/var/www/internationaltradingcenter.com/wp-includes/class-wp-hook.php:341",
"/var/www/internationaltradingcenter.com/wp-includes/class-wp-hook.php:365",
"/var/www/internationaltradingcenter.com/wp-includes/plugin.php:522",
"/var/www/internationaltradingcenter.com/wp-includes/post.php:5917",
"/var/www/internationaltradingcenter.com/wp-includes/post.php:5208",
"/var/www/internationaltradingcenter.com/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-create-post-helper.class.php:46",
"/var/www/internationaltradingcenter.com/wp-content/plugins/sitepress-multilingual-cms/inc/translation-jobs/helpers/wpml-save-translation-data-action.class.php:194",
"/var/www/internationaltradingcenter.com/wp-content/plugins/sitepress-multilingual-cms/inc/wpml-private-actions-tm.php:33",
"/var/www/internationaltradingcenter.com/wp-content/plugins/sitepress-multilingual-cms/classes/ATE/class-wpml-tm-ate-jobs.php:90",
"/var/www/internationaltradingcenter.com/wp-content/plugins/sitepress-multilingual-cms/classes/ATE/Download/Consumer.php:32",
"/var/www/internationaltradingcenter.com/wp-content/plugins/sitepress-multilingual-cms/classes/ATE/Download/Process.php:69",
"[internal function]:0",
"/var/www/internationaltradingcenter.com/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Collection.php:603",
"/var/www/internationaltradingcenter.com/wp-content/plugins/sitepress-multilingual-cms/classes/ATE/Download/Process.php:99",
"/var/www/internationaltradingcenter.com/wp-content/plugins/sitepress-multilingual-cms/classes/ATE/REST/Download.php:60",
"/var/www/internationaltradingcenter.com/wp-includes/rest-api/class-wp-rest-server.php:1292",
"/var/www/internationaltradingcenter.com/wp-includes/rest-api/class-wp-rest-server.php:1125",
"/var/www/internationaltradingcenter.com/wp-includes/rest-api/class-wp-rest-server.php:439",
"/var/www/internationaltradingcenter.com/wp-includes/rest-api.php:467",
"/var/www/internationaltradingcenter.com/wp-includes/class-wp-hook.php:341",
"/var/www/internationaltradingcenter.com/wp-includes/class-wp-hook.php:365",
"/var/www/internationaltradingcenter.com/wp-includes/plugin.php:570",
"/var/www/internationaltradingcenter.com/wp-includes/class-wp.php:418",
"/var/www/internationaltradingcenter.com/wp-includes/class-wp.php:821",
"/var/www/internationaltradingcenter.com/wp-includes/functions.php:1343",
"/var/www/internationaltradingcenter.com/wp-blog-header.php:16",
"/var/www/internationaltradingcenter.com/index.php:17"
]
}
Need your help to translate our 10products to spanish. They are short - we could do it manually - but it does nt give un any option - just"processing"
Based on the error message you shared, it appears the issue is with the Easy Subscriptions plugin rather than WPML.
I recommend temporarily deactivating the Easy Subscriptions plugin and testing the functionality again to see if the error still occurs. If the issue disappears after deactivating the plugin, it would indicate that the problem is related to that plugin or its compatibility with your current setup.
We deactivated the plugin and did the translation ok - big limitation because we use suscriptions. Any suggestion?
Now - the other issue is these products have a Gravity Form in them. The form was not translated. What need to be done? Thanks
I’m afraid I’m not able to resolve this error directly. It appears to be coming from the Easy Subscriptions plugin, so I recommend contacting their support team and asking them to investigate and fix the issue.
If you still experience issues with the form, please open a new support ticket with detailed information about the problem. This will help us ensure that each issue receives the proper attention.