Background of the issue:
I am trying to duplicate all pages from the DE to the EN version of the site. There are a bunch of pages on the website, so clicking on them all manually will take a lot of time. Reinstalling the plugin didn’t work. The issue we can see from inspector: "/wp-json/wpml/v1/posts/taxonomies?sourcelanguagecode=de&limit=-1&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()". Link to a page where the issue can be seen: hidden link
Symptoms:
Instead of seeing the list of all pages from the site that can be duplicated from the DE version to the EN version, I encountered an infinite loading screen, and no pages' list was displayed.
Questions:
How can I duplicate all pages from the DE to the EN version without doing it manually?
What could be causing the infinite loading screen and the 500 error?
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
Hi,
Can you try this?
* Temporarily deactivate all non-WPML plugins. Keep only the WPML core plugins active.
* Switch your theme to a default WordPress theme like Twenty Twenty-One or Twenty Twenty-Three.
Then, try reproducing the issue on the same page: hidden link
If the error disappears under this minimal setup, it indicates a conflict with either a plugin or the theme. If the issue persists, proceed to the next step.
Enable Debug Logging
We need to collect more technical details on the error:
* Open your `wp-config.php` file.
* Just before the line that says
`/* That's all, stop editing! Happy publishing. */`
insert the following lines:
* Save the file and then reproduce the issue again
* After triggering the error, go to `/wp-content/debug.log` and copy the last 10 lines of that log file.
Please make sure to censor any sensitive data (like database credentials or full file paths) before sharing the log.
Additionally, if your server provides PHP error logs, please send us the latest lines from those as well — they often contain more specific messages related to 500 errors.
Let us know once you’ve completed the above, and we’ll continue from there.
The topic ‘[Closed] Duplicate all pages from the DE to the EN version of the site.’ is closed to new replies.