Resolved
Overview of the issue
When the Sticky Links plugin is activated along with WPML core plugin, other required WPML add-ons, and the Events Manager plugin, the link of a secondary language page that is added to an event redirects to a wrong page.
The issue happens because the Sticky Links plugin applies a filter that converts all the sticky links back to be normal links with post slug and language configuration. Simultaneously, the Events Manager plugin applies another filter that results in a conflict that removes the changes that come from the Sticky Link plugin.
Workaround
As a workaround for this issue set the Sticky Links filter to have a lower priority so that it is executed after the Events Manager filter. This can be achieved by editing the ../wp-content/plugins/wpml-sticky-links/classes/class-wpml-sticky-links.php file and replacing the contents on the line 53.
Replace:
add_filter( 'the_content', array( $this, 'show_permalinks' ), 0 );
With:
add_filter( 'the_content', array( $this, 'show_permalinks' ), 100 );
Hi,
I tried your solution but unfortunately it doesn’t work for us.
Go to: https://www.memon.eu/termine/ and click any link you want like: https://www.memon.eu/termine/elektrosmog-feinstaub-fakten-risiken-einfache-loesungen-21-02-2019/
There is an Error 500
Do you have any other idea?
Best regards
Stefan
Hi Stefan,
Could you please open a ticket in our support forum? Our support team will be happy to investigate the issue you are describing here and help in resolving it.
Hi,
after installing Version 4.2.1 the issue disappeared and is now resolved.
Thank you for your quick response.
Best regards
Stefan
Good to know that the update resolved the issue!