Since my host provider made a mess between http://www.mysite.com and mysite.com, I was forced in replacing all my digital items in mysite.com (fantasy name)
This time I appended the strings to the file names.
The site works perfectly, customers can buy and download their digital items
when I try to GRANT ACCESS to an extra digital item in any order (just to make a gift to my customers, the item is in the database), the filename is added to the field but when I hit the button “Grant access” the wheel spins forever and the access in not granted.
Checking the Logs in the Woocommerce Status, I see:
CRITICAL Uncaught Error: Call to a member function get_quantity() on null in /home/customer/www/mysite.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php:808 Stack trace: #0 /home/customer/www/mysite.com/public_html/wp-includes/class-wp-hook.php(292): WC_AJAX::grant_access_to_download('') #1 /home/customer/www/mysite.com/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array) #2 /home/customer/www/mysite.com/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #3 /home/customer/www/mysite.com/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_woocomm...')
thrown in /home/customer/www/mysite.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php on line 808
Can you HELP?
- The topic ‘GRANT ACCESS wheel spins forever’ is closed to new replies.