DSDWeb
For Manual translate 'WPML -> Translations' Menu is not working for has, Please refer the attached screenshot.
Page Link: wp-admin/admin.php?page=tm/menu/translations-queue.php
Dražen
Supporter
Languages:
English (English )
Timezone:
Europe/Zagreb (GMT+02:00)
Hello,
I have opened a new ticket for your new issue, please follow the next steps.
1) Please enable error logging that will save all errors in a file called debug.log, log file inside the /wp-content/ directory.
To do so, please add the following
define('WP_DEBUG', true);
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false);
Once you have added those lines to your wp-config.php file, please try andreplicate the issue. Then go to your installation's wp-content folder and find the "debug.log" file that should've appeared by now (it will appear if it encounters an error in your server).
2) Can you please check if the issue happens when only WPML plugins are activated, all other plugins are disabled?
Please change your theme to the WP default theme and check if the issue happens.
3) Please update all WPML plugins to the latest version by going to the Plugins → Add New page, click the Commercial tab, and then click Check for updates.
- https://wpml.org/faq/install-wpml/#wpml-4-2-8
Please make a backup before proceeding.
Regards,
Drazen
DSDWeb
Hi,
We have checked the checklist mentioned above. Please check the error log and do the needful
1. Plugin Updated to latest version.
2. All Plugin deactivated and checked.
3. Theme changed to default theme and checked.
4. check the debug log
[31-Jan-2024 15:51:08 UTC] PHP Fatal error: Uncaught InvalidArgumentException: item should be a Collection or an array or an object in /nas/content/live/drivesystemdev/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Obj.php:112
Stack trace:
#0 [internal function]: WPML\FP\Obj::WPML\FP\{closure}(NULL, 'code', false)
#1 /nas/content/live/drivesystemdev/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array(Object(Closure), Array)
#2 [internal function]: WPML\FP\Obj::WPML\FP\{closure}(NULL, 'code', false)
#3 /nas/content/live/drivesystemdev/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php(56): call_user_func_array(Object(Closure), Array)
#4 /nas/content/live/drivesystemdev/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Obj.php(90): WPML\FP\Obj::__callStatic('propOr', Array)
#5 [internal function]: WPML\FP\Obj::WPML\FP\{closure}('code', false)
#6 /nas/content/live/drivesystemdev/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array(Object(Closure), Array)
#7 [internal function]: WPML\FP\Obj::WPML\FP\{closure}('code', false)
#8 /nas/content/live/drivesystemdev/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php(56): call_user_func_array(Object(Closure), Array)
#9 /nas/content/live/drivesystemdev/wp-content/plugins/sitepress-multilingual-cms/classes/menu/jobs-list/class-wpml-tm-jobs-list-script-data.php(191): WPML\FP\Obj::__callStatic('prop', Array)
#10 [internal function]: WPML_TM_Jobs_List_Script_Data->{closure}(false)
#11 /nas/content/live/drivesystemdev/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(50): call_user_func_array(Object(Closure), Array)
#12 [internal function]: WPML\FP\{closure}('gb', 0)
#13 /nas/content/live/drivesystemdev/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php(321): call_user_func_array(Object(Closure), Array)
#14 [internal function]: WPML\FP\Fns::WPML\FP\{closure}('gb', 0)
#15 /nas/content/live/drivesystemdev/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php(164): array_map(Object(Closure), Array, Array)
#16 [internal function]: WPML\FP\Fns::WPML\FP\{closure}(Object(Closure), Array)
#17 /nas/content/live/drivesystemdev/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array(Object(Closure), Array)
#18 [internal function]: WPML\FP\Fns::WPML\FP\{closure}(Object(Closure), Array)
#19 /nas/content/live/drivesystemdev/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php(56): call_user_func_array(Object(Closure), Array)
#20 /nas/content/live/drivesystemdev/wp-content/plugins/sitepress-multilingual-cms/classes/menu/jobs-list/class-wpml-tm-jobs-list-script-data.php(177): WPML\FP\Fns::__callStatic('map', Array)
#21 [internal function]: WPML_TM_Jobs_List_Script_Data->{closure}(Array, 'en')
#22 /nas/content/live/drivesystemdev/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Collection.php(603): array_map(Object(Closure), Array, Array)
#23 /nas/content/live/drivesystemdev/wp-content/plugins/sitepress-multilingual-cms/classes/menu/jobs-list/class-wpml-tm-jobs-list-script-data.php(182): WPML\Collect\Support\Collection->map(Object(Closure))
#24 /nas/content/live/drivesystemdev/wp-content/plugins/sitepress-multilingual-cms/classes/menu/jobs-list/class-wpml-tm-jobs-list-script-data.php(137): WPML_TM_Jobs_List_Script_Data->buildLanguagePairs(Array)
#25 /nas/content/live/drivesystemdev/wp-content/plugins/sitepress-multilingual-cms/classes/jobs/Loader.php(24): WPML_TM_Jobs_List_Script_Data->get()
#26 /nas/content/live/drivesystemdev/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Either.php(207): WPML\TM\Jobs\Loader->getData(Array)
#27 /nas/content/live/drivesystemdev/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Either.php(257): WPML\FP\Right->map(Array)
#28 /nas/content/live/drivesystemdev/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Promise.php(24): WPML\FP\Right->chain(Array)
#29 /nas/content/live/drivesystemdev/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/wp/classes/Hooks.php(50): WPML\FP\Promise->resolve(Object(WPML\FP\Right))
#30 /nas/content/live/drivesystemdev/wp-includes/class-wp-hook.php(324): WPML\LIB\WP\Hooks::WPML\LIB\WP\{closure}('')
#31 /nas/content/live/drivesystemdev/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#32 /nas/content/live/drivesystemdev/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#33 /nas/content/live/drivesystemdev/wp-settings.php(665): do_action('wp_loaded')
#34 /nas/content/live/drivesystemdev/wp-config.php(137): require_once('/nas/content/li...')
#35 /nas/content/live/drivesystemdev/wp-load.php(50): require_once('/nas/content/li...')
#36 /nas/content/live/drivesystemdev/wp-admin/admin.php(34): require_once('/nas/content/li...')
#37 {main}
thrown in /nas/content/live/drivesystemdev/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Obj.php on line 112
Dražen
Supporter
Languages:
English (English )
Timezone:
Europe/Zagreb (GMT+02:00)
Hello,
great, thanks for checking.
Please make a full backup of your site (files and database) and confirm it in your next reply.
If possible please provide access to the staging website, not production.
Please note, that I might need to do some debugging procedures like enable/disable plugins, switch themes, change the default language of the user account, and/or access your website database to debug the issue furtherly.
I will share with you any changes or steps done in this process. Please let me know if you do not agree with the above or if I do not have your permission for any.
I would need to access both your site's wp-admin and FTP account, if possible.
I have enabled the private username and password fields in your next reply.
I suggest you create a new user, set it as an administrator and then add those credentials in the private fields mentioned.
You can safely add your information into these fields.
Regards,
Drazen
DSDWeb
Hi,
Any update regarding the issue.
Dražen
Supporter
Languages:
English (English )
Timezone:
Europe/Zagreb (GMT+02:00)
Hello,
During the weekend I have my days OFF; I will be checking the case today and updating you further.
Regards,
Drazen
Dražen
Supporter
Languages:
English (English )
Timezone:
Europe/Zagreb (GMT+02:00)
Hello,
I have logged in and tried to check the issue, but I see WPML > Translation opens just fine, image is attached.
Can you please check and share the steps with me on how can I see the issue, if it still happens?
Regards.
Drazen