You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On WordPress 4.6.0, running the latest version of the feature/azure-plugin-rewrite-v4 branch, I'm getting the following error when trying to upload from wp-admin/media-new.php:
[29-Aug-2016 19:52:31 UTC] PHP Fatal error: Cannot use object of type WP_Error as array in /srv/www/{CLIENT}/htdocs/wp-content/plugins/windows-azure-storage/includes/class-windows-azure-helper.php on line 413
Full error_log for the request, including artificial stack-trace added just before the return in Windows_Azure_Helper::get_unique_blob_name():
[29-Aug-2016 19:52:30 UTC] PHP Notice: add_utility_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /srv/www/{CLIENT}/htdocs/wp-includes/functions.php on line 3706
[29-Aug-2016 19:52:30 UTC] PHP Warning: array_flip() expects parameter 1 to be array, object given in /srv/www/{CLIENT}/htdocs/wp-content/plugins/windows-azure-storage/includes/class-windows-azure-rest-api-client.php on line 1167
[29-Aug-2016 19:52:30 UTC] PHP Warning: array_flip() expects parameter 1 to be array, object given in /srv/www/{CLIENT}/htdocs/wp-content/plugins/windows-azure-storage/includes/class-windows-azure-rest-api-client.php on line 1167
[29-Aug-2016 19:52:31 UTC] PHP Warning: array_flip() expects parameter 1 to be array, object given in /srv/www/{CLIENT}/htdocs/wp-content/plugins/windows-azure-storage/includes/class-windows-azure-rest-api-client.php on line 1167
[29-Aug-2016 19:52:31 UTC] PHP Warning: array_flip() expects parameter 1 to be array, object given in /srv/www/{CLIENT}/htdocs/wp-content/plugins/windows-azure-storage/includes/class-windows-azure-rest-api-client.php on line 1167
[29-Aug-2016 19:52:31 UTC] Array
(
[0] => Array
(
[file] => /srv/www/{CLIENT}/htdocs/wp-content/plugins/windows-azure-storage/includes/class-windows-azure-helper.php
[line] => 411
[function] => sanitize_blobs_names
[class] => Windows_Azure_Rest_Api_Client
[object] => Windows_Azure_Rest_Api_Client Object
(
[_account_name:protected] => 10updeveloper
[_access_key:protected] => +mtM8I7dqygfRtXJNjkZIFmB1oPNwTjYnkrmDrHwUDIEHFJiQv+hgt9s/olQRH5YWJB74pnC1ux1Lq872u8lyw==
[_current_url:protected] =>
[_signature_headers:protected] => Array
(
[0] => Content-Encoding
[1] => Content-Language
[2] => Content-Length
[3] => Content-MD5
[4] => Content-Type
[5] => Date
[6] => If-Modified-Since
[7] => If-Match
[8] => If-None-Match
[9] => If-Unmodified-Since
[10] => Range
)
)
[type] => ->
[args] => Array
(
[0] => ncmedia
[1] => Array
(
[2016/08/Screen Shot 2016-08-29 at 11.58.46 AM.png] => Array
(
[2016/08/Screen Shot 2016-08-29 at 11.58.46 AM.png] => 2016/08/Screen Shot 2016-08-29 at 11.58.46 AM.png
)
)
)
)
[1] => Array
(
[file] => /srv/www/{CLIENT}/htdocs/wp-content/plugins/windows-azure-storage/windows-azure-storage.php
[line] => 521
[function] => get_unique_blob_name
[class] => Windows_Azure_Helper
[type] => ::
[args] => Array
(
[0] => ncmedia
[1] => 2016/08/Screen Shot 2016-08-29 at 11.58.46 AM.png
)
)
[2] => Array
(
[function] => windows_azure_storage_wp_handle_upload_prefilter
[args] => Array
(
[0] => Array
(
[name] => Screen Shot 2016-08-29 at 11.58.46 AM.png
[type] => image/png
[tmp_name] => /tmp/phpOATbcM
[error] => 0
[size] => 87232
)
)
)
[3] => Array
(
[file] => /srv/www/{CLIENT}/htdocs/wp-includes/plugin.php
[line] => 235
[function] => call_user_func_array
[args] => Array
(
[0] => windows_azure_storage_wp_handle_upload_prefilter
[1] => Array
(
[0] => Array
(
[name] => Screen Shot 2016-08-29 at 11.58.46 AM.png
[type] => image/png
[tmp_name] => /tmp/phpOATbcM
[error] => 0
[size] => 87232
)
)
)
)
[4] => Array
(
[file] => /srv/www/{CLIENT}/htdocs/wp-admin/includes/file.php
[line] => 263
[function] => apply_filters
[args] => Array
(
[0] => wp_handle_upload_prefilter
[1] => Array
(
[name] => Screen Shot 2016-08-29 at 11.58.46 AM.png
[type] => image/png
[tmp_name] => /tmp/phpOATbcM
[error] => 0
[size] => 87232
)
)
)
[5] => Array
(
[file] => /srv/www/{CLIENT}/htdocs/wp-admin/includes/file.php
[line] => 449
[function] => _wp_handle_upload
[args] => Array
(
[0] => Array
(
[name] => Screen Shot 2016-08-29 at 11.58.46 AM.png
[type] => image/png
[tmp_name] => /tmp/phpOATbcM
[error] => 0
[size] => 87232
)
[1] => Array
(
[test_form] =>
)
[2] => 2016-08-29 12:52:30
[3] => wp_handle_upload
)
)
[6] => Array
(
[file] => /srv/www/{CLIENT}/htdocs/wp-admin/includes/media.php
[line] => 282
[function] => wp_handle_upload
[args] => Array
(
[0] => Array
(
[name] => Screen Shot 2016-08-29 at 11.58.46 AM.png
[type] => image/png
[tmp_name] => /tmp/phpOATbcM
[error] => 0
[size] => 87232
)
[1] => Array
(
[test_form] =>
)
[2] => 2016-08-29 12:52:30
)
)
[7] => Array
(
[file] => /srv/www/{CLIENT}/htdocs/wp-admin/async-upload.php
[line] => 91
[function] => media_handle_upload
[args] => Array
(
[0] => async-upload
[1] => 0
)
)
)
[29-Aug-2016 19:52:31 UTC] PHP Fatal error: Cannot use object of type WP_Error as array in /srv/www/{CLIENT}/htdocs/wp-content/plugins/windows-azure-storage/includes/class-windows-azure-helper.php on line 413
[29-Aug-2016 19:55:00 UTC] PHP Notice: add_utility_page is <strong>deprecated</strong> since version 4.5.0! Use add_menu_page() instead. in /srv/www/{CLIENT}/htdocs/wp-includes/functions.php on line 3706
[29-Aug-2016 19:55:01 UTC] PHP Warning: array_flip() expects parameter 1 to be array, object given in /srv/www/{CLIENT}/htdocs/wp-content/plugins/windows-azure-storage/includes/class-windows-azure-rest-api-client.php on line 1165
[29-Aug-2016 19:55:01 UTC] PHP Warning: array_flip() expects parameter 1 to be array, object given in /srv/www/{CLIENT}/htdocs/wp-content/plugins/windows-azure-storage/includes/class-windows-azure-rest-api-client.php on line 1165
The text was updated successfully, but these errors were encountered:
On WordPress 4.6.0, running the latest version of the feature/azure-plugin-rewrite-v4 branch, I'm getting the following error when trying to upload from wp-admin/media-new.php:
Full error_log for the request, including artificial stack-trace added just before the
return
inWindows_Azure_Helper::get_unique_blob_name()
:The text was updated successfully, but these errors were encountered: