• Resolved buddha8080

    (@buddha8080)


    Every confirmation email is the same. It just sends “ml encoding=”utf-8″ ?–>” and nothing else to the customers email. Im not sure how to fix this. Any help would be greatly appreciated!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author e4jvikwp

    (@e4jvikwp)

    Hello!

    It appears to be a compatibility issue between the latest versions of PHP and the library used to manipulate HTML elements within the email. For the moment, you can solve the problem only by disabling the mail customizer feature via code. You should therefore open the following file via FTP (or through the WordPress Plugin Editor).

    /wp-content/plugins/vikrestaurants/site/helpers/src/libraries/Mail/MailTemplateAware.php

    Here you should change the code at line 147:

    $body = (new \E4J\VikRestaurants\Document\MailCustomizer($body))->addCss($css)->getHtml();

    Into this one:

    // $body = (new \E4J\VikRestaurants\Document\MailCustomizer($body))->addCss($css)->getHtml();

    We are still trying to understand what might be causing this behavior.

    Thread Starter buddha8080

    (@buddha8080)

    For some reason that doesnt seem to have any effect. Im still getting the same error in the confirmation emails. any other help would be greatly appreciated!

    Plugin Author e4jvikwp

    (@e4jvikwp)

    We are quite sure that the issue may be related to some kind of hard caching performed by the server. I’m saying this because a similar error can only be thrown by a third-party library used to manipulate HTML5 nodes via PHP, which we use solely to customize the e-mail template, exactly at the line previously mentioned.

    If you are unable to sort out the issue, we strongly recommend that you reach out to our support team, as we may need temporary access to your website to verify whether the server is hard-caching the files or if your environment requires additional adjustments.

    Here’s the link you can use:
    https://support.e4j.com/contact-us

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.