• yodajones

    (@yodajones)


    Hello,

    MainWP stopped sending us email notifications for plugin updates some time ago.

    We also notice that the info reporting is incorrect. Selecting “Info” from the dots menu and then the “Server” tab, the WordPress Memory Limit is showing !. Required >=64M Detected 40M. However when going to the WP Admin | Tools | Site Health | Info | Server | PHP memory limit 128M.

    Thanks for your help.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter yodajones

    (@yodajones)

    BTW, Our Main WP Dashboard is v 5.2.2.

    Plugin Support Bojan Katusic

    (@bojankatusic)

    Hey @yodajones

    Are you referring to the Daily Digest emails?

    Do you have any other email notifications configured, and are you receiving those?

    WordPress Memory Limit is different from PHP Memory Limit. You can find more information on how to change it in our help document: https://kb.mainwp.com/docs/resolve-system-requirement-issues/

    Thread Starter yodajones

    (@yodajones)

    Hi Bojan,

    I did fix the WordPress memory limit issue with your suggestion, thank you.

    I’m not sure what the emails are called. Maybe daily digest. We used to get an email when any of the child websites had plugins that needed updating.

    I don’t want to hijack this thread, only to mention that I haven’t received the Daily Digest emails since v. 5.2, so @yodajones isn’t alone in this.

    After 5.2, the mainwp_cronupdatescheck_action wasn’t being triggered in cron and no Daily Digest emails were coming through. Version 5.2.1 fixed the updates check issue for me so that it is now running daily and sites with WordPress, theme, or plugin updates are shown accurately within the MainWP Dashboard, but the Daily Digest emails still aren’t coming through. Nothing in the error logs for me if that helps any. I don’t have any other emails set to be sent except the site monitoring ones, but I haven’t had any sites go down to know if those emails are working.

    I have SMTP email set up in my functions.php and WP cron disabled with cron jobs set up manually, if that helps identify what might be causing this for @yodajones and those of us who are also affected.

    Thread Starter yodajones

    (@yodajones)

    I do not remember when we stopped getting the emails, it was a few updates ago for certain.

    We also have CRON jobs setup and WP CRON disabled. In fact we have 2 CRON jobs:

    {path}/public_html/wp-content/plugins/mainwp/cron/checkstatuschilds.php > /dev/null 2>&1

    and

    {path}/public_html/wp-content/plugins/mainwp/cron/updatescheck.php > /dev/null 2>&1

    There are a couple of other crons recommended here on the “Core” tab, which you may or may not need. I’m not sure which cron file in MainWP is responsible for sending the Daily Digest. It seems like it would be updatescheck.php, which you have, but I’m not sure.

    I have disabled the SMTP setup in my child theme’s functions.php, installed Easy WP SMTP as suggested here, and successfully sent a test email using it with the same SMTP settings I was using to see if something in my SMTP setup is the cause of the problem for me. I will let you know tomorrow if I get the Daily Digest.

    I didn’t receive the Daily Digest even with Easy WP SMTP installed and able to send mail to the same address, and with all core crons apparently running normally as shown in Main WP > Info > Cron Schedules, so it looks like we can rule out SMTP issues.

    I answered my other question: the Daily Digest looks like it is sent in /wp-content/plugins/mainwp/class/class-mainwp-system-cron-jobs.php starting at about line 454.

    Thread Starter yodajones

    (@yodajones)

    This issue still exists for me. Unresolved.

    We get WordPress messages from this website, for example WordPress core update messages, so it is not a SMTP or other mail related issue.

    Plugin Support Bojan Katusic

    (@bojankatusic)

    Thank you all for your reports.
    We cannot reproduce this issue on our test Dashboards.

    Feel free to open a private Help Desk ticket so we can collect some additional information & investigate further. https://mainwp.com/my-account/get-support/

    Thanks @bojankatusic!

    Like a noob, I forgot that since we’re talking about a cron job, the errors were in an error log in the account root, not in the subdirectory where I have MainWP installed in a subdomain. I’m not sure they will be of any help, but here’s what I’m seeing:

    [18-Nov-2024 08:05:07 UTC] PHP Warning:  Undefined array key "current" in /home/username/mainwp.thedomain.com/wp-content/plugins/mainwp/class/class-mainwp-cron-jobs-auto-updates.php on line 283
    [18-Nov-2024 08:05:07 UTC] PHP Warning: Undefined array key "new" in /home/username/mainwp.thedomain.com/wp-content/plugins/mainwp/class/class-mainwp-cron-jobs-auto-updates.php on line 284
    [18-Nov-2024 08:05:07 UTC] PHP Warning: Undefined property: stdClass::$automatic_update in /home/username/mainwp.thedomain.com/wp-content/plugins/mainwp/class/class-mainwp-cron-jobs-auto-updates.php on line 287

    I’ve submitted a ticket.

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.