mageprakash / OrderAttachment

Magento 2 Order Attachment by MagePrakash allows customers to attachments proof such as Images, PDFs or any type of Files/Docs while placing the orders.
18 stars 9 forks source link

Uncaught Reference Error #9

Open sudo-sharjeel opened 4 years ago

sudo-sharjeel commented 4 years ago

On Image upload from front end

Uncaught ReferenceError: Unable to process binding "attr: function(){return { rel:hash,class:'sp-attachment-row attach-'+hash} }" Message: hash is not defined at attr (eval at createBindingsStringEvaluator (knockout.js:2982), :3:70) at update (knockout.js:4033) at ko.dependentObservable.disposeWhenNodeIsRemoved (knockout.js:3373) at Function.evaluateImmediate_CallReadThenEndDependencyDetection (knockout.js:2173) at Function.evaluateImmediate_CallReadWithDependencyDetection (knockout.js:2140) at Function.evaluateImmediate (knockout.js:2101) at Object.ko.computed.ko.dependentObservable (knockout.js:1954) at knockout.js:3371 at Object.arrayForEach (knockout.js:159) at applyBindingsToNodeInternal (knockout.js:3343)

mageprakash commented 4 years ago

Hello Sharjeel

Please let me know the version of Magento

sudo-sharjeel commented 4 years ago

2.3.4

On Tue, 18 Feb 2020, 6:07 pm prakash282, notifications@github.com wrote:

Hello Sharjeel

Please let me know the version of Magento

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/prakash282/OrderAttachment/issues/9?email_source=notifications&email_token=AOSY6CUFCNT6SJAITAHWBPDRDPMSPA5CNFSM4KXD34Q2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMB4X3Y#issuecomment-587451375, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOSY6CUZ3FGSAYGB5DTHRADRDPMSPANCNFSM4KXD34QQ .

GianniPDF commented 4 years ago

Right now can't tell if it is because something in the code, but for me was a .htaccess i put in the pub/media/orderattachment folder