So, again I come here to ask you for help.
I'm using Apus RealState Template with WooCommerce. Everything was fine til I installed a payment gateway module...
EDIT: Now I realized the conflict is between the template and WooCommerce. My payment methods box does not load fully (it loads, but it maintains a preloader overlaying/blocking the box), and this probably is relationed to the payment gateway conflict because the error below indicates "input's" actions, and the payment box works with input fields. What to do if the template is not compatible? Is there any need from WooCommerce that templates must provide?
Now, Wordpress logs the following to the console with every page I try to load:
Uncaught TypeError: Cannot read property 'includes' of undefined
at HTMLDocument. (erede.js:6)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
at Function.ready (jquery.js?ver=1.12.4:2)
at HTMLDocument.K (jquery.js?ver=1.12.4:2)
(anonymous) @ erede.js:6
i @ jquery.js?ver=1.12.4:2
fireWith @ jquery.js?ver=1.12.4:2
ready @ jquery.js?ver=1.12.4:2
K @ jquery.js?ver=1.12.4:2
This is the context mentioned from erede.js:
(function( $ ) {
'use strict';
$( function() {
var checkIfInputHasDefaultBehavior = $("#checkInputClass").css("background-image").includes("url");
if(!checkIfInputHasDefaultBehavior)
{
return;
}
but when I change the template, this error stops happening... does anyone know what might be going on?