• Resolved Safety13

    (@safety13)


    After upgrading to 5.0.10 on a Multi-site network, all downloads on all sites returned an “Access Denied, , go to Home Page” error. Went to edit the download file but got this message, “You’re trying to serve files from your server that are not in the enabled allowed paths. Please contact the network administrator to add or enable the path(s) for your website.” When trying to check the approved download path, I do not see the Download Monitor > Settings > Advanced > Add download paths on the individual site(s); nor at the network level.

    After rolling back to 5.0.9, all sites work except for one, which is displaying this error, There has been a critical error on this website. Learn more about troubleshooting WordPress.” on the DLM Download Paths tab under the Sites >> Edit at the network level.

    Also received this PHP error in the server log, 2024/09/25 20:07:08 [error] 55665#55665: *433012 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /www/xxx_329/public/wp-content/plugins/download-monitor/src/Admin/DownloadPaths/class-dlm-downloads-path-table.php:300

    And this one, which is specific to the site with the critical error, 2024/09/25 22:23:27 [error] 55666#55666: *459416 FastCGI sent in stderr: “PHP message: PHP Warning: foreach() argument must be of type array|object, string given in /www/xxx_329/public/wp-content/plugins/download-monitor/src/Admin/WritePanels.php on line 418” while reading upstream, client: xx.xx.xx.xx, server: xxxwp.org, request: “GET /wp-admin/post.php?post=6983&action=edit HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php8.1-fpm-xxx.sock:”, host: “xxxwp.org:40739”, referrer: “https://xxxwp.org/wp-admin/edit.php?post_type=dlm_download”

    Running WP 6.2.2 on a Nginx web server.

    • This topic was modified 2 months ago by Safety13.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Razvan Aldea

    (@raldea89)

    Hello @safety13 ,

    We’re investigating the issue.

    Warmly,
    Razvan

    Plugin Author Razvan Aldea

    (@raldea89)

    Hello,

    We’ve released an update that addresses this issue. Please let me know if you are still experiencing the issue.

    Warmly,
    Razvan

    Thread Starter Safety13

    (@safety13)

    Upgrade to 5.0.12 appears to working. Thanks YOU.

    Some notes

    Existing Approved Download Path set on the network level under Sites > Edit was missing for the site with the “There has been a critical error on this website.” error. Spot checked a few others and the Approved Download Path appears to be there for the other sites. Will have to go through each site to confirm.

    If I accidentally publish a download without entering a title, page says “Download Published”, but if I go back to Download Monitor >> All Downloads it is not listed.

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