Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @manuelpunzanoinstint,

    Thanks for getting in touch with us.

    This looks like a bug in our plugin. We already created an internal bug ticket for this, and I added your case. Thanks for all the details. I will definitely pass it along to our devs.

    I am unable to provide an exact date or time estimate for when this bug will be fixed, but you’ll be notified when there are any updates.

    Here’s a workaround:

    Please, make sure of having a full backup of your site before proceeding. Also do these changes on your child theme.

    • Open …/wp-content/plugins/events-calendar-pro/src/Events_Pro/Custom_Tables/V1/Integrations/WPML/WPML_Integration.php file.
    • Look for line 78.
    • Change:// Remove the home URL from permalink. $post_link = str_replace( array( home_url( '/' ), site_url( '/' ) ), '', $post_link );
    • For:// Remove the home URL from permalink. $post_link = str_replace( array( home_url( '/' ), site_url( '/' ), get_option( 'home' ) ), '', $post_link );

    If you do have other concerns or issues you need help with, please create another ticket, as it helps us track different issues.

    Again, thank you for your patience. Hang in there.

    Best,

    Frank


    Internal Bug Ticket Reference:
    TEC-5028

    Thread Starter manuelpunzanoinstint

    (@manuelpunzanoinstint)

    Hello Frank. Thank you for the information provided, but unfortunately, I have made the code substitution, but I am still getting the same results. I am attaching my code for your reference.

    public function filter_permalinks_with_provisional_id( $post_link, WP_Post $post ) {
    if ( $post->post_type !== TEC::POSTTYPE ) {
    return $post_link;
    }
    // We only need to fix provisional posts, WPML can’t find us by that ID.
    if ( ! tribe( Provisional_Post::class )->is_provisional_post_id( $post->ID ) ) {
    return $post_link;
    }
    // Recurring events are already being handled properly elsewhere. If that changes remove this conditional.
    if ( tribe_is_recurring_event( $post->ID ) ) {
    return $post_link;
    }
    // Remove the home URL from permalink.
    //$post_link = str_replace( array( home_url( ‘/’ ), site_url( ‘/’ ) ), ”, $post_link );
    $post_link = str_replace( array( home_url( ‘/’ ), site_url( ‘/’ ), get_option( ‘home’ ) ), ”, $post_link );
    // Add the home URL back and retain the lang query param.
    return home_url( user_trailingslashit( $post_link ) );
    }

    Hello @manuelpunzanoinstint,

    We’re sorry for the inconvenience.

    I’m unable to provide another workaround as there’s none at the moment.

    We take internationalization very seriously and have spent more time testing WPML with our products. Managing multiple translations can get tricky and complicated, but we’ve had customers who have had good luck with WPML though that’s not to say that it doesn’t have compatibility issues as well.

    https://theeventscalendar.com/knowledgebase/guide/translating-the-events-calendar/#wpml-support

    We usually recommend using the Loco Translate plugin, which makes it easier to translate the plugin and also forces updates on the translation file.

    We’ll also notify you once there’s an update that fixes the issue.

    I hope this helps. Do not hesitate to reach out if you need further assistance. 

    Plugin Support Darian

    (@d0153)

    Hi @manuelpunzanoinstint

    I’m glad you brought this to our attention, I can see how this issue impacts your ability to navigate your calendar views and other links in the calendar.

    I’ve created an internal ticket [BTRIA-2247] to address this issue, and I’ve included your specific use case in it to communicate it to our team.

    We prioritize bugs by taking into consideration the number of users impacted as well as how the bug impacts one’s ability to run an event/sell tickets. I don’t have a specific timeline as to when this issue will be resolved, but trust that our team is aware. Our team communicates updates and bug fixes in our newsletter and via our changelog.

    If you have further questions or concerns please open a Support Ticket on our Help Desk since we cannot provide support in this forum for premium users.

    Thanks again for reporting this issue and for using The Events Calendar! Have a great day.

    Internal Bug Ticket Reference: BTRIA-2247

    Plugin Support Darian

    (@d0153)

    Hi there,

    It seems like it has been some time since we received a response from you, therefore, I will consider this matter as resolved. If you require any further assistance, please do not hesitate to start a new thread.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problems with the event calendar links (/?event)’ is closed to new replies.