var $arcuWidget;var zaloWidgetInterval;var tawkToInterval;var tawkToHideInterval;var skypeWidgetInterval;var lcpWidgetInterval;var closePopupTimeout;var lzWidgetInterval;var paldeskInterval;var arcuOptions;var hideCustomerChatInterval;var _arCuTimeOut=null;var arCuPromptClosed=false;var _arCuWelcomeTimeOut=null;var arCuMenuOpenedOnce=false;var arcuAppleItem=null;var arCuMessages=["Hola!
\nEstamos en l\u00ednea.","Puedes cont\u00e1ctarnos a
\ntrav\u00e9s de este bot\u00f3n.","Inf\u00f3rmate ahora de las ventajas de ser
\nsoci@ de nuestro club."];var arCuLoop=false;;var arCuCloseLastMessage=false;var arCuDelayFirst=2000;var arCuTypingTime=2000;var arCuMessageTime=4000;var arCuClosedCookie=0;var arcItems=[];window.addEventListener('load',function(){$arcuWidget=document.createElement('div');var body=document.getElementsByTagName('body')[0];$arcuWidget.id='arcontactus';if(document.getElementById('arcontactus')){document.getElementById('arcontactus').parentElement.removeChild(document.getElementById('arcontactus'));} body.appendChild($arcuWidget);arCuClosedCookie=arCuGetCookie('arcu-closed');$arcuWidget.addEventListener('arcontactus.init',function(){$arcuWidget.classList.add('arcuAnimated');$arcuWidget.classList.add('zoomInUp');setTimeout(function(){$arcuWidget.classList.remove('zoomInUp');},1000);if(document.querySelector('#arcu-form-callback form')){document.querySelector('#arcu-form-callback form').append(contactUs.utils.DOMElementFromHTML(arCUVars._wpnonce));} if(document.querySelector('#arcu-form-email form')){document.querySelector('#arcu-form-email form').append(contactUs.utils.DOMElementFromHTML(arCUVars._wpnonce));} $arcuWidget.addEventListener('arcontactus.successSendFormData',function(event){});$arcuWidget.addEventListener('arcontactus.successSendFormData',function(event){});$arcuWidget.addEventListener('arcontactus.errorSendFormData',function(event){if(event.detail.data&&event.detail.data.message){alert(event.detail.data.message);}});$arcuWidget.addEventListener('arcontactus.hideFrom',function(){clearTimeout(closePopupTimeout);});if(arCuClosedCookie){return false;} arCuShowMessages();});$arcuWidget.addEventListener('arcontactus.closeMenu',function(){arCuCreateCookie('arcumenu-closed',1,1);});$arcuWidget.addEventListener('arcontactus.openMenu',function(){clearTimeout(_arCuTimeOut);if(!arCuPromptClosed){arCuPromptClosed=true;contactUs.hidePrompt();}});$arcuWidget.addEventListener('arcontactus.showFrom',function(){clearTimeout(_arCuTimeOut);if(!arCuPromptClosed){arCuPromptClosed=true;contactUs.hidePrompt();}});$arcuWidget.addEventListener('arcontactus.showForm',function(){clearTimeout(_arCuTimeOut);if(!arCuPromptClosed){arCuPromptClosed=true;contactUs.hidePrompt();}});$arcuWidget.addEventListener('arcontactus.hidePrompt',function(){clearTimeout(_arCuTimeOut);if(arCuClosedCookie!="1"){arCuClosedCookie="1";arCuPromptClosed=true;arCuCreateCookie('arcu-closed',1,0);}});var arcItem={};arcItem.id='msg-item-2';arcItem.class='msg-item-whatsapp';arcItem.title="Whatsapp";arcItem.icon='';arcItem.includeIconToSlider=true;arcItem.href='https://wa.me/+34673664022';arcItem.color='#329169';arcItems.push(arcItem);var arcItem={};arcItem.id='msg-item-6';arcItem.class='msg-item-phone';arcItem.title="Llama ahora";arcItem.icon='';arcItem.includeIconToSlider=true;arcItem.href='tel:+34673664022';arcItem.color='#329169';arcItems.push(arcItem);arcuOptions={rootElementId:'arcontactus',credits:false,visible:true,wordpressPluginVersion:'2.2.3',online:true,buttonIcon:'',layout:'default',drag:true,mode:'regular',buttonIconUrl:'https://onoffcannabisbarcelona.com/wp-content/plugins/ar-contactus/res/img/msg.svg',showMenuHeader:false,menuHeaderText:"How would you like to contact us?",menuSubheaderText:"",showHeaderCloseBtn:false,headerCloseBtnBgColor:'#008749',headerCloseBtnColor:'#FFFFFF',itemsIconType:'rounded',align:'right',reCaptcha:false,reCaptchaKey:'',countdown:0,theme:'#FF9100',buttonText:"¿Hablamos?",buttonSize:'large',buttonIconSize:24,menuSize:'large',phonePlaceholder:'',callbackSubmitText:'',errorMessage:'',callProcessText:'',callSuccessText:'',callbackFormText:'',iconsAnimationSpeed:600,iconsAnimationPause:2000,items:arcItems,ajaxUrl:'https://onoffcannabisbarcelona.com/wp-admin/admin-ajax.php',promptPosition:'side',popupAnimation:'fadeindown',style:'',itemsAnimation:'uptodown',backdrop:false,forms:{callback:{id:'callback',header:{content:"Déjenos su teléfono.\nUn asesor le llamará para resolver tus dudas.",layout:"text",},icon:'',success:"Gracias. \nLe llamaremos lo antes posible.",error:"Se ha perdido la conexión vuelva a intentarlo por favor.",action:'https://onoffcannabisbarcelona.com/wp-admin/admin-ajax.php',buttons:[{name:"submit",label:"ENVIAR",type:"submit",},],fields:{formId:{name:'formId',value:'callback',type:'hidden'},action:{name:'action',value:'arcontactus_request_callback',type:'hidden'},name:{name:"name",enabled:true,required:false,type:"text",label:"Introduce tu nombre",placeholder:"Nombre",values:[],value:"",},phone:{name:"phone",enabled:true,required:true,type:"tel",label:"Your phone number",placeholder:"+XXX-XX-XXX-XX-XX",values:[],value:"",},}},email:{id:'email',header:{content:"Write a email to us!",layout:"text",},icon:'',success:"Email sent! We will contact you soon.",error:"Error sending email! Please try again!",action:'https://onoffcannabisbarcelona.com/wp-admin/admin-ajax.php',buttons:[{name:"submit",label:"Submit",type:"submit",},],fields:{formId:{name:'formId',value:'email',type:'hidden'},action:{name:'action',value:'arcontactus_request_email',type:'hidden'},name:{name:"name",enabled:true,required:false,type:"text",label:"Your name",placeholder:"Enter your name",values:[],value:"",},email:{name:"email",enabled:true,required:true,type:"email",label:"Your email",placeholder:"Enter your email",values:[],value:"",},message:{name:"message",enabled:true,required:true,type:"textarea",label:"Your message",placeholder:"Enter your message",values:[],value:"",},gdpr:{name:"gdpr",enabled:true,required:true,type:"checkbox",label:"I accept GDPR rules",placeholder:"",values:[],value:"1",},}},}};contactUs.init(arcuOptions);}) WordPress › Error

Ha habido un error crítico en esta web.

Aprende más sobre el diagnóstico de WordPress.