Hello.
Getting the following error/stack trace when uploading files on a bare wordpress install, running PHP 8.0
[18-Mar-2021 17:10:37 UTC] PHP Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in wp-content/plugins/advanced-uploader/upload.php:982
Stack trace:
#0 wp-content/plugins/advanced-uploader/upload.php(982): implode()
#1 wp-includes/class-wp-hook.php(292): advupl_attachment_fields_to_edit()
#2 wp-includes/plugin.php(212): WP_Hook->apply_filters()
#3 wp-admin/includes/media.php(1925): apply_filters()
#4 wp-includes/media.php(4116): get_compat_media_markup()
#5 [internal function]: wp_prepare_attachment_for_js()
#6 wp-admin/includes/ajax-actions.php(2993): array_map()
#7 wp-includes/class-wp-hook.php(292): wp_ajax_query_attachments()
#8 wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#9 wp-includes/plugin.php(484): WP_Hook->do_action()
#10 wp-admin/admin-ajax.php(187): do_action()
#11 {main}
thrown in wp-content/plugins/advanced-uploader/upload.php on line 982
Kind Regards
– Allan
Good morning,
I am using WordPress v5.5 and Advanced uploader version 4.1
I am trying to upload a pdf size 12.2MB and I am getting this error
<html> <head><title>413 Request Entity Too Large</title></head> <body bgcolor=”white”> <center><h1>413 Request Entity Too Large</h1></center> <hr><center>nginx/1.14.0 (Ubuntu)</center> </body> </html>
Please help
]]>The image generation only works when the PDF is a single page. When my files are more than one page, it doesn’t upload the file at all and just gets stuck on the uploading progress bar. I tried waiting 15 minutes to see if it ever uploaded, but it does not. Thanks for any help.
]]>Hello
Is it possible to change the destination folder of the media with a PHP hook?
We would like to upload the media in a folder corresponding to the post-type of the article attached.
Thanks.
]]>Hi,
I have been unsuccessfully trying to upload MP4 files of 300MB and up. Usually, somewhere around 10-12% into it the uploader shows an empty dialog box with a “close” button. When I press it, there is an “HTTP Error” message, and the upload stops.
Please help!
Thank you,
Irakly
In the Advanced Uploader pluging settings, when you click “Scan” uploads directory…
The button at the bottom next to “Cancel” should be spelled “Add Destinations”.
You have the “a” and “n” reversed. ??
]]>I get HTTP error loading some MP3 files to the server.
]]>I am using this plugin to upload a maximum of 30mb files. It seems to stay on crunching forever. Is this normal?
]]>This looks interesting, but it’s not working for me at the moment. Query Monitor reports the following errors, which might explain why:
Undefined index: error wp-content/plugins/advanced-uploader/upload.php:611
Undefined variable: labelStyle wp-content/plugins/advanced-uploader/upload.php:620
Undefined variable: destStyle wp-content/plugins/advanced-uploader/upload.php:621
Undefined variable: libStyle wp-content/plugins/advanced-uploader/upload.php:622
Undefined variable: destStyle wp-content/plugins/advanced-uploader/upload.php:714
Undefined index: type wp-content/plugins/advanced-uploader/upload.php:217
Undefined index: id wp-content/plugins/advanced-uploader/upload.php:218
]]>
Hi,
I installed your plugin a week ago and it was working fantastic until recently. Now, every time I upload a file larger than 8Mb (the servers max_upload_size), the upload fails and says “Chunk size to large”.
]]>This plugins might save our needed requirement of 1GB uploads on WP.
A few questions after my install:
– Chrome
– latest WP
– many plugins
1. On upload, I see several times 0-100% progress bar. I’d like to see a chunk counter, otherwise it looks like repetitive upload
2. Post upload, I can change title, but I see no SAVE button?
3. Settings: I cannot select a directory (I do not want to anyhow), but why is it fixed on wp-content/uploads/2015/07 ? I assume it means that it is CURRENTLY set to July, but will change to august when it comes, right (probably my lamest question here)
4. Do you document a bit what each setting does or means? I am a bit lost at WordPress Galleries as destinations, BWS and how the auto-category works, potentially with any category for media plugin.
5. Any lost functionality when checking Replace default Uploader? Is it future proof or sensitive to core updates of WP?
Many thanks for this free work. Much appreciate it!
]]>Hello,
is there a way to manually set the chunk size used for the transfer of large files?
I am trying to use your plugin on a wordpress that runs on nginx and is located behind a load balancer.
The plugin shows an http error.
There is no error code shown, but I am quite sure it must be the infamous “413 request entity too large” .
Thanks for your help!
]]>I found the following detail, I would like to know if you can help me solve.
1. When adding an element from page upload.php, the selection window is displayed, when selecting a destination, starts loading the file, before giving click the select button to close the window you just click on the select button again and starts loading the file, with this files that are uploaded are doubled.
2. Files are uploaded so properly, however the following happens, the path of the files are missing the last back slash eg
Upload the file sample.png and route shown wordpress
wp-content / uploads / 2015 / 02sample.png
As additional data, the wordpress version is 4.1.1, using the server under Windows Server 2008 with IIS7
]]>We would like to use a modern “page flip” viewer for our uploaded PDFs, which however needs a JPG or PNG of each PDF page. It seemed to me that your plugin could easily do this as an option, since you have all the right software in place. Would this be hard? The plages could be listed under attachment meta like the thumbnails…
]]>AH01215: PHP Warning: Invalid argument supplied for foreach() in /home/sites/xxxxxxxxx.com/public_html/xxxxxxxx/wp-content/plugins/advanced-uploader/upload.php on line 210
]]>After activating “Advanced uploader” I’m unable to change the Nirvana (by Cryout Creations) theme-specific settings. In Appearance>Nirvana Settings clicking the section headers does nothing. All is well if I deactivate the “Advanced uploader” plugin.
]]>I had PHP errors turned on and had to make the following changes to the upload.php script (version 2 of the plugin, on WP 4.0) in order to get the plugin working.
Please could you incorporate this in to your next release?
Lines 122-128:
// get list of Categories
if ($cat) {
$excludes = explode (',', get_option( 'adv_file_upload_exc_cat', 'Uncategorized' ));
$cats = adv_file_upload_cat_list( 0, array(), $excludes );
- }
+ } else {
+ $cats = false;
+ }
Line 171 (sometimes get_intermediate_image_sizes()
will return false):
- foreach( get_intermediate_image_sizes() as $s ) {
+ $intermediate_sizes = get_intermediate_image_sizes();
+ if (!is_array($intermediate_sizes)) {
+ $intermediate_sizes = array();
+ }
+ foreach ( $intermediate_sizes as $s ) {
Line 198 ($destinations can be false if get_option('adv_file_upload_destination')
fails on line 59):
+ if (!is_array($destinations)){
+ $destinations = array();
+ }
foreach( $destinations as $dest ) {
Line 237 ($cats was also not an array somehow):
+ if(!is_array($cats)){
+ $cats = array();
+ }
foreach( $cats as $value ) {
]]>
My test site has very few plugins, basically only BulletProof Security, The Gantry Framework and theme, BackWPup and AmberPanther WP Include File.
I am using Chrome.
I created a new folder “/home/digitala/public_html/wp-content/uploads/LargeFiles”
I tried uploading “cats&dogs1.mp4” at 320,532,480 bytes.
WP says max upload size is 1GB.
I have the choice to use Advanced Uploader.
I drag/drop the file and progress shows for several minutes.
When complete I have a file about 1.6 or 1.7MB, not 320MB, twice now.
WP error log has the same entry repeating every minute or so:
31-Oct-2014 01:17:14 America/New_York] PHP Warning: POST Content-Length of 8390103 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
[31-Oct-2014 01:17:26 America/New_York] PHP Warning: POST Content-Length of 8390103 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
[31-Oct-2014 01:17:44 America/New_York] PHP Warning: POST Content-Length of 8390103 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
]]>
On the dashboard screen I’m getting error from this plugin:
Uncaught SyntaxError: Unexpected token <
</<# var scriptend=””#>script>
This causes the metaboxes to break.
]]>WordPress 4.0
Advanced uploader 1.12
wp-admin/upload.php?mode=list
I have added a custom destination and checked the Add to Library checkbox.
But it never asks me to choose the destination when I upload. The upload starts and the file ends up in the default directory.
The file is uploaded with the Advanced Uploader, it just doesn’t ask me where to put it.
]]>I am trying to add Destinations.
FYI:
The checkbox for “Organize my uploads into month- and year-based folders” is UNCHECKED.
Default Info:
Label -> Default
Destination -> wp-content/uploads
UNSUCCESSFUL EXAMPLE ENTRY:
Label -> Audio
Destination -> wp-content/uploads/my_audio
for the Destination directory, my unsuccessful attempts were:
my_audio
wp-content/uploads/my_audio
wp-content/uploads_my_audio
FYI: I have tried these entries with and without the “Add to Library” checkbox and still received the error.
Each entry above resulted in the error:
“Expecting a valid directory! Please fix.
To add to WordPress Library Destination must be in within uploads directory! Please fix.“
My end goal is to create unique directories for different medias. (ie: images, audio, video, etc.)
]]>Hello,
I just installed the plugin, checked the settings (default destination set fine), and went to the Media > Advanced Uploader area to upload a PDF. The PDF gets uploaded, but no thumbnail is created. Am I missing something? I’m using the latest Firefox.
]]>Hi
For example I upload large *.avi, everything seems to be okay, plugin create thumbnail but where is source file? (large file I uploaded?) I cant find it in directory structure.
I tried upload with mixed plugin settings and always is the same issue.
]]>I get these two errors on page load even before trying to upload anything. I’ve tried this plugin in chrome and firefox on windows 8.1.
Here are the two errors:
Notice: Trying to get property of non-object in /home/username/public_html/…/wp-content/plugins/advanced-uploader/upload.php on line 257
Notice: Use of undefined constant attachment – assumed ‘attachment’ in /home/username/public_html/…/wp-content/plugins/advanced-uploader/upload.php on line 257
]]>hello! Upload happens correctly but the files do no appear in the media gallery. What can I change to make it visible there ? Thanks
]]>Hi,
I’m trying to get thumnail image for a .pdf file… in the content.php template, but I have no idea how I can do it… can someone help me?
Thank You!
]]>Hi !
Installed on 3.8.1.
When I choose the Advanced Uploader in the dashboard the file upload screen shows up.
But after selecting a file to upload nothing happens !?!
Or like Dymskiy said 5 hours ago: “the plugin is out of order” ??
Any idea ?
cu
Tom
broken it seems at fresh 3.8.1
]]>