GithubHelp home page GithubHelp logo

buddyfile's People

Contributors

abtanjir avatar

Watchers

 avatar  avatar

buddyfile's Issues

Fatal error

When trying to view the special Url just after installing the plugin.

Fatal error: Uncaught Exception: Invalid order. in /wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:103 Stack trace: #0 /wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order)) #1 /wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(112): WC_Data_Store->read(Object(WC_Order)) #2 /wp-content/plugins/buddyfile-master/buddy-functions.php(45): WC_Abstract_Order->__construct('12446') #3 /wp-content/plugins/buddyfile-master/filebuddy-template.php(10): buyer_by_product_id(Array) #4 /wp-includes/template-loader.php(106): include('/...') #5 /wp-blog-header.php(19): require_once('/...') #6 /index.php(17): require('/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php on line 103

Did not used WP_Rest api for uploading files.

You have used a upload.php file and taking the URL using data_attributes using jQuery.
And also our main requirement was all the users can not upload a file. Admin will have setup page and admin will put a product id there. If a user buys that product in that case that user will have access to that special upload page. And user just can see his own uploaded file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.