Automattic / Automattic/WP-Job-Manager

WPML: Translated job posts sometimes give 404's

Open
#1,894 8 comments 0 reactions 0 assignees View on GitHub
Third-party Conflict
Dominant language
PHP
Stars
899
Forks
369
Avg merge
11h 37m
Merged PRs (30d)
12

Description

**Describe the bug**
Hi,

I've sent 3 emails (third one this morning) to the support and still no answers (first email was sent about a month ago...). I don't know what to do to just get a single reply so I'll write here as well.

We have 2 sites using wp job manager and both of them have the exact same problem.

We use WPML to translate job entries. The default language (english) works fine. The french translation sometimes gives 404's. To fix it, I have to edit the job post in the administration. I don't need to modify anything or save, just opening the job post fixes the 404.

**To Reproduce**
I have no idea, the entry works, and out of nowhere, it gives a 404.

**Expected behavior**
Not give a 404 and work like it should.

**WordPress Environment**
- WordPress Version: 5.2.3
- WP Job Manager Version: 1.33.5
- PHP Version: 7.2.6
- Other important details:

Contributor guide

Open the contributing guide

Research direction

There are no files or tests named in the report, and the failure has no reproducible steps. Start by testing translated French job entries with WPML against the English entries, then compare behavior before and after opening the post in the administration; done means translated job posts no longer return 404s.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, localization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.