• Hi,

    This is David from the WPML compatibility team.
    We had a report about your plugin and WPML not working well together:
    https://wpml.org/forums/topic/newsletter-plugin-2/

    As you can see in our support thread, we found a way to fix this which is calling this with a plugins_loaded hook.

    Change the line:
    NewsletterSubscription::instance();

    To the following:
    add_action(‘plugins_loaded’, function() {
    NewsletterSubscription::instance();
    }, 99);

    You probably dont want to use a closure but you get the idea.

    Would like to include this change in your plugin so that your users can use WPML?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter David Garcia Watkins

    (@dgwatkins)

    I should mention that the change needs to be done in 2 places (lines 1559 + 1655)

    Plugin Author Stefano Lissa

    (@satollo)

    Hi, istantiation after the plugins are loaded could raise other problems. The problem is the get_option() called too early?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Newsletter and WPML compatibility’ is closed to new replies.