Hi there,
Since the upgrade to 3.7.9 we have been running into nonce errors.
Various browsers, various users etc.
Cleared all possible caches server side, cleared all CDN cache, did testing in browsers which have never ever accessed the website (as in Firefox dev edition, Safari Tech Preview and Chromium)
So I really think this is something that should be looked into.
Hope you can look into this soon, as this is preventing users from commenting all together.
And before you ask, I can not make a mirror / staging of this site. It's way to big for that 😉
Best regards,
Patrick
Ok this seems to be down to an issue I noted a while back already.
If someone changed there default upload dir in Wordpress it will throw a 500 error.
function wpdiscuz_ABSPATH() { $path = join(DIRECTORY_SEPARATOR, ["wp-content", "plugins", "wpdiscuz", "utils", "ajax"]); return str_replace($path, "", __DIR__); }
This is in; wpdiscuz-ajax.php
The wp-content mention here should be gotten dynamically to make sure this can never be an issue.
So yes issue on my end, for customizing things.
But that does not mean leaving it hardcoded to be wp-content is a good option.
Do hope you can look into this in a future release.
Sadly this still remains an issue even on current release.
You should be able to fix it with;
$uploadDir = wp_upload_dir(); $uploadBaseDir = wp_basename( $uploadDir['baseurl'] ); $path = join(DIRECTORY_SEPARATOR, [$uploadBaseDir, "plugins", "wpdiscuz", "utils", "ajax"]);
Can you incorporate this, or give me any way to overrule the function?