I am reciving this error Code when updating the page. Any solution?
Fatal error: Uncaught Error: Call to a member function get_downloadable_products() on null in /customers/e/a/a/sheet.direct/httpd.www/wp-content/plugins/woocommerce-my-downloads-shortcode/woocommerce-my-downloads.php:97 Stack trace: #0 /customers/e/a/a/sheet.direct/httpd.www/wp-includes/shortcodes.php(355): Woocommerce_My_Downloads::my_downloads_button_shortcode(Array, '', 'woocommerce-my-...') #1 [internal function]: do_shortcode_tag(Array) #2 /customers/e/a/a/sheet.direct/httpd.www/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(woocom...', 'do_shortcode_ta...', '
apply_filters('
build_indexable(1103) #8 /customers/e/a/a/sheet.direct/httpd.www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #9 /customers/e/a/a/sheet.direct/httpd.www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /customers/e/a/a/sheet.direct/httpd.www/wp-includes/post.php(4728): do_action('wp_insert_post', 1103, Object(WP_Post), true) #11 /customers/e/a/a/sheet.direct/httpd.www/wp-includes/post.php(4819): wp_insert_post(Array, false, true) #12 /customers/e/a/a/sheet.direct/httpd.www/wp-admin/includes/post.php(426): wp_update_post(Array) #13 /customers/e/a/a/sheet.direct/httpd.www/wp-admin/post.php(227): edit_post() #14 {main} thrown in /customers/e/a/a/sheet.direct/httpd.www/wp-content/plugins/woocommerce-my-downloads-shortcode/woocommerce-my-downloads.php on line 97
]]>
Hi! Your plugin saves me
However I have a bug… If I activate the plugin, the editor where there are any shortcode of this plugin, give a fatal error. When I have to edit the page, I deactivate the plugin, I do the change, and then I get back to activate it. But this for my client is tricky so, please how can I fix it?
Thanks
]]>hi, I have two questions:
1) Is the plugin compatible with WooSubscription?
I read that a year ago it was not compatible.
2) When I activate the plugin and add the shortcode it creates an error. For a single file to download create 2 buttons instead of 1.
Thanks ??
]]>Hello. I′m useing the shortcode
[woocommerce-my-downloads-button id=PRODUCT_ID]
To show download button on product page.
The problem is I add a new product, button is not show.
I tried regenerateing donwload permissions and add new subscription after I addeds this new product, but nathing work..
I′m useing the follow versiones:
WooCommerce 5.2.2
WooCommerce Subscription 3.0.13
WooCommerce Subscription Downloads 1.1.31
My Downloads Shortcode for WooCommerce 1.7.0
I hope you can help me!
Thanks
Hello,
Thank you for the useful plugin!
I would like the multiple downloadable items of products to be displayed grouped by the product titles, like following:
+ Product one title
Download file 1
Download file 2
Doenload file 3
+ Product two title
Download file 1
Download file 2
+ Product three title
Download file 1
Download file 2
Doenload file 3
etc.
I would appreciate any help to do that.
]]>Hello.
I have woocommerce 4.8 and use shortcode [woocommerce-my-downloads-button id=710] where “710” is ID of variable product with two downloadable files. It`s display nothing. Could you help and fix it please?
I tried with standart product too. Same result.
]]>Hi! Your plugin is amazing, I just want to know how I can translate the “Download Now” and “No Downloads Available” texts.
Also willing to know if theres is an “automatic” way to add this buttons directly to the single product page of all products.
Right now im able to add your shortcode “[woocommerce-my-downloads-button id=PRODUCT_ID]” at the product excript so the buttons are shown on the product page but i need to manually change the ID for each product.
Is there a way to do this automatically with any kind of code snippet?
Thanks
]]>hi there
I am one of the users of your plugin
The plugin worked well before the new WooCommerce updates
But new WooCommerce or WordPress updates have caused the following problem:
If the product has several download files for sale, the name of the download link for all files indicates the name of the first download file
Please review, fix, or guide me for these bugs
thanks
]]>plugin Version 1.6.0
Query Monitor displays this error:
wp-content/plugins/woocommerce-my-downloads-shortcode/tpl/my-downloads.php:15
]]>On editor page save this appears:
Fatal error: Uncaught Error: Call to a member function get_downloadable_products() on null
in /home/xxxxxxxxxxx/public_html/wp-content/plugins/woocommerce-my-downloads-shortcode/woocommerce-my-downloads.php on line 69
Call stack:
Woocommerce_My_Downloads::my_downloads_shortcode()
wp-includes/shortcodes.php:325
do_shortcode_tag()
preg_replace_callback()
wp-includes/shortcodes.php:199
do_shortcode()
wp-content/themes/the-core-parent/framework-customizations/extensions/shortcodes/shortcodes/text-block/views/view.php:46
require()
wp-content/plugins/unyson/framework/helpers/general.php:745
fw_render_view()
wp-content/plugins/unyson/framework/extensions/shortcodes/includes/class-fw-shortcode.php:226
FW_Shortcode::_render()
wp-content/plugins/unyson/framework/extensions/shortcodes/includes/class-fw-shortcode.php:191
FW_Shortcode::render()
wp-includes/shortcodes.php:325
do_shortcode_tag()
preg_replace_callback()
wp-includes/shortcodes.php:199
do_shortcode()
wp-content/themes/the-core-parent/framework-customizations/extensions/shortcodes/shortcodes/column/views/view.php:145
require()
wp-content/plugins/unyson/framework/helpers/general.php:745
fw_render_view()
wp-content/plugins/unyson/framework/extensions/shortcodes/includes/class-fw-shortcode.php:226
FW_Shortcode::_render()
wp-content/plugins/unyson/framework/extensions/shortcodes/includes/class-fw-shortcode.php:191
FW_Shortcode::render()
wp-includes/shortcodes.php:325
do_shortcode_tag()
preg_replace_callback()
wp-includes/shortcodes.php:199
do_shortcode()
wp-content/plugins/unyson/framework/extensions/shortcodes/shortcodes/row/views/view.php:5
require()
wp-content/plugins/unyson/framework/helpers/general.php:745
fw_render_view()
wp-content/plugins/unyson/framework/extensions/shortcodes/includes/class-fw-shortcode.php:226
FW_Shortcode::_render()
wp-content/plugins/unyson/framework/extensions/shortcodes/includes/class-fw-shortcode.php:191
FW_Shortcode::render()
wp-includes/shortcodes.php:325
do_shortcode_tag()
preg_replace_callback()
wp-includes/shortcodes.php:199
do_shortcode()
wp-content/themes/the-core-parent/framework-customizations/extensions/shortcodes/shortcodes/section/views/view.php:334
require()
wp-content/plugins/unyson/framework/helpers/general.php:745
fw_render_view()
wp-content/plugins/unyson/framework/extensions/shortcodes/includes/class-fw-shortcode.php:226
FW_Shortcode::_render()
wp-content/plugins/unyson/framework/extensions/shortcodes/includes/class-fw-shortcode.php:191
FW_Shortcode::render()
wp-includes/shortcodes.php:325
do_shortcode_tag()
preg_replace_callback()
wp-includes/shortcodes.php:199
do_shortcode()
wp-content/plugins/unyson/framework/extensions/shortcodes/extensions/page-builder/class-fw-extension-page-builder.php:216
FW_Extension_Page_Builder::_action_fw_post_options_update()
wp-includes/class-wp-hook.php:290
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:312
WP_Hook::do_action()
wp-includes/plugin.php:478
do_action()
wp-content/plugins/unyson/framework/helpers/database.php:212
FW_Db_Options_Model_Post::_after_set()
wp-content/plugins/unyson/framework/helpers/class-fw-db-options-model.php:328
FW_Db_Options_Model::set()
wp-content/plugins/unyson/framework/helpers/database.php:239
fw_set_db_post_option()
wp-content/plugins/unyson/framework/core/components/backend.php:865
_FW_Component_Backend::_action_save_post()
wp-includes/class-wp-hook.php:288
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:312
WP_Hook::do_action()
wp-includes/plugin.php:478
do_action()
wp-includes/post.php:4129
wp_insert_post()
wp-includes/post.php:4206
wp_update_post()
wp-admin/includes/post.php:407
edit_post()
wp-admin/post.php:219
Query Monitor
WordPress “fatal” error. Plugin loop failed to run.
error message
Warning: A non-numeric value encountered in /home/fxecad5/public_html/wp-content/plugins/woocommerce-my-downloads-shortcode/tpl/my-downloads.php on line 15
environment
WordPress version 5.3.2
Current theme: The Core Child (version 1.002i)
Current plugin: My Downloads Shortcode for WooCommerce (version 1.6.0)
WooCommerce Version 3.9.2
PHP version 7.3.11
Today received a warning from my WordPress install which caused it to go into Recovery mode.
Here’s the error from this plugin which seems to be causing the issue.
Error Details
=============
An error of type E_ERROR was caused in line 58 of the file /home/thedecor/public_html/wp-content/plugins/woocommerce-my-downloads-shortcode/woocommerce-my-downloads.php. Error message: Uncaught Error: Call to a member function get_downloadable_products() on null in /home/thedecor/public_html/wp-content/plugins/woocommerce-my-downloads-shortcode/woocommerce-my-downloads.php:58
Stack trace:
#0 /home/thedecor/public_html/wp-includes/shortcodes.php(325): Woocommerce_My_Downloads::my_downloads_shortcode(”, ”, ‘woocommerce-my-…’)
#1 [internal function]: do_shortcode_tag(Array)
#2 /home/thedecor/public_html/wp-includes/shortcodes.php(199): preg_replace_callback(‘/\\[(\\[?)(woocom…’, ‘do_shortcode_ta…’, ‘[woocommerce-my…’)
#3 /home/thedecor/public_html/wp-content/plugins/divi-builder/includes/builder/functions.php(3576): do_shortcode(‘[woocommerce-my…’)
#4 /home/thedecor/public_html/wp-content/plugins/divi-builder/includes/builder/functions.php(3253): et_pb_add_builder_page_js_css()
#5 /home/thedecor/public_html/wp-includes/class-wp-hook.php(286): et_pb_admin_scripts_styles(‘post.php’)
#6 /home/thedecor/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
Any ideas how to fix?
]]>Hi. My products page load very slow if I disable the plugin woocommere and product pages work very well. Can you check if the plugin has a problem with the new WC versions? I have the last WC version and the problem start 2 or 3 month ago.
Ghanks
]]>[woocommerce-my-downloads]
When I paste this code WITH no other code on a NEW page, that page becomes uneditable. Using new BLOCK WordPress editor.
Page was named “My Downloads” URL: … /my-downloads
error message
Fatal error: Call to a member function get_downloadable_products() on null in /home/XXXXXX/public_html/wp-content/plugins/woocommerce-my-downloads-shortcode/woocommerce-my-downloads.php on line 58
other information
Wordpress v 5.1.1
WooCommerce Version 3.5.7
PHP 5.6
TEST customer hasno downloads
Workaround. My Theme provides an older editor that nests the shortcode inside a text block. Page name: “My Download Files”.
]]>Plugin appears to be working and download links showing, however this error message displays above them:
Warning: A non-numeric value encountered in
wp-content/plugins/woocommerce-my-downloads-shortcode/tpl/my-downloads.php on line 15
Line 15 is reading as follows:
$downloadsRemaining = ( $downloadLimit – $download[‘downloads_remaining’] );
Please advise how to remove this message.
]]>Hello, I would like to display the product name instead of the Name of the File to download, What do I have to change?
Thanks for your help!
]]>hi there,
nice plugin, the shortcode generates a list of links for downloads, but i have same issue like this post: https://www.ads-software.com/support/topic/product-name-showing-one-same-name/
echo do_shortcode('[woocommerce-my-downloads-button id='.$product->get_id().']');
how can i fix this?
thnx and regards
andrej
I am getting the following error when I use the shortcode:
Warning: A non-numeric value encountered in [path to php file] on line 15.
When I check this is what is at line 15:
protected static $prefix = ‘wcmd’;
Any ideas?
]]>The shortcode doesn’t work anymore after the upgrade to WP 5.0
It just shows the shortcode but not the download link
Hello I′m useing WP 4.9.6 and Woocommerce 3.4.3 and if I actived the plugin I recibe the follow error messages when I save the product:
Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the /home/..../public_html/borrar/wp-includes/functions.php on line 4148
Fatal error: Uncaught Error: Call to a member function get_downloadable_products() on null in /home/..../public_html/borrar/wp-content/plu in /home/..../public_html/borrar/wp-content/plugins/woocommerce-my-downloads-shortcode/woocommerce-my-downloads.php on line 86
All is in backend on frontend all work fine.
Do you have any idea about this issue and what we can sove?
Thanks
Hello,
It’s GREAT Plugin. Product name in order page showing the exact file name correctly but on the list of files using this shortcode showing One Same Name (First file name only for all files). You can check screenshot below to make more clear.
Order page each files has its name: https://i.imgur.com/JqSYR2J.png
Using shortcode showing same name for all files: https://i.imgur.com/ZmsMyBE.png
]]>This was working previously for years but today I noticed the Product Name does not show next to the download.
We’re using the following:
WordPress 4.9.4
WooCommerce 3.3.1
WooCommerce My Downloads Shortcode 1.5
Flatsome 3.5.1
I’ve tried using the default Twenty Sixteen theme but the problem exists still.
Any ideas how to fix?
]]>Can I filter the shortcode by product category?
]]>Hi,
Is there any possibility to hide the links which have expired or which have already been used, so that only the links with remaining downloads can be displayed ?
Thanks for your attention
Kinds regards,
Clément
]]>Hi. it’s not working with WC 3.1
Anyone can fix this?
Hi, thank you for this wonderful plugin ??
I am having a small issue.
The shortcode [woocommerce-my-downloads] works great and it displays one download per line. But the shortcode [woocommerce-my-downloads-button id=PRODUCT_ID] displays all downloads of the product in a single line. This makes the links appear very messy. Can you please show me a solution to fix this? Thank you.
Image: https://drive.google.com/file/d/0B1myJlOn-mMCMlZNb2hJSGxIOW8/view
]]>Is it possible to change to the default sorting of the Plug-In to the Product Name?
Regards
]]>I am using this great plugin, but it appears to no longer be working properly. It once was, but perhaps the wp update broke it.
Now, when I click on any download buttons (audio files), the browser simply opens a player and plays them instead of downloading them.
Is this a known issue? Can anyone help me fix it?
https://www.ads-software.com/plugins/woocommerce-my-downloads-shortcode/
]]>This plugin is basically exactly what I was looking for, but with one problem: we have products that have multiple downloads attached. For the simple all downloads shortcode this is fine, but when trying to use the shortcode for an individual product with multiple files attached, things don’t go as well.
All the downloadable files appear as links in a row (with no spacing) and for some reason, all of the download names show up as the first file in the list.
Specifically, if I have a product called Ebook Bundle with files Book 1, Book 2 and Book 3, it shows up like:
Download Ebook Bundle – Book 1Download Ebook Bundle – Book 1Download Ebook Bundle – Book 1
All three downloads link to the three separate files (Book 1, Book 2 and Book 3) but the names show up as Book 1, and obviously the fact that they show up on one line like that is not ideal. Can you fix?
https://www.ads-software.com/plugins/woocommerce-my-downloads-shortcode/
]]>Is it possible to show individual Downloads By ID. so i can put different downloads on different pages?
https://www.ads-software.com/plugins/woocommerce-my-downloads-shortcode/
]]>