Hi, I have a strange problem.
When I view the translation (with wpml) of an archive of an event category of a custom post I get a 502 error.
hidden link
I tried to set a default theme, and to deactivate plugins (except wpml and toolset) but the problem does not resolve.
The problem occurs for all translated event categories.
In the site logs I do not find any strange errors.
What could I check?
thanks
federico
Hi,
Firstly, I'd appreciate it if you could provide the debug information:
https://toolset.com/faq/provide-debug-information-faster-support/
Then please check if you enable the WordPress debug mode, do you see any sort of error?
Would you please access your website files and edit the "wp-config.php" file on the root folder of your WordPress installation and add the code below into the file:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', true );
Please add the code above the line below:
/* That's all, stop editing! Happy blogging. */
Also, check if both WPML and Toolset plugins are up to date:
- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Go to "WordPress Dashboard > Plugins > Add new > Commercial (tab)".
- Click the "Check for Updates" button.
- Update WPML and its addons there.
- Do the same for Toolset
For more information:
https://wpml.org/faq/install-wpml/#automated-updates
Finally, check if it is a server related problem as 502 error is a server level error:
hidden link
You can test by copying the website to another server or your local machine.
Thanks.
Hi,
Thank you for the login information. You did not set the reply to private, I set the reply to private to protect the login information.
What I did was to deactivate all plugins except WPML Multilingual CMS, WPML String Translation, Toolset Types, and Toolset Blocks and the 502 error is not showing anymore.
It seems that one of the plugins you used on your website cause the issue.
You can enable the plugins one by one to see which one is the culprit.
Thank you.
yes the problem is due to toolset and wpml. I don't understand why it happens and why only in the custom categories in English.
Hi, it seems there is a misunderstanding.
I mentioned that the culprit is not Toolset or WPML.
I deactivated all other plugins and actually kept Toolset and WPML activated and the issue is not there.
You can check it here:
hidden link
So there is no 502 error when only WPML and Toolset are used.
Please enable the plugins you use one by one to see which plugin causes the 502 error.
Thanks.
yes you are right sorry
in fact by deactivating the ewww and iubenda plugins the categories are visible.
this error is very strange
Hi,
So it seems that those plugins force an incompatibility and cause a Javascript error with Toolset.
You will need to find an alternative for the plugin in question or contact they support.
Thanks.