Support » Plugin: Loco Translate » translate show internal error

  • I just took those steps to translate bbpress, but encouter internal server error(only with bbpress)

    1. download the chinese translation file from buddypress: https://translate.wordpress.org/projects/wp-plugins/buddypress (.mp /.po)

    2. add those two file into wp-content/language/plugin and rename it

    3. the translation works fine

    4. but when I use loco translation plugin to edit some text in translation plugin, sync and save , it shows ” Internal Server Error</span>” shows again.

    here is the php log: [29-Sep-2016 07:48:55 UTC] PHP Fatal error: Method Loco_gettext_Data::__toString() must not throw an exception, caught Exception: Truncation error in vhosts/bpteach_dev/wp-admin/includes/class-wp-filesystem-direct.php on line 0
    <p class=”p1″>[29-Sep-2016 07:51:56 UTC] PHP Fatal error: Method Loco_gettext_Data::__toString() must not throw an exception, caught Exception: Truncation error in vhosts/bpteach_dev/wp-admin/includes/class-wp-filesystem-direct.php on line 0</p>

Viewing 1 replies (of 1 total)
  • Plugin Author Tim W

    (@timwhitlock)

    Thanks for the thorough report.

    Obviously the Loco_gettext_Data operation should not throw such a useless error. I’ve deployed a fix to the development branch to give a more useful warning instead. However, this is not a fix for your problem.

    Regarding the cause of the error. Can you confirm if you have the PHP mbstring extension installed?

Viewing 1 replies (of 1 total)
  • The topic ‘translate show internal error’ is closed to new replies.