• Hi,

    Thanks for the useful plugin.

    I just tried to check and I got a 404 error :

    “The requested document was not found on this server.”

    I’m using WP 5.6.1 and Astra Pro. The settings detected by the plugin are as follows ::

    SendMail path (UNIX): /usr/sbin/sendmail -t -i
    SMTP server (Windows): localhost
    SMTP port (Windows): 25
    Add X header:

    If this behavior demonstrates that my WP installation is unable to send mail (which I suspect), I’m OK. But this result is unclear.

    Thanks in advance.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi @samoreen,

    Thank you for reaching out!
    Can you please let me know when you got that error? When you check and send a test email such an error should not display as it seems to be related to an existing page/file.
    Please let me know the steps you took and when did that error display.

    Thank you,
    Mihaela

    Thread Starter samoreen

    (@samoreen)

    Hi,

    I did nothing special. I just installed the plugin, entered a valid destination address and immediately checked => 404 error.

    I just tried again after uninstalling and re-installing. I have now a working SMTP setup (MailGun + WP Mail SMTP). I still get the same error while the email check in WP MAil SMTP is working fine.

    So I no longer need Check & Log EMail anyway but I just wanted to report the problem.

    Patrick

    I have the exact same problem – after I send the test email it goes to my 404 page.

    Hi guys!

    Thank you for explaining!
    Please rest assured we will help asap, but need to debug a bit more.
    It may be an incompatibility with another plugin. Could you please install this plugin: https://wordpress.org/plugins/health-check/ ?
    After you install and activate the above plugin it has a Troubleshooting mode which allows you to have a vanilla WordPress session, where all plugins are disabled, and a default theme is used, but only for your user – your visitors will still see the normal website.

    Go to its troubleshoot mode and activate only this plugin and see if the same issue happens with a default WordPress theme (Twenty Twenty for example) and no other plugins.
    Please let me know how it goes.
    Thank you!

    Warmly,
    Mihaela

    Thread Starter samoreen

    (@samoreen)

    Hi Mihaela,

    It may be an incompatibility with another plugin

    Not sure. I tested the plugin on a local WP installation without any other plugin enabled. Just a fresh WP + Astra theme (free version). I got the same 404 error.

    Patrick

    Thank you so much for explaining!
    Is it a multisite installation? We will try to debug further and see why this happens.
    I went ahead and opened a ticket regarding this on our GitHub.
    We sincerely apologize for the trouble!

    Warmly,
    Mihaela

    Thread Starter samoreen

    (@samoreen)

    > Is it a multisite installation?

    No. The problem also occurs on a simple XAMPP installation with no other plugin installed.

    Patrick

    erzo123

    (@erzo123)

    Hello,
    I just install et activate the extension Check & Log Email
    I want to test if my server is able to send email.
    So i use the “Send a test email” form and i indicate my own email.
    I get an 404 error !
    Is there pre requisite before using your extension ?
    Thanks in advance

    mjayas

    (@mjayas)

    Ran into same problem. Issue for me seems related to my WordPress installation not being in my server’s root directory.

    As a result, the form on the Check & Log Email status page posts to the incorrect location:

    <form action="/wp-admin/admin.php?page=check-email-status" method="post">

    In my case, the action attribute should post to /wordpress/wp-admin/admin.php?page=check-email-status (or, more simply, ?page=check-email-status). When I manually correct that using the browser’s dev tools and then click ‘Send test email’, it works fine — no 404.

    It looks like (as of my posting this) line 98 of the plugin file Check_Email_Status_Page.php hardcodes this absolute URL for the action attribute instead of maybe leveraging plugin_dir_url() (or even just using the relative URL ?page=check-email-status as mentioned above).

    I think that would resolve this issue, at least in my case. attn: @mplusb

    • This reply was modified 3 years ago by mjayas. Reason: Mistakenly thought message field supported markdown with syntax highlighting
    • This reply was modified 3 years ago by mjayas.

    It ’s also a 404 error.

    Thank you so much for the solution, @mjayas!
    That was the issue indeed – we had an opened ticket for it and added the fix: https://github.com/WPChill/check-email/issues/21
    It will be in our next update which is coming soon.

    Warmly,
    Mihaela

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Error 404 when checking’ is closed to new replies.