• Resolved Birgit

    (@birgitdouma)


    Hi Bas,
    I have used your plugin on the online testsite/testdomain. Everything worked fine. Looks excellent.
    But when I installed the whole site on the actual domain, it does not work anymore.
    Confirmation mails to customers are not being sent (order being processed including the invoice). When I deactivate your plugin the mails are being sent without a problem (but without the invoice).
    I don’t know where to look.
    Any suggestions?
    Alvast bedankt en fijn weekend,
    Birgit

    https://wordpress.org/plugins/woocommerce-pdf-invoices/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter Birgit

    (@birgitdouma)

    Hi,
    I now see that when I am in an order and try to generate a PDF (button top right) I get an error message

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 491520 bytes) in /home/xvd79695/domains/oergezond.nu/public_html/wp-content/plugins/woocommerce-pdf-invoices/lib/mpdf/classes/indic.php on line 799

    The hosting has more than enough memory, I would say from the control panel, to accommodate this site. But I am really a digibeet in this area.
    Your suggestions would be very welcome.
    Thanks.

    Plugin Author Bas Elbers

    (@baaaaas)

    Can you tell me how much memory you’ve setup in wp-config.php file?

    Thread Starter Birgit

    (@birgitdouma)

    Hello Bas,
    I had added this line to the wp-config.php

    define(‘WP_MEMORY_LIMIT’, ‘128M’);

    I talked to the provider on Thursday and they told me their standard is 128MB. But to make sure I have now sent in a ticket. No reply yet.

    Regards,
    Birgit

    Thread Starter Birgit

    (@birgitdouma)

    Hi Bas,
    The provider raised the memory to 256MB. Now it works.
    Do you have any idea why it has to be so high? On my online testdomain all worked with 40MB, including your plugin.
    Thanks.

    yes, i have same problem, how fix

    Plugin Author Bas Elbers

    (@baaaaas)

    It could be something with the image path.
    Please change the code on line 313 and try to get the relative path instead of the allow_url_fopen base64 way in file abstract-bewpi-invoice.php. Just comment and uncomment code.

    Thread Starter Birgit

    (@birgitdouma)

    Hi, I had reply from the provider. They raised memory to 256MB and now it works.
    Regards,
    Birgit

    Thread Starter Birgit

    (@birgitdouma)

    oops, I already mentioned that, sorry

    Plugin Author Bas Elbers

    (@baaaaas)

    Great, that it works!
    Would you be so kind to rate the plugin? It will support future development big-time! 🙂

    Plugin Author Bas Elbers

    (@baaaaas)

    @jenniferpham099 did you get it to work?
    @birgit please rate plugin. 😀

    Thread Starter Birgit

    (@birgitdouma)

    Hi Bas,
    As I replied by mail, I already rated. Look in the listings. 30 October

    Plugin Author Bas Elbers

    (@baaaaas)

    Ahh yeah! Oops! 😀

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Not working on live site, also blocks mails, but working fine on testsite’ is closed to new replies.