4906 comments found.
i am facing the problem with installing the pluging.
Plugin could not be activated because it triggered a fatal error.
Fatal error: Can’t use function return value in write context in /home/chandras/public_html/websites/weloveprint.com.au/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_Option.php on line 549 https://weloveprint.com.au check screenshot there. http://prntscr.com/ie34zgHi,
This error is due the usage of an outdated version of PHP. Note that Wordpress and WCUF plugin (as reported in the description page) both require a minimum 5.5 version.
Could you confirm that you are using at least that version? to check go to WooCommerce -> System status.
If not please update and that error will be gone.
Updating php is usually a very simple operation in any web shared server. Go to the admin panel, search for some kind of advanced configuration
and in that section you can switch the php version to the latest.
thank-you
Hi,
it is due to a 3rd party javascript library interference. It seems that a javascript included by the “Stripe” plugin is raising an error preventing other javascript libraries to be properly executed. Disable that plugin or contact its developer in order to fix it. Once done you will be able to properly use the Upload Files plugin.
HOW İS UPDATE
Hello,
could you provide more details about your request?
the plugins is 30.3 version.i want to update the plugins but how will it be i dont know
the plugins is 30.3 version.i want to update the plugins but how will it be i dont know
the plugins is 30.3 version.i want to update the plugins but how will it be i dont know
- Manually do that by redownloading the plugin from codecanyon, deactivate and delete the old plugin version then install the new one. Don’t worry you won’t lose any setting
- Automatically update by installing hte Envato updater plugin: https://github.com/envato/wp-envato-market (download clicking: http://envato.github.io/wp-envato-market/dist/envato-market.zip ). Activate the plugin, click on Envato Market menu voice -> Settings and then click on the generate a personal token, follow the on-screen instruction and then paste the generated token. Once done you will be notified in case of plugin updates and in case you will be able to automatically update them.
thanks
1)Hello does the percentage numbers on upload have a unique class name for using with custom CSS? The name of it like ”#wcuf_percent_0-13186-0-idsai1” changes everytime on different uploads. I want to increase percentage numbers’ font-size.
2)Disclaimer option has an issue. Once it is not selected before uploading for the first time, it displays the disclaimer note. Thats nice. But then the customer is not able to upload files although the disclaimer checkbox is selected. Nothing happens.
3)Do you plan integrating an “image effects” like Adobe Aviary for the uploaded images?
Thanks in advance. Great plugin.
It should be great if we would see icons of file types (like a PDF icon, a WORD icon) for unpreviewable file types…
- Please download the latest 31.1 version I’ve just released. That element has now associated the wcuf_percent class, so you can customize it by using the .wcuf_percent CSS selector
- I’ve just performed a test on demo site and I was not able to experience the issue. Could you try to update the plugin to the latest version and report me if you still experience the issue? If so, it could be due to a 3rd party plugin interference that prevent the WCUF javascript library to be properly executed. Could you link the page on your site where you are experiencing the issue? I can try to analyze it with my tools to see if I can get some more clues about that issue
- No, any plan for that
- Thank you for the suggestion. Actually it will be a nice UI improvement. I’ll see if I can implement in the next plugin version!
For some reason, the upload field is only showing for users who are logged in. How can I fix this? I do not see setting for that anywhere!
Sorry, disregard that. I forgot there were two pages of options and I found we had “admin” role selected on plugin options page. Thanks!
No problem 
What do we need to do in order to upload the product page? I do not have the plugin product I installed, so I made the same settings as yours
help
To do that just enable the following options:
- on Visibility: Pages & form section, enable the Display field on Product page option (and optionally the on Product page, display the field BEFORE adding an item to the cart option)
- in the Visibility: Show the upload field for each product on cart/order enable the <strogn>Enable one upload field for every single product variation
In this way the upload field will be showed in each product page. In case of variable product, chose a variation and then the upload field will be showed.
Hi, I have one presale question, Is it possible to have the upload field only on checkout page, not on product page.
Before purchasing, do all the tests you need using the demo site:
http://www.codecanyon.eu/wcuf/wp-admin/
user: demo
pass: demo
To be sure it actually fits your needs and expectations. If you have further questions, feel free to ask!
Hi, I was trying to update through my wordpress dashboard for the 3.1 version and I got this error: An error occurred while updating WooCommerce Upload Files: Download failed. Forbidden I do have the envato market plugin installed, so not sure why it’s not updating.
Hi,
unfortunately it seems to be more an issue of the Envato updater plugin than of the Upload Files plugin. I don’t know why that plugin is raising that error, it could be due to it fails to authenticate.
Try to regenerate a token key and to re-authenticate it.
Bought this plugin and uploaded, followed instructions, yet no file upload option is showing up on the live website?
If you send me via private message (click on my name and then use the low-right box) with the following:
- you email address
- Full admin access to the wp-admin area
- a FTP access
- a detailed step by step guide on how to experience the issue
Hi. We are using your plugin to allow users to upload files from the product page. When they have completed their order we want them to have the option to re-order the same product. At the moment the files they uploaded do not carry across to the new order. Is there a way for me to do this by using any hooks/filters or calling a function from the plugin to attach the files to the new order?
We are using version 26 at the moment.
I can get the files using the get_post_meta ‘_wcuf_uploaded_files’ key, but seems you store the files in a session?
metadata are stored in a session only before the order is placed. Once done, files are stored in order metadata.
To retrieve the upload metadata you can just use the following code snippet:
global $wcuf_order_model; $uploas_metadata = $wcuf_order_model->get_uploaded_files_meta_data_by_order_id($order_id);and to save you can use:
<pre> global $wcuf_order_model; $uploas_metadata = $wcuf_order_model->save_uploaded_files_meta_data_to_order($order_id, $uploas_metadata); </pre>Where the $order_id is the order id. Note that if you just copy the metadata from an order to another one, they will refere to same files. This mean that if from an order you delete one file, it won’t be accessible from the other order. So when you copy those metadata you should also:
- reate a new order directory under the uploads/wcuf/{order_id} copy files in {product_id} sub diretories
- update $metadata structure with then new file paths
In this way you can access and manipulate files from each order without interferences.
That’s great, thanks for that. Will give that a try.
you’re welcome 
P. S.
If you have enjoyed my support and/or my plugin please also consider leaving the 5 stars, I would really really appreciate!
(to leave a rating: go to your profile page, click on “Downloads” and from there you can rate to your purchases)
Any idea why when a customer uploads a file, the progress bar goes to 100%, then I get a message ‘Processing data…’ and then no files are displayed and no files are present with the order either. Haven’t changed any code.
To make appear the uploaded files on the order, in case the field is displayed on product, cart or checkout pages, the user must complete the checkout process.
In case it is displayed in the order details page, once the upload is completed, it has to click on the “save uploads” buton: https://www.dropbox.com/s/07dlwd4jt2b1afr/wcuf_save_button.jpg?dl=0
No, it’s happening on the product page. The customer chooses the product, then tries to upload the file, it goes to 100% and displays ‘Processing data…’ and then nothing. Normally it will show the file you just uploaded in a list.
without any further clue it is quite hard to say which could be the cause. It could be due to a 3rd party plugin interference that denies the WCUF plugin to properly store the uploaded files. Try disabling all your 3rd party plugins to see if you still experiene the issue and to update the plugin to the latest 31.0 version.
If you still experience the issue, If you send me via private message (click on my name and then use the low-right box) the following data:
- you email address
- Full admin access to the wp-admin area
- a FTP access
- a link to a product page where I can experience the issue
I can try to perform some tests to see if it possible to get more clues about the issue.
Thanks, I’ll try a few things on my end and let you know.
All seems to be good now. Thanks for all the help. Got the files to copy across on re-order.
You’re welcome
!
Have a nice day! 
.
I send mail
Please help me.
Dear developer, every time I want to activate your plugin I recieve “Deleting file, please wait…” message on product page.
Do you have any suggestion how to solve this problem?
Thank You
Hi,
yes it seems that a 3rd party plugin is interfering. It seems that is including some bad javascript code that raises errors that cause the browser javascript engine to crash. This avoids the WCUF javascript library to be properly executed and then properly manage its html components (like hiding the Delete file message when it is not needed).
If you link me the page where you are experiencing the issue, I can try to anayze with my tools to see if it possible to get some more clues about the interfering plugin. In alternative you can disable all your 3rd party plugin then enable one by one until you find the one interfering. Once done report to its developer in order to fix it.
Please check this page: http://gravirexpres.sk/magic/shop/heart-baby-v1/
Thank You
Try disable/fix it to see if you still experience the issue.
In alternative, If you send me via private message (click on my name and then use the low-right box) with the following:
- you email address
- Full admin access to the wp-admin area
- a FTP access
UPDATE I’ve found the issue. Your installation is not processing this php script: http://gravirexpres.sk/magic/wp-content/plugins/woocommerce-upload-files/css/wcuf-frontend-product-page.css.php
It is a script that dynamically generates a css file used by the plugin for the product page. As you can see, you server is not processing that script and instead is making you to download it as it is a normal file.
It is then a server issue, contact your server maintainer (or properly configure it) on order to make sure tha all the scripts contained in the plugin subfolder are properly preprocessed by your server.
Hi, I have purchased and tried to install both from zip on plugins and manually to the plugins folder. Both give me a fatal error when activating Fatal error: Can’t use function return value in write context in /home/fxsignsd/public_html/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_Option.php on line 549
Can you advise please,
Thanks
I have fixed it by updating my php to 5.6 if anyone else has this issue, Thanks
yes that error was due to the usage of an old php version. Glad you fixed, have a nice day! 
Hello, I needed the upload field to appear only for some variation. I set up everything correctly and now it works. Is there a way to enable this configuration for every product without writing every single ID into the “select product” field inside the “visibility per product” Section ?
Thanks in advance, the plugin is awesome !
Greetings Hriot
Hi Hriot, thank you for your appreciation
For your purpose, you can directly select the master product (to which those variation belong) or select the categories to which those master product belongs (in case the variations you are referring belongs to different master products). Make also sure you have enabled the Enable one upload field for every single product variation option.
P.S.
If you have enjoyed my my plugin please consider leaving the 5 stars, I would really really appreciate! 
(to leave a rating: go to your profile page, click on “Downloads” and from there you can rate to your purchases)
Hi,
I am having trouble with the WC Uploads plugin install. I am getting the following error:
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected ‘[’ in /home/complete/public_html/printtuna.com/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_DropBox.php on line 31
Any help here would be appreciated.
Running Word Press 4.9.2 and the woocommerce was downloaded from within the plugin area today.
Thank you, Jeff
Hi,
This error is due the usage of an outdated version of PHP. Note that Wordpress and WCUF plugin (as reported in the description page) both require a minimum 5.5 version.
Could you confirm that you are using at least that version? to check go to WooCommerce -> System status.
If not please update and that error will be gone.
Updating php is usually a very simple operation in any web shared server. Go to the admin panel, search for some kind of advanced configuration
and in that section you can switch the php version to the latest.
with this plguin, can you specify which products will have an upload button and which wont ? i checked the demo admin but i couldnt find anything in the settings. Thank you
Hi,
yes you can. To do that, while configuring a field, use the Visibility: Product/Category section. It will allow you to display the field for every product of just for the one you need! 
Hello
How are you ?
I would like to know where I can change the colors of this button here :
https://image.noelshack.com/fichiers/2018/05/1/1517229718-capture-d-ecran-2018-01-29-a-13-41-34.pngIt’s the upload button called “Ajoutez vos fichiers”
Kind regards.
to change the style of the browse button, just se the following css selector:
button.wcuf_upload_field_buttonTo change the style of the upload button use this selector:
button.wcuf_upload_multiple_files_button
The plugin by default is not defining any particular style for button, those elements inherit the theme default style.
Which file please ?
You can add those custom rule in the wcuf-frontend-product-page.css.php file you find in the css folder inside the upload files plugin directory or you can modify the custom.css file that you find inside your theme directory.
Hi, is it possible to show the name of the uploaded file on the invoice? I use the “WooCommerce PDF Invoices” to generate the PDF Invoices.. any help is appreciated.. thanks
yes I think it is possible however you have to customize the template that plugin uses to generate invoices.
Once you found the tempalte file customize it by retrieving the uploaded meta data using the following snippet:
global $wcuf_upload_field_model; $metadata = $wcuf_upload_field_model->get_uploaded_files_meta_data_by_order_id($orde_id);where the $order_id is the order id. To get uploaded file names you have just to:
foreach($metadata as $upload_field)
foreach($upload_field["file_temp_name"] as $file_name)
echo $file_name;
In this way all file names will be printend. Customize that code as you wish!
thanks but unfortunelly i get a white page when i use the code snippet.. also when i correct the typo($orde_id).. what could be the problem? no errors in error log.. only white page..
found this in the wc logs matching the time i tryed the codesnippets “CRITICAL Call to a member function get_meta() on boolean”
Hi,
it seems then that you are applying the get_meta() function to a non integer id. Which is exactly the line that raises that error? In the code snippet I’ve sugested there isn’t such function.
I would also suggest to activate the WordPress debug mode (https://codex.wordpress.org/Debugging_in_WordPress ) to have a more detailes info about the error.
so, now i have probably the full error “Fatal error: Call to a member function get_meta() on boolean in /data/web/e36889/html/apps/wordpress-57214/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_UploadField.php on line 23”
and also this.. Error message detected – PDF file generation aborted. Invalid argument supplied for foreach() File: /data/web/e36889/html/apps/wordpress-57214/wp-content/plugins/woocommerce-pdf-invoices/includes/templates/invoice/simple/minimal/body.php Line: 79
It seems then that the $order_id you are passing is not a valid order id. This is why the get_meta fails to retrieve metadata for that post id. Make sure that that variable is containing a valid order numeric value.
For what concerns the data/web/e36889/html/apps/wordpress-57214/wp-content/plugins/woocommerce-pdf-invoices/includes/templates/invoice/simple/minimal/body.php Line: 79
the error, as you can read from the script path, is raised by the woocommerce-pdf-invoices plugin so I cannot assist for that error.
yeah, but thats the line where i insert your code.. 
ok then there is no need to report the entire stack trace, it just need to report the line that causes the error.
In this case it is related just to the fact you are using the code I suggested with a non valid order id. It seems that there is any post (order) with that id, so the wordpress get_meta() function fails. Make sure to be passing a valid numeric order id.
hmm, i deleted all orders and same error, what can i do about this? i have no idea where i can look.. or how to solve.
What do you exactly mean that you deleted all the orders? There is no need to delete them. Unfortunately the support service doesn’t include customization service. It is meant to be used to have assistance for bug or malfunctioning.
In your case I’ve just suggested a possible solution and the error you are experiencing it is to a wrong usage of that code. As reported earlier it seems you are passing a wrong parameter. The order ids you are using seems to be related to non existing orders. So to let it work there isn’t no need to delete orders, you have just to use the right parameters. It is then you task to let it properly work out to find another solution to achieve your purpose.
i wrote you an emaill there is also this on the checkout page.. WCUF] javascript libraries have not properly loaded due to 3rd party plugin interference. ReferenceError: wcuf_exists_at_least_one_upload_field_bounded_to_gateway is not defined
It seems that another 3rd party plugin is interfering by including a bad javascript code that denies the WCUF plugin to properly work. I got your private message, I’ll reply there.
Ciao. due domande ... se dovessi acquistare il plugin e lo uso su un sito e poi ad esempio non mi serve più su quel sito e vorrei usarlo su un altro.. si può fare o devo comprare una altra licenza. Seconda domanda… E’ prevista una tipologia di licenza a costo maggiorato che mi permette di usare il plugin su più o illimitati siti. Grazie.
Ciao,
la licenza d’uso ti consente di usare il plugin in un sito alla volta. Quindi se lo disattivi da una parte e o l’attivi in un altra non infrangi la licenza.
Purtroppo Envato permette di acquistare una licenza “senza limiti” o più siti. Bisogna acquistare una licenza per sito. Eventualmente magari prova a contattare il loro team di supporto per vedere se è possibile qualcosa in proposito.
ciao. ho acquistato il tuo plugin e l’ho attivato e configurato (sapevo già come farlo perchè amministravo un altro sito dove veniva usato il plugin). Però c’è un bel problema… Quando acquisto un prodotto e termino la procedura dell’ordine fino al messaggio il tuo ordine è stato completato (con pagamento alla consegna). A quel punto doveva comparire il pulsante per fare l’UPLOAD…di cui invece non c’è traccia. Nell’altro sito compariva esattamente in quel momento. Cosa succede? Grazie.Posso darti le credenziali per accedere se servono.
Grazie per l’acquisto
Per visualizzare gli upload fields nella pagina “Thank you” (la pagina visualizzata dopo aver completato il pagamento) devi abilitare l’opzione Display field on Thank you page nella sezione Visibility: Pages & form . Fammi sapere se questo risolve il problema o no.
Con o senza questa opzione il campo upload non viene visualizzato. Avevo già provato.
Upgrade. Sembro aver risolto il problema della comparsa del campo. Comunque avevo riscontrato alcune altre diversità rispetto al funzionamento del plugin installato su quell’altro sito. Farò delle prove. Grazie
Ciao. risolto il problema della comparsa del campo, c’è ne un altro. quando cerco di caricare 41 foto mediante un campo con opzione di invio multiplo mi da il seguente errore in una finestra pop-up: “DSC_0566.JPG Max allowed size: 0 MB DSC_0567.JPG Max allowed size: 0 MB DSC_0568.JPG Max allowed size: 0 MB…. così avanti per ognuno dei 41 files. Tieni conto che ho lasciato impostati su 0 (cioè senza limiti) tutti i campi che limitano le dimensioni dei file. pertanto non riesco a spiegarmi questo errore.
purtroppo non riesco a riprodurre l’errore. Per caso hai modificato in qualche modo il plugin? Potresti verificare che nella pagina in questione aprendo la console del browser (F12 su Chrome, CTRL+SHIFT+K su FireFox) non vengano riportati errori javascript? Potresti condividermi uno screenshot della configurazione relative alla sezione “Simgle/Multiple”? Potresti usare usare il sito demo per riprodurre la configurazione che stai utilizzando per l’upload field e dirmi se riscontri lo stesso malfunzionamento?
In caso negativo, averi bisogno che tu mi inviassi via messaggio privato (clicca sul mio nome e quindi usa il box in basso a destra:)
- accesso admin all’area wp-admin
- accesso FTP
- guida step by step su come riprodurre l’errore
Hello,
I’m sorry to bother you again but I have to come back with a very important issue for me. I build a site for a photo print shop where customers can upload a number of photos to be printed. Unfortunately, when a mobile phone is used for these uploads, the customer can select in the photo gallery of the phone only one picture once instead of multiple photos. Because most customers use mobile phones to access the site to send pictures to print, this inconvenience is very disturbing and greatly compromises my client’s business. I really need help on this issue.
Regards, Alex
Unfortunately this goes beyond the plug-in controll. When the user click on the input file button, from that point the browser takes controls showing its file selection dialog controller.
The browser file selection contoller (for obvious security reasons) cannot be override by JavaScript applications. It however should allow users to multiple select files (maybe just keep pressing on any file to enable the multiple file selection option).
Other than this I cannot do more.