• Resolved ARWD

    (@arapps92)


    I’ve been using the plugin fine for the last few hours, translating pages. But I went to click on the flag on a page to translate it and got the “Something went wrong” error. I then tried to use the Bulk Actions translate option and I got a fatal error:

    Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /sites/www.domain.com/files/wp-content/plugins/auto-translator-polylang/includes/Base/ATFP_Translation.php:551 Stack trace: #0 /sites/www.domain.com/files/wp-content/plugins/auto-translator-polylang/includes/Base/ATFP_Translation.php(551): count() #1 /sites/www.domain.com/files/wp-includes/class-wp-hook.php(324): ATFP_Includes\Base\ATFP_Translation->bulk_translate_posts_notice() #2 /sites/www.domain.com/files/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #3 /sites/www.domain.com/files/wp-includes/plugin.php(517): WP_Hook->do_action() #4 /sites/www.domain.com/files/wp-admin/admin-header.php(313): do_action() #5 /sites/www.domain.com/files/wp-admin/edit.php(411): require_once(‘…’) #6 {main} thrown in /sites/www.domain.com/files/wp-content/plugins/auto-translator-polylang/includes/Base/ATFP_Translation.php on line 551

    I can’t refresh the page or go to another admin page like Posts, as the error just remains. I had to go into the file and comment out that line so I could access other pages. Commenting it out actually “fixed” it and let me continue to translate pages.

Viewing 1 replies (of 1 total)
  • Hello @arapps92

    We’ve looked into the issue and implemented a fix to ensure the plugin works correctly and provides a smooth experience. Please download the latest version of the plugin and let me know if everything is working well.

    If so, please don’t forget to leave us feedback so we can see if we are doing a good job and staying on the right track.

    Regards,

    Support Team

    • This reply was modified 1 year, 1 month ago by Vitalii.
Viewing 1 replies (of 1 total)

The topic ‘Fatal error when translating page’ is closed to new replies.