Plugin Support
Muhammad
(@muhammadwpfolio)
Hi @rvof,
Thank you for reporting this issue!
The warning “Undefined array key ‘anylc_nonce’” may be related to our new opt-in usage tracking feature. It appears when the usage-tracking request doesn’t receive the expected nonce value in the admin area. This is only a PHP notice and shouldn’t break your site, but we certainly want to clean it up.
To help us pinpoint the trigger, could you let us know what action you were performing when the message appeared (for example, dismissing the opt-in prompt or saving settings)?
We appreciate you bringing this to our attention
Hi @muhammadwpfolio
My installation is Windows, and even with the warnings disabled, the system crashes when the error is related to a plugin. Only by enabling log recording does it redirect to a file. Otherwise, the system crashes. No action is being taken, only accessing the website or the administrative area.
Plugin Support
Muhammad
(@muhammadwpfolio)
Hi @rvof,
Thank you for the additional details.
We’ve forwarded this to our development team so they can investigate and try to reproduce the issue on a similar Windows/IIS environment.
To help us narrow it down, could you let us know:
- Does the warning appear as soon as you load the admin dashboard, or only on specific pages?
- Has anything else recently changed on the server (PHP version, caching, security tools, etc.)?
Any extra information will help our team diagnose the issue more quickly.
Recomendação de correção:
if (!isset($_POST[‘anylc_nonce’]) || empty($_POST[‘anylc_nonce’])) {
wp_send_json_error(‘Nonce inválido’);
return;
}
$nonce = sanitize_text_field($_POST[‘anylc_nonce’]);
ou:
$nonce = isset($_POST[‘anylc_nonce’]) ? $_POST[‘anylc_nonce’] : ”;
Plugin Support
Muhammad
(@muhammadwpfolio)
Hi @rvof,
Thank you for sharing these code suggestions.
We’ll check with our development team to see if these changes can be applied, and we’ll let you know once we have an update.
If the issue is persisting on your setup, please feel free to reach out to us via email at support(at)wpfolio.com so we can assist you directly, including providing a temporary downgrade if needed.
Thanks for your patience and for helping us improve the plugin.
Plugin Support
Muhammad
(@muhammadwpfolio)
Hi @rvof,
Just a quick update, our development team has reviewed the issue, and the fix will be included in the next plugin release. Once the new version is available, you can simply update the plugin and the notice should be resolved.
In the meantime, your site will continue to work normally, so there’s no action needed on your side right now.
Thank you again for reporting this and for your patience.
Nwo everithing works fine. Thanks !
Plugin Support
Muhammad
(@muhammadwpfolio)
Hi @rvof,
Glad to hear everything is working fine now!
Thanks for the update, and feel free to reach out if you run into anything else.