windows-azure-storage icon indicating copy to clipboard operation
windows-azure-storage copied to clipboard

Undefined index: _wpnonce

Open samueldjack opened this issue 7 years ago • 2 comments

We're using Windows Azure Storage in conjunction with the WPLR Sync plugin, and are getting an error "Underfined index: _wpnonce" originating from this line here.

The issue seems to be that the method is expecting the _wpnonce field to be included in the $_POST, but in this case it's not.

Would a suitable workaround be to replace $post_array['_wpnonce'] with wp_create_nonce('windows_azure_storage_progress')?

samueldjack avatar May 19 '17 14:05 samueldjack

Hi @samueldjack, When you disable the other plugin does the error still persist?

allan23 avatar May 24 '17 15:05 allan23

I haven't actually tried that, but I do know we only see the error when the other plugin uploads images. I think it does it via a REST api.

On 24 May 2017 at 16:22, Allan Collins [email protected] wrote:

Hi @samueldjack https://github.com/samueldjack, When you disable the other plugin does the error still persist?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/10up/windows-azure-storage/issues/22#issuecomment-303758276, or mute the thread https://github.com/notifications/unsubscribe-auth/AAzINNMeqarKpTq7QoQTa1pczSa25QBwks5r9EssgaJpZM4NgmTm .

-- Samuel Jack Seaturtle Software Ltd http://www.seaturtlesoftware.com Skype: samuel_d_jack

samueldjack avatar May 24 '17 16:05 samueldjack