Please fix this issue with WPML!
-
As you can see here:
However, they found a workaround by replacing the following snippet (wp-content\plugins\the-events-calendar\src\Tribe\Integrations\WPML\Rewrites.php) at line 99.
foreach ( $this->replacement_rules as $original => $replacement ) { $original_position = $positions[$original]; $replaced_keys[ $original_position ] = $replacement; }
With the following code.
foreach ( $this->replacement_rules as $original => $replacement ) { if ( array_key_exists ($original, $positions) ) { $original_position = $positions[$original]; $replaced_keys[ $original_position ] = $replacement; } }
Best regards.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Please fix this issue with WPML!’ is closed to new replies.