Title: Error after insert translation
Last modified: August 16, 2024

---

# Error after insert translation

 *  [nikolinaklobucar1](https://wordpress.org/support/users/nikolinaklobucar1/)
 * (@nikolinaklobucar1)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/error-after-insert-translation/)
 * **Error: **.wp-die-message { display: none; } Fatal error: Uncaught Error: Call
   to undefined function error_log()in /home/novidisp/public_html/wp-content/plugins/
   loco-translate/src/error/Exception.php on line 119Call stack:Loco_error_Exception::
   log()wp-content/plugins/loco-translate/src/error/AdminNotices.php:89Loco_error_AdminNotices::
   add()wp-content/plugins/loco-translate/src/error/AdminNotices.php:147Loco_error_AdminNotices::
   debug()wp-content/plugins/loco-translate/src/gettext/Compiler.php:75Loco_gettext_Compiler::
   writePo()wp-content/plugins/loco-translate/src/ajax/SaveController.php:61Loco_ajax_SaveController::
   render()wp-content/plugins/loco-translate/src/mvc/AjaxRouter.php:173Loco_mvc_AjaxRouter::
   renderAjax()wp-content/plugins/loco-translate/src/mvc/AjaxRouter.php:87Loco_mvc_AjaxRouter::
   on_wp_ajax_loco_json()wp-includes/class-wp-hook.php:322WP_Hook::apply_filters()
   wp-includes/class-wp-hook.php:348WP_Hook::do_action()wp-includes/plugin.php:517do_action()
   wp-admin/admin-ajax.php:192Query MonitorThere has been a critical error on this
   website.Learn more about troubleshooting WordPress.. Check console output for
   debugging information

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tim W](https://wordpress.org/support/users/timwhitlock/)
 * (@timwhitlock)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/error-after-insert-translation/#post-17957527)
 * > Call to undefined function error_log()
 * I don’t know how it’s possible that your PHP runtime has no [error_log](https://www.php.net/manual/en/function.error-log.php)
   function! Can you verify that this is true?
 * The original error is likely to be failure to write to the PO file, but the uncaught
   error here is very strange and should be addressed, or you’ll never be able to
   see what problems are occurring.

Viewing 1 replies (of 1 total)

The topic ‘Error after insert translation’ is closed to new replies.

 * ![](https://ps.w.org/loco-translate/assets/icon-256x256.png?rev=1000676)
 * [Loco Translate](https://wordpress.org/plugins/loco-translate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/loco-translate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/loco-translate/)
 * [Active Topics](https://wordpress.org/support/plugin/loco-translate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/loco-translate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/loco-translate/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tim W](https://wordpress.org/support/users/timwhitlock/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/error-after-insert-translation/#post-17957527)
 * Status: not resolved