Forum Replies Created

Viewing 15 replies - 1 through 15 (of 504 total)
  • Plugin Contributor CoolHappy

    (@narinder-singh)

    Glad to hear the fix works with headers and footers.

    I have already committed the fix to the active pull request. The update will be available in production soon.

    Please let us know if you need any further assistance. We will be happy to assist you.

    I would greatly appreciate it if you could kindly share your valuable feedback here:
    https://ww.wp.xz.cn/support/plugin/connect-polylang-elementor/reviews/#new-post

    Thanks in advance!

    Plugin Contributor CoolHappy

    (@narinder-singh)

    Thank you for the detailed video recording.

    I was able to reproduce the issue on my end.
    What happened is that previously the child_of condition was not being considered as a post type, and the template rendering logic was using the sub_name value instead of the sub_id.
    We recently updated the logic to render the template and evaluate conditions based on the sub_id rather than the sub_name, which resolved the original issue but also introduced this behavior with translated child pages.

    Could you please apply the following one-line code change and test again?
    File:connect-polylang-elementor/includes/connect-plugins.php
    Under the function condition_sub_id_translation() (around line 450), replace:

    if ( in_array( $parsed_condition[‘sub_name’], get_post_types(), true ) ) {

    with:

    if ( get_post_type( $sub_id ) ) {

    You can refer to this screenshot for guidance:
    https://prnt.sc/KHhzbQetvj9k
    After making this change, please check whether everything is working as expected. If you continue to experience any issues or find anything else unusual, feel free to get back to us and we’ll be happy to assist further.

    Thank you for your cooperation and testing.

    Plugin Contributor CoolHappy

    (@narinder-singh)

    Hi @cortlieb,

    Thank you for the detailed information and for outlining the troubleshooting steps you’ve already identified.

    We tested this on our end with several cache plugins enabled and were unable to reproduce the issue. Since clearing the cache appears to resolve the problem in some cases, there may be an environment-specific conflict that is causing the CSS files not to load correctly.

    Could you please confirm whether the issue only affects Elementor Templates (Header, Footer, Single, Archive templates, etc.), or if it also occurs on regular Elementor Pages?

    If the issue is occurring on Elementor pages as well, please try temporarily deactivating the Connect Polylang for Elementor plugin and check whether the problem still persists. This will help us determine whether the issue is related to the integration between Elementor and Polylang.

    Additionally, if possible, please let us know which cache plugins are currently active on the site and whether the issue continues after temporarily disabling them.

    Please share the results of these tests, and we’ll be happy to investigate further.

    Plugin Contributor CoolHappy

    (@narinder-singh)

    Thanks for the update.
    I have fixed the issue and created a pull request. The solution will be available upcoming update.

    • This reply was modified 1 week, 4 days ago by CoolHappy.
    Plugin Contributor CoolHappy

    (@narinder-singh)

    Thank you for the detailed explanation and the video demonstration.
    I tested the same setup on my end using:

    • Elementor,
    • Elementor Pro,
    • Connect Polylang for Elementor,
    • translated Loop Templates,
    • translated taxonomies,
    • and translated pages linked correctly with Polylang,

    and the English versions were displaying correctly in the search/select fields according to the current language.
    At the moment, we are unable to reproduce the issue on our end.
    To help us investigate this further, could you please share:

    • the version numbers of Elementor,
    • Elementor Pro,
    • Connect Polylang for Elementor,
    • Polylang,
    • and your full active plugins list?

    There may be a compatibility conflict with another plugin or a specific setup difference causing the translated objects to display in the default language instead of the current language.
    Looking forward to your update.

    Plugin Contributor CoolHappy

    (@narinder-singh)

    Thank you for the detailed explanation.
    From your description, it appears that the issue is related specifically to the mobile menu setup rather than the translated header itself.
    On our end, we tested the same scenario using:

    • one header for both desktop and mobile in the default language,
    • translated versions of that header for each language,
    • and the display condition set to “Entire Site” only for the default language header (no additional condition was needed for the translated headers).

    In our tests, the translated headers were rendering correctly on both desktop and mobile according to the current page language.
    In your case, the issue may be caused by:

    • overlapping display conditions,
    • cached menu rendering,
    • or a conflict with another plugin/theme component.

    Regarding the critical error:
    4.0.4.2 is an invalid version
    this appears to be related to the Elementor PRO / PRO Elements plugin version handling and could potentially affect Elementor behavior as well.
    As a first step, could you please verify whether the issue still occurs when using:

    • an older/stable version of Elementor and Elementor PRO / PRO Elements,
    • or temporarily disabling Elementor PRO / PRO Elements to rule out a compatibility conflict?

    To help us reproduce the exact setup and investigate further, could you also share:

    • a short screen recording of the issue,
    • the exact header structure/setup,
    • the display conditions configured for each header,
    • and a list of active plugins along with their versions?

    At the moment, we are unable to reproduce the issue on our end, as the translated headers are rendering correctly on both desktop and mobile screens based on the selected language.
    Looking forward to your update.

    Plugin Contributor CoolHappy

    (@narinder-singh)

    Hi @lehat ,

    I tested the same case scenario on my end and did not face this issue.
    What I did was:

    • Created a single header in the default language for both desktop and mobile.
    • Set the display condition to the entire site.
    • Then created the translated version of that header.

    The Connect Polylang for Elementor plugin automatically applied the translated header on the translated pages for both desktop and mobile screens correctly.

    In my testing, the headers did not overwrite each other on mobile.
    Could you please share the exact case scenario or setup in which you are facing this issue? If possible, please also share:

    • Your display conditions
    • A screenshot or short video of the issue

    This will help us check the issue more accurately.
    Thanks

    Plugin Contributor CoolHappy

    (@narinder-singh)

    Hi @elemeskutya ,
    Could you please share the following details so we can properly investigate the issue?

    • Plugin versions
    • Elementor / Elementor Pro versions
    • Screenshots of the issue
    • Browser console errors (if any)
    • Reproduction scenario

    This information will help us reproduce the issue on our end and identify the exact conflict related to Loop Grid / Loop Item templates.

    Plugin Contributor CoolHappy

    (@narinder-singh)

    Hi @aidezmoi ,

    Thank you for reporting these issues.

    I tested the template search issue using a secondary language and was able to reproduce it on my end. It appears that Elementor is currently loading templates only from the default language instead of the active translated language.

    We will work on fixing this issue in an upcoming plugin update.

    Regarding the dynamic links and category search issues, could you please share a short video recording showing the exact scenario and steps to reproduce the problem?

    At the moment, I was not able to fully reproduce or clearly understand those specific issues based on the description alone.

    Please also include the following details:

    • Which Elementor widget/module you are using
    • What result you expect
    • What result is currently displayed

    This information will help us investigate the issue more accurately.

    CoolHappy

    (@narinder-singh)

    @sormano Thank you for the update.👍

    Plugin Author CoolHappy

    (@narinder-singh)

    Hi @gint2333,
    Could you please provide more details about the issue you’re experiencing?
    Please also share error messages and screenshots in a new support thread.
    we will definitely check it on priority basis.
    Thanks

    Plugin Contributor CoolHappy

    (@narinder-singh)

    @carlosmayor Please ignore last response.

    Plugin Contributor CoolHappy

    (@narinder-singh)

    Hi @vwdiensten,

    Thanks for reporting this issue.

    Could you please share the full error message, including the complete file path and line number? The snippet you provided seems to be cut off, and having the full error will help us identify the exact cause more quickly.

    If possible, you can also enable WordPress debug mode and share the full log.

    Plugin Contributor CoolHappy

    (@narinder-singh)

    Hi,
    Thank you for reporting this issue.
    The warning you’re seeing: Undefined array key ‘elementor_preview’ is caused by the plugin accessing the elementor_preview value from the URL without properly ensuring the key exists first. In PHP 8+, accessing a non-existent array key triggers a warning, which is why your error logs are filling up with thousands of entries.
    To resolve this, please update the following file:
    File path:
    /connect-polylang-elementor/includes/elementor-assets.php
    (around line 57)
    Replace this line:

    $is_preview = isset( $_GET[‘elementor_preview’] ) && ! empty( sanitize_key( wp_unslash( $_GET[‘elementor_preview’] ) ) );

    With the following code:

    $preview_val = isset( $_GET[‘elementor_preview’] ) ? sanitize_key( wp_unslash( $_GET[‘elementor_preview’] ) ) : ”; $is_preview = $preview_val !== ”;

    This change ensures that $_GET['elementor_preview'] is only accessed when it actually exists, preventing PHP 8 from generating the “Undefined array key” warning. There is no change in functionality — this is strictly a compatibility fix and will stop the excessive log entries.
    Please refer to the screenshot here for reference:
    https://prnt.sc/HSTOcEUF9HzX
    After applying this change, the warnings should stop immediately.
    We will include these changes in upcoming updates.
    Let us know if you need any assistance.

    Plugin Contributor CoolHappy

    (@narinder-singh)

    Hi @vwdiensten,

    Thanks for reporting this issue.

    Could you please share the full error message, including the complete file path and line number? The snippet you provided seems to be cut off, and having the full error will help us identify the exact cause more quickly.

    If possible, you can also enable WordPress debug mode and share the full log.

Viewing 15 replies - 1 through 15 (of 504 total)