Skip to content

JSON ERROR on save with Current Language Link option enabled #585

@leotiger

Description

@leotiger

Describe the bug
Once I activate the option Current Language Link I receive in all language versions (subdirectory) the following json error while saving a page: Updating failed. The response is not a valid JSON response.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Plugin Settings
  2. Activate Current Language Link
  3. Open a Page in Editor (I'm using FSE, only essential plugins, cache plugin and other optimizing plugins disabled)
  4. Save the page and see the json error

Expected behaviour
Possibility to use the feature

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: MacOS
  • Browser Firefox
  • PHP Version [e.g. 7.2]
  • Plugin Version [e.g. 2.2.0]

Additional context
Obviously this error may depend on my server configuration (apache+nginx). Nevertheless, once the option is disabled, the rest works fine... Probably I'll dig a bit deeper into this. I've been searching through closed and open tickets before supplying this report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions