Support » Plugin: TranslatePress - Translate Multilingual sites » Conflict with Stripe Gateway for Woocommerce

Viewing 4 replies - 1 through 4 (of 4 total)
  • Paul


    I just ran another test and thought it might be useful to post the logs as well.

    It seems you’re trying to translate something thats not translateable and after that the gateway breaks:

    [15-Dec-2019 17:45:58 UTC] PHP Warning:  strpos() expects parameter 1 to be string, object given in /MY_URL/wp-content/plugins/translatepress-multilingual/includes/class-translation-manager.php on line 941
    [15-Dec-2019 17:45:58 UTC] PHP Recoverable fatal error:  Object of class stdClass could not be converted to string in /MY_URL/wp-content/plugins/translatepress-multilingual/includes/class-translation-manager.php on line 942

    Maybe you can just check the type before throuing an error so the woocommerce gateway doesn’t break.

    Hope this helps.

    THANKS Paul



    Plugin Support Dragos


    Hello @paulschiretz,

    I’m letting you know that the new version of TranslatePress is out and it includes the fix that you have mentioned.

    Thank you for your support and best regards,




    Thank you also 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Conflict with Stripe Gateway for Woocommerce’ is closed to new replies.