• Resolved mlplus

    (@mlplus)


    Hi!

    We made a mailing and the attached file is not attached. This used to work since we did this some months ago. Tracking also looks broke because all numbers are zero.

    We use latest versions of EME and WordPress.

    • This topic was modified 3 years, 8 months ago by mlplus.

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

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Franky

    (@liedekef)

    Just tested on a public site: attachments and tracking work as expected.
    How are you sending this mail? And anything in the logs?

    Thread Starter mlplus

    (@mlplus)

    All email are sent correctly but attachments are not added. I use the tab “General emails”, not emails related to events.

    Plugin Author Franky

    (@liedekef)

    And what do your logs say (apache, php and mailserver logs in this case)?
    Also: which sending method do you use (smtp, php mail, wp mail, …)? If wp mail: is there another plugin that might interact with this (like the plugin “wp smtp” or so)?

    Thread Starter mlplus

    (@mlplus)

    Installed WP debugging now and gets this:

    Notice: Trying to access array offset on value of type null in /home/qagwaezp/public_html/oppnasinnen.org/wp-content/plugins/events-made-easy/eme_locations.php on line 2144

    Happens here: https://oppnasinnen.org/platser/anneli-magnuson/

    Plugin Author Franky

    (@liedekef)

    That just means that you’re using a #_FIELD-like placeholder with a reference to a custom field that no longer exists. Correct your template there (the next version of EME will take that into account too).
    But still it won’t explain your template issue. Can you reply to the other questions I asked?

    • This reply was modified 3 years, 8 months ago by Franky.
    Thread Starter mlplus

    (@mlplus)

    This is the log:

    [30-Jun-2021 21:48:02 UTC] PHP Notice:  Undefined index: post in /home/qagwaezp/public_html/oppnasinnen.org/wp-content/themes/oppnasinnen/export/export.php on line 294
    [30-Jun-2021 21:48:32 UTC] PHP Notice:  Undefined index: post in /home/qagwaezp/public_html/oppnasinnen.org/wp-content/themes/oppnasinnen/export/export.php on line 294
    [30-Jun-2021 21:49:18 UTC] PHP Notice:  Undefined index: post in /home/qagwaezp/public_html/oppnasinnen.org/wp-content/themes/oppnasinnen/export/export.php on line 294
    [30-Jun-2021 21:49:32 UTC] PHP Notice:  Undefined index: post in /home/qagwaezp/public_html/oppnasinnen.org/wp-content/themes/oppnasinnen/export/export.php on line 294
    [30-Jun-2021 21:51:53 UTC] PHP Notice:  Only variables should be assigned by reference in /home/qagwaezp/public_html/oppnasinnen.org/wp-content/themes/oppnasinnen/functions.php on line 724
    [30-Jun-2021 21:52:47 UTC] PHP Notice:  Trying to access array offset on value of type null in /home/qagwaezp/public_html/oppnasinnen.org/wp-content/plugins/events-made-easy/eme_locations.php on line 2144
    [30-Jun-2021 21:53:29 UTC] PHP Notice:  Undefined index: post in /home/qagwaezp/public_html/oppnasinnen.org/wp-content/themes/oppnasinnen/export/export.php on line 294
    [30-Jun-2021 21:53:35 UTC] PHP Notice:  A non well formed numeric value encountered in /home/qagwaezp/public_html/oppnasinnen.org/wp-content/themes/oppnasinnen/export/editorHelper.php on line 406
    [30-Jun-2021 22:00:33 UTC] PHP Notice:  Undefined variable: sql in /home/qagwaezp/public_html/oppnasinnen.org/wp-content/plugins/events-made-easy/eme_events.php on line 7719
    [30-Jun-2021 22:00:33 UTC] PHP Notice:  Undefined variable: query in /home/qagwaezp/public_html/oppnasinnen.org/wp-content/plugins/events-made-easy/eme_mailer.php on line 503
    [30-Jun-2021 22:01:01 UTC] PHP Notice:  Undefined index: post in /home/qagwaezp/public_html/oppnasinnen.org/wp-content/themes/oppnasinnen/export/export.php on line 294
    [30-Jun-2021 22:02:42 UTC] PHP Notice:  A non well formed numeric value encountered in /home/qagwaezp/public_html/oppnasinnen.org/wp-content/themes/oppnasinnen/export/editorHelper.php on line 406
    [30-Jun-2021 22:03:00 UTC] PHP Notice:  Only variables should be assigned by reference in /home/qagwaezp/public_html/oppnasinnen.org/wp-content/themes/oppnasinnen/functions.php on line 724
    [30-Jun-2021 22:03:46 UTC] PHP Notice:  Undefined index: post in /home/qagwaezp/public_html/oppnasinnen.org/wp-content/themes/oppnasinnen/export/export.php on line 294
    [30-Jun-2021 22:04:10 UTC] PHP Notice:  A non well formed numeric value encountered in /home/qagwaezp/public_html/oppnasinnen.org/wp-content/themes/oppnasinnen/export/editorHelper.php on line 406
    [30-Jun-2021 22:04:46 UTC] PHP Notice:  Undefined index: post in /home/qagwaezp/public_html/oppnasinnen.org/wp-content/themes/oppnasinnen/export/export.php on line 294
    [30-Jun-2021 22:08:06 UTC] PHP Notice:  Trying to access array offset on value of type null in /home/qagwaezp/public_html/oppnasinnen.org/wp-content/plugins/events-made-easy/eme_locations.php on line 2144
    [30-Jun-2021 22:10:58 UTC] PHP Notice:  Only variables should be assigned by reference in /home/qagwaezp/public_html/oppnasinnen.org/wp-content/themes/oppnasinnen/functions.php on line 724
    Plugin Author Franky

    (@liedekef)

    The only line relevant there I already explained (and you should correct your mail template there). I’ll repeat the currently unanswered questions:

    – anything in the mailserver logs in this case?
    – which sending method do you use (smtp, php mail, wp mail, …)? If wp mail: is there another plugin that might interact with this (like the plugin “wp smtp” or so)?

    Edit: also consider installing the “Health Check & Troubleshooting” plugin, which allows to deactivate all plugins/change theme for your current session only (so it doesn’t affect your site) and test things again.

    • This reply was modified 3 years, 8 months ago by Franky.
    Thread Starter mlplus

    (@mlplus)

    Email settings in EME is SMTP localhost. I tried on another site also and I got same problem there.

    Thread Starter mlplus

    (@mlplus)

    If I use EME SMTP error tracking option in email settings. Where do the logfile end-up?

    • This reply was modified 3 years, 8 months ago by mlplus.
    Plugin Author Franky

    (@liedekef)

    Are you using mail queueing or not? Maybe the problem is there (I’m trying to reproduce it here too).
    SMTP connection debug won’t help you: the mail does arrive, so the problem must be elsewhere. But for the info: the smtp debug is only shown in either the “test mail” functionality or when sending a preview mail (and during preview the attach is not sent along).

    Plugin Author Franky

    (@liedekef)

    Also, check your database table wp_eme_mqueue and see if the mail you wanted to be sent has something filled out in the “attachments” column.

    Thread Starter mlplus

    (@mlplus)

    Hi Franky! Sorry, I didn’t know attachments are not attached in preview mails. I will test now as normal queued to see if it’s working.

    Thread Starter mlplus

    (@mlplus)

    Ok, it works now in queued mailing. Maybe it would be nice to have that attachment in preview also.

    Sorry and thanks for your exellent help as allways!

    Plugin Author Franky

    (@liedekef)

    ok, the next version will send along the attachments in preview too.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Attachment not attached when sending emails and tracking broke too’ is closed to new replies.