HTTP Error on CDN upload
-
Hi,
unable to upload attachments or media with Amazon CDN activated after last update (0.9.7.1).
An HTTP Error is shown and the upload is aborted.It seems only one argument is passed to W3TC\Cdn_Plugin::check_inserting_new_attachment() through WordPress class-wp-hook.php.
2019/01/29 13:02:05 [error] 21516#21516: *9979755 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function W3TC\Cdn_Plugin::check_inserting_new_attachment(), 1 passed in [PATH]/wp-includes/class-wp-hook.php on line 288 and exactly 2 expected in [PATH]/wp-content/plugins/w3-total-cache/Cdn_Plugin.php:156 Stack trace: #0 [PATH]/wp-includes/class-wp-hook.php(288): W3TC\Cdn_Plugin->check_inserting_new_attachment(Array) #1 [PATH]/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array) #2 [PATH]/wp-includes/post.php(3513): apply_filters('wp_insert_attac...', Array, Array) #3 [PATH]/wp-includes/post.php(5082): wp_insert_post(Array, true) #4 [PATH]/wp-admin/includes/media.php(382): wp_insert_attachment(Array, '[PATH]...', 0, true) #5 [PATH]/wp-admin/async-upload.php(81): media_handle_upload('async-upload', 0) #6 {main}
Thank you.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘HTTP Error on CDN upload’ is closed to new replies.