ValueError: Path cannot be empty in /var/www/consult/core/modules/locale/locale.module on line 1112

Created on 18 April 2022, over 2 years ago
Updated 18 January 2023, almost 2 years ago

Problem/Motivation

Can't update a page without a message "The website encountered an unexpected error. Please try again later."

Steps to reproduce

Try to update any page.

Proposed resolution

None

I join the Apache error log with full trace.

Regards

JP P

🐛 Bug report
Status

Closed: works as designed

Version

9.5

Component

ckeditor.module

Created by

🇫🇷France jppo

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India nikhil_110

    I also faced the same problem so I added if (!str_starts_with($filepath, $dir) && !empty($filepath)) {
    in locale_js_translate function in local.module file at line number 528.

    check !empty($filepath) value

    After added this, it work again.

Production build 0.71.5 2024