• Resolved brentvanwildem

    (@brentvanwildem)


    Plugin Version: 4.9.41
    WPML Version: 4.5.8

    Description of issue:
    The issue occurs within WordPress Multisite environment
    When WPML is active on a network level, but deactivated on a site level, activating the Premium Addons for Elementor for a single site causes a fatal crash.
    The plugin calls WPML_Elementor_Module_With_Items, from several widgets, which is causing the crash

    Possible solution:
    The bug can be resolved by adapting the return value of the function is_wpml_active() in
    premium-addons-for-elementor/includes/compability/premium-addons-wpml.php
    from
    return $wpml && $wpml_trans
    to
    return $wpml && $wpml_trans && ( false === (bool) get_option( '_wpml_inactive' ) );

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Leap13

    (@leap13)

    Hi @brentvanwildem

    Thanks so much for letting us know about this. I have sent this to our devs team, they changed line 371 in

    premium-addons-for-elementor/includes/helper-functions.php

    to

    $is_active = in_array( $slug, (array) get_option( 'active_plugins', array() ), true );

    Could you please confirm if that fixes the issue on your end?

    Regards

    • This reply was modified 1 year, 9 months ago by Leap13.
    Plugin Author Leap13

    (@leap13)

    Hi @brentvanwildem

    We didn’t hear back from you. I hope everything is going fine with you today.

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bug Report : Premium Addons plugin crash in WP MU env’ is closed to new replies.