rhinorainer
Forum Replies Created
-
I fixed the problem in my case by calling directly the function wcdp_donation_form on my theme’s single-product.php
Before I tried doing that using the shortcode, but the shortcode handler somehow always passes $is_internal as false to the donation form builder, which had to cause this error due to the following code in class-wcdp-form.php:75:
if ( !$no_donation_form_yet || (!$is_internal && is_product())) { return '<p class="wcdp-error-message">' . esc_html__('Only one donation form per page allowed','wc-donation-platform' ) . '</p>'; }Got the same problem here, works well with some themes, e.g. twenty twenty-one, but not with the one I planned to use … Hope this is of any help!
https://trashurehunters.org/product/00014/
Brings up the following errors in Console:
jquery.min.js?ver=3.6.0:2 jQuery.Deferred exception: Cannot read properties of undefined (reading 'checkValidity') TypeError: Cannot read properties of undefined (reading 'checkValidity') at HTMLDocument.<anonymous> (https://trashurehunters.org/wp-content/plugins/wc-donation-platform/assets/js/wcdp.min.js?ver=1.2.5:1:3285) at e (https://trashurehunters.org/wp-includes/js/jquery/jquery.min.js?ver=3.6.0:2:30038) at t (https://trashurehunters.org/wp-includes/js/jquery/jquery.min.js?ver=3.6.0:2:30340) undefined S.Deferred.exceptionHook @ jquery.min.js?ver=3.6.0:2 t @ jquery.min.js?ver=3.6.0:2 setTimeout (async) (anonymous) @ jquery.min.js?ver=3.6.0:2 c @ jquery.min.js?ver=3.6.0:2 add @ jquery.min.js?ver=3.6.0:2 (anonymous) @ jquery.min.js?ver=3.6.0:2 s.Deferred.s.Deferred @ jquery-migrate.min.js?ver=3.3.2:2 then @ jquery.min.js?ver=3.6.0:2 S.fn.ready @ jquery.min.js?ver=3.6.0:2 (anonymous) @ wcdp.min.js?ver=1.2.5:1 e @ jquery.min.js?ver=3.6.0:2 t @ jquery.min.js?ver=3.6.0:2 setTimeout (async) (anonymous) @ jquery.min.js?ver=3.6.0:2 c @ jquery.min.js?ver=3.6.0:2 fireWith @ jquery.min.js?ver=3.6.0:2 fire @ jquery.min.js?ver=3.6.0:2 c @ jquery.min.js?ver=3.6.0:2 fireWith @ jquery.min.js?ver=3.6.0:2 ready @ jquery.min.js?ver=3.6.0:2 B @ jquery.min.js?ver=3.6.0:2 jquery.min.js?ver=3.6.0:2 Uncaught TypeError: Cannot read properties of undefined (reading 'checkValidity') at HTMLDocument.<anonymous> (wcdp.min.js?ver=1.2.5:1:3285) at e (jquery.min.js?ver=3.6.0:2:30038) at t (jquery.min.js?ver=3.6.0:2:30340) (anonymous) @ wcdp.min.js?ver=1.2.5:1 e @ jquery.min.js?ver=3.6.0:2 t @ jquery.min.js?ver=3.6.0:2 setTimeout (async) S.readyException @ jquery.min.js?ver=3.6.0:2 (anonymous) @ jquery.min.js?ver=3.6.0:2 e @ jquery.min.js?ver=3.6.0:2 t @ jquery.min.js?ver=3.6.0:2 setTimeout (async) (anonymous) @ jquery.min.js?ver=3.6.0:2 c @ jquery.min.js?ver=3.6.0:2 fireWith @ jquery.min.js?ver=3.6.0:2 fire @ jquery.min.js?ver=3.6.0:2 c @ jquery.min.js?ver=3.6.0:2 fireWith @ jquery.min.js?ver=3.6.0:2 t @ jquery.min.js?ver=3.6.0:2 setTimeout (async) (anonymous) @ jquery.min.js?ver=3.6.0:2 c @ jquery.min.js?ver=3.6.0:2 add @ jquery.min.js?ver=3.6.0:2 (anonymous) @ jquery.min.js?ver=3.6.0:2 s.Deferred.s.Deferred @ jquery-migrate.min.js?ver=3.3.2:2 then @ jquery.min.js?ver=3.6.0:2 S.fn.ready @ jquery.min.js?ver=3.6.0:2 (anonymous) @ wcdp.min.js?ver=1.2.5:1 e @ jquery.min.js?ver=3.6.0:2 t @ jquery.min.js?ver=3.6.0:2 setTimeout (async) (anonymous) @ jquery.min.js?ver=3.6.0:2 c @ jquery.min.js?ver=3.6.0:2 fireWith @ jquery.min.js?ver=3.6.0:2 fire @ jquery.min.js?ver=3.6.0:2 c @ jquery.min.js?ver=3.6.0:2 fireWith @ jquery.min.js?ver=3.6.0:2 ready @ jquery.min.js?ver=3.6.0:2 B @ jquery.min.js?ver=3.6.0:2 DevTools failed to load source map: Could not load content for https://trashurehunters.org/wp-content/themes/razzi/assets/js/plugins/swiper.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILUREOkay, I’ll contact the host, but after checking the error log I can tell you that there’s no entry at all …
Thanks anyways for the support, I’ll keep you updated.At the moment I don’t have the log file at hand, but there’s a error message in the browser when waiting for the time out:
The page you are looking for is temporarily unavailable. Please try again later. f2dbf7661a6f901852d1f224b27a9e5f 1df6e6d7fce500c0d2a52d6cf24b1056 da25fcb23f0d2afd2fed533a7b73d00aI will provide the error log asap.