Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter khanarslan1115

    (@khanarslan1115)

    Hello??

    did anyone figure out the problem? I am still stuck there.

    Thread Starter khanarslan1115

    (@khanarslan1115)

    Hello @wbrubaker i tried adding define( 'CONCATENATE_SCRIPTS', false );
    but i got the same error…moreover the jquery.blockUI is quite a big set of code lines, i accessed it via my cpanel and i will post the code here along with a screen shot to make sure that this is exactly what you asked me for:

    jquery.blockUI.js

    /*!
     * jQuery blockUI plugin
     * Version 2.70.0-2014.11.23
     * Requires jQuery v1.7 or later
     *
     * Examples at: http://malsup.com/jquery/block/
     * Copyright (c) 2007-2013 M. Alsup
     * Dual licensed under the MIT and GPL licenses:
     * http://www.opensource.org/licenses/mit-license.php
     * http://www.gnu.org/licenses/gpl.html
     *
     * Thanks to Amir-Hossein Sobhi for some excellent contributions!
     */
    ;(function() {
    /*jshint eqeqeq:false curly:false latedef:false */
    "use strict";
    
    	function setup($) {
    		$.fn._fadeIn = $.fn.fadeIn;
    
    		var noOp = $.noop || function() {};
    
    		// this bit is to ensure we don't call setExpression when we shouldn't (with extra muscle to handle
    		// confusing userAgent strings on Vista)
    		var msie = /MSIE/.test(navigator.userAgent);
    		var ie6  = /MSIE 6.0/.test(navigator.userAgent) && ! /MSIE 8.0/.test(navigator.userAgent);
    		var mode = document.documentMode || 0;
    		var setExpr = 'function' === typeof document.createElement('div').style.setExpression ? document.createElement('div').style.setExpression : false;
    
    		// global $ methods for blocking/unblocking the entire page
    		$.blockUI   = function(opts) { install(window, opts); };
    		$.unblockUI = function(opts) { remove(window, opts); };
    
    		// convenience method for quick growl-like notifications  (http://www.google.com/search?q=growl)
    		$.growlUI = function(title, message, timeout, onClose) {
    			var $m = $('<div class="growlUI"></div>');
    			if (title) $m.append('<h1>'+title+'</h1>');
    			if (message) $m.append('<h2>'+message+'</h2>');
    			if (timeout === undefined) timeout = 3000;
    
    			// Added by konapun: Set timeout to 30 seconds if this growl is moused over, like normal toast notifications
    			var callBlock = function(opts) {
    				opts = opts || {};
    
    				$.blockUI({
    					message: $m,
    					fadeIn : typeof opts.fadeIn  !== 'undefined' ? opts.fadeIn  : 700,
    					fadeOut: typeof opts.fadeOut !== 'undefined' ? opts.fadeOut : 1000,
    					timeout: typeof opts.timeout !== 'undefined' ? opts.timeout : timeout,
    					centerY: false,
    					showOverlay: false,
    					onUnblock: onClose,
    					css: $.blockUI.defaults.growlCSS
    				});
    			};
    
    			callBlock();
    			var nonmousedOpacity = $m.css('opacity');
    			$m.on( 'mouseover', function() {
    				callBlock({
    					fadeIn: 0,
    					timeout: 30000
    				});
    
    				var displayBlock = $('.blockMsg');
    				displayBlock.stop(); // cancel fadeout if it has started
    				displayBlock.fadeTo(300, 1); // make it easier to read the message by removing transparency
    			}).on( 'mouseout', function() {
    				$('.blockMsg').fadeOut(1000);
    			});
    			// End konapun additions
    		};
    
    		// plugin method for blocking element content
    		$.fn.block = function(opts) {
    			if ( this[0] === window ) {
    				$.blockUI( opts );
    				return this;
    			}
    			var fullOpts = $.extend({}, $.blockUI.defaults, opts || {});
    			this.each(function() {
    				var $el = $(this);
    				if (fullOpts.ignoreIfBlocked && $el.data('blockUI.isBlocked'))
    					return;
    				$el.unblock({ fadeOut: 0 });
    			});
    
    			return this.each(function() {
    				if ($.css(this,'position') == 'static') {
    					this.style.position = 'relative';
    					$(this).data('blockUI.static', true);
    				}
    				this.style.zoom = 1; // force 'hasLayout' in ie
    				install(this, opts);
    			});
    		};
    
    		// plugin method for unblocking element content
    		$.fn.unblock = function(opts) {
    			if ( this[0] === window ) {
    				$.unblockUI( opts );
    				return this;
    			}
    			return this.each(function() {
    				remove(this, opts);
    			});
    		};
    
    		$.blockUI.version = 2.70; // 2nd generation blocking at no extra cost!
    
    		// override these in your code to change the default behavior and style
    		$.blockUI.defaults = {
    			// message displayed when blocking (use null for no message)
    			message:  '<h1>Please wait...</h1>',
    
    			title: null,		// title string; only used when theme == true
    			draggable: true,	// only used when theme == true (requires jquery-ui.js to be loaded)
    
    			theme: false, // set to true to use with jQuery UI themes
    
    			// styles for the message when blocking; if you wish to disable
    			// these and use an external stylesheet then do this in your code:
    			// $.blockUI.defaults.css = {};
    			css: {
    				padding:	0,
    				margin:		0,
    				width:		'30%',
    				top:		'40%',
    				left:		'35%',
    				textAlign:	'center',
    				color:		'#000',
    				border:		'3px solid #aaa',
    				backgroundColor:'#fff',
    				cursor:		'wait'
    			},
    
    			// minimal style set used when themes are used
    			themedCSS: {
    				width:	'30%',
    				top:	'40%',
    				left:	'35%'
    			},
    
    			// styles for the overlay
    			overlayCSS:  {
    				backgroundColor:	'#000',
    				opacity:			0.6,
    				cursor:				'wait'
    			},
    
    			// style to replace wait cursor before unblocking to correct issue
    			// of lingering wait cursor
    			cursorReset: 'default',
    
    			// styles applied when using $.growlUI
    			growlCSS: {
    				width:		'350px',
    				top:		'10px',
    				left:		'',
    				right:		'10px',
    				border:		'none',
    				padding:	'5px',
    				opacity:	0.6,
    				cursor:		'default',
    				color:		'#fff',
    				backgroundColor: '#000',
    				'-webkit-border-radius':'10px',
    				'-moz-border-radius':	'10px',
    				'border-radius':		'10px'
    			},
    
    			// IE issues: 'about:blank' fails on HTTPS and javascript:false is s-l-o-w
    			// (hat tip to Jorge H. N. de Vasconcelos)
    			/*jshint scripturl:true */
    			iframeSrc: /^https/i.test(window.location.href || '') ? 'javascript:false' : 'about:blank',
    
    			// force usage of iframe in non-IE browsers (handy for blocking applets)
    			forceIframe: false,
    
    			// z-index for the blocking overlay
    			baseZ: 1000,
    
    			// set these to true to have the message automatically centered
    			centerX: true, // <-- only effects element blocking (page block controlled via css above)
    			centerY: true,
    
    			// allow body element to be stetched in ie6; this makes blocking look better
    			// on "short" pages.  disable if you wish to prevent changes to the body height
    			allowBodyStretch: true,
    
    			// enable if you want key and mouse events to be disabled for content that is blocked
    			bindEvents: true,
    
    			// be default blockUI will supress tab navigation from leaving blocking content
    			// (if bindEvents is true)
    			constrainTabKey: true,
    
    			// fadeIn time in millis; set to 0 to disable fadeIn on block
    			fadeIn:  200,
    
    			// fadeOut time in millis; set to 0 to disable fadeOut on unblock
    			fadeOut:  400,
    
    			// time in millis to wait before auto-unblocking; set to 0 to disable auto-unblock
    			timeout: 0,
    
    			// disable if you don't want to show the overlay
    			showOverlay: true,
    
    			// if true, focus will be placed in the first available input field when
    			// page blocking
    			focusInput: true,
    
                // elements that can receive focus
                focusableElements: ':input:enabled:visible',
    
    			// suppresses the use of overlay styles on FF/Linux (due to performance issues with opacity)
    			// no longer needed in 2012
    			// applyPlatformOpacityRules: true,
    
    			// callback method invoked when fadeIn has completed and blocking message is visible
    			onBlock: null,
    
    			// callback method invoked when unblocking has completed; the callback is
    			// passed the element that has been unblocked (which is the window object for page
    			// blocks) and the options that were passed to the unblock call:
    			//	onUnblock(element, options)
    			onUnblock: null,
    
    			// callback method invoked when the overlay area is clicked.
    			// setting this will turn the cursor to a pointer, otherwise cursor defined in overlayCss will be used.
    			onOverlayClick: null,
    
    			// don't ask; if you really must know: http://groups.google.com/group/jquery-en/browse_thread/thread/36640a8730503595/2f6a79a77a78e493#2f6a79a77a78e493
    			quirksmodeOffsetHack: 4,
    
    			// class name of the message block
    			blockMsgClass: 'blockMsg',
    
    			// if it is already blocked, then ignore it (don't unblock and reblock)
    			ignoreIfBlocked: false
    		};
    
    		// private data and functions follow...
    
    		var pageBlock = null;
    		var pageBlockEls = [];
    
    		function install(el, opts) {
    			var css, themedCSS;
    			var full = (el == window);
    			var msg = (opts && opts.message !== undefined ? opts.message : undefined);
    			opts = $.extend({}, $.blockUI.defaults, opts || {});
    
    			if (opts.ignoreIfBlocked && $(el).data('blockUI.isBlocked'))
    				return;
    
    			opts.overlayCSS = $.extend({}, $.blockUI.defaults.overlayCSS, opts.overlayCSS || {});
    			css = $.extend({}, $.blockUI.defaults.css, opts.css || {});
    			if (opts.onOverlayClick)
    				opts.overlayCSS.cursor = 'pointer';
    
    			themedCSS = $.extend({}, $.blockUI.defaults.themedCSS, opts.themedCSS || {});
    			msg = msg === undefined ? opts.message : msg;
    
    			// remove the current block (if there is one)
    			if (full && pageBlock)
    				remove(window, {fadeOut:0});
    
    			// if an existing element is being used as the blocking content then we capture
    			// its current place in the DOM (and current display style) so we can restore
    			// it when we unblock
    			if (msg && typeof msg != 'string' && (msg.parentNode || msg.jquery)) {
    				var node = msg.jquery ? msg[0] : msg;
    				var data = {};
    				$(el).data('blockUI.history', data);
    				data.el = node;
    				data.parent = node.parentNode;
    				data.display = node.style.display;
    				data.position = node.style.position;
    				if (data.parent)
    					data.parent.removeChild(node);
    			}
    
    			$(el).data('blockUI.onUnblock', opts.onUnblock);
    			var z = opts.baseZ;
    
    			// blockUI uses 3 layers for blocking, for simplicity they are all used on every platform;
    			// layer1 is the iframe layer which is used to supress bleed through of underlying content
    			// layer2 is the overlay layer which has opacity and a wait cursor (by default)
    			// layer3 is the message content that is displayed while blocking
    			var lyr1, lyr2, lyr3, s;
    			if (msie || opts.forceIframe)
    				lyr1 = $('<iframe class="blockUI" style="z-index:'+ (z++) +';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+opts.iframeSrc+'"></iframe>');
    			else
    				lyr1 = $('<div class="blockUI" style="display:none"></div>');
    
    			if (opts.theme)
    				lyr2 = $('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+ (z++) +';display:none"></div>');
    			else
    				lyr2 = $('<div class="blockUI blockOverlay" style="z-index:'+ (z++) +';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>');
    
    			if (opts.theme && full) {
    				s = '<div class="blockUI ' + opts.blockMsgClass + ' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(z+10)+';display:none;position:fixed">';
    				if ( opts.title ) {
    					s += '<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(opts.title || '&nbsp;')+'</div>';
    				}
    				s += '<div class="ui-widget-content ui-dialog-content"></div>';
    				s += '</div>';
    			}
    			else if (opts.theme) {
    				s = '<div class="blockUI ' + opts.blockMsgClass + ' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(z+10)+';display:none;position:absolute">';
    				if ( opts.title ) {
    					s += '<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(opts.title || '&nbsp;')+'</div>';
    				}
    				s += '<div class="ui-widget-content ui-dialog-content"></div>';
    				s += '</div>';
    			}
    			else if (full) {
    				s = '<div class="blockUI ' + opts.blockMsgClass + ' blockPage" style="z-index:'+(z+10)+';display:none;position:fixed"></div>';
    			}
    			else {
    				s = '<div class="blockUI ' + opts.blockMsgClass + ' blockElement" style="z-index:'+(z+10)+';display:none;position:absolute"></div>';
    			}
    			lyr3 = $(s);
    
    			// if we have a message, style it
    			if (msg) {
    				if (opts.theme) {
    					lyr3.css(themedCSS);
    					lyr3.addClass('ui-widget-content');
    				}
    				else
    					lyr3.css(css);
    			}
    
    			// style the overlay
    			if (!opts.theme /*&& (!opts.applyPlatformOpacityRules)*/)
    				lyr2.css(opts.overlayCSS);
    			lyr2.css('position', full ? 'fixed' : 'absolute');
    
    			// make iframe layer transparent in IE
    			if (msie || opts.forceIframe)
    				lyr1.css('opacity',0.0);
    
    			//$([lyr1[0],lyr2[0],lyr3[0]]).appendTo(full ? 'body' : el);
    			var layers = [lyr1,lyr2,lyr3], $par = full ? $('body') : $(el);
    			$.each(layers, function() {
    				this.appendTo($par);
    			});
    
    			if (opts.theme && opts.draggable && $.fn.draggable) {
    				lyr3.draggable({
    					handle: '.ui-dialog-titlebar',
    					cancel: 'li'
    				});
    			}
    
    			// ie7 must use absolute positioning in quirks mode and to account for activex issues (when scrolling)
    			var expr = setExpr && (!$.support.boxModel || $('object,embed', full ? null : el).length > 0);
    			if (ie6 || expr) {
    				// give body 100% height
    				if (full && opts.allowBodyStretch && $.support.boxModel)
    					$('html,body').css('height','100%');
    
    				// fix ie6 issue when blocked element has a border width
    				if ((ie6 || !$.support.boxModel) && !full) {
    					var t = sz(el,'borderTopWidth'), l = sz(el,'borderLeftWidth');
    					var fixT = t ? '(0 - '+t+')' : 0;
    					var fixL = l ? '(0 - '+l+')' : 0;
    				}
    
    				// simulate fixed position
    				$.each(layers, function(i,o) {
    					var s = o[0].style;
    					s.position = 'absolute';
    					if (i < 2) {
    						if (full)
    							s.setExpression('height','Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:'+opts.quirksmodeOffsetHack+') + "px"');
    						else
    							s.setExpression('height','this.parentNode.offsetHeight + "px"');
    						if (full)
    							s.setExpression('width','jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"');
    						else
    							s.setExpression('width','this.parentNode.offsetWidth + "px"');
    						if (fixL) s.setExpression('left', fixL);
    						if (fixT) s.setExpression('top', fixT);
    					}
    					else if (opts.centerY) {
    						if (full) s.setExpression('top','(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"');
    						s.marginTop = 0;
    					}
    					else if (!opts.centerY && full) {
    						var top = (opts.css && opts.css.top) ? parseInt(opts.css.top, 10) : 0;
    						var expression = '((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + '+top+') + "px"';
    						s.setExpression('top',expression);
    					}
    				});
    			}
    
    			// show the message
    			if (msg) {
    				if (opts.theme)
    					lyr3.find('.ui-widget-content').append(msg);
    				else
    					lyr3.append(msg);
    				if (msg.jquery || msg.nodeType)
    					$(msg).show();
    			}
    
    			if ((msie || opts.forceIframe) && opts.showOverlay)
    				lyr1.show(); // opacity is zero
    			if (opts.fadeIn) {
    				var cb = opts.onBlock ? opts.onBlock : noOp;
    				var cb1 = (opts.showOverlay && !msg) ? cb : noOp;
    				var cb2 = msg ? cb : noOp;
    				if (opts.showOverlay)
    					lyr2._fadeIn(opts.fadeIn, cb1);
    				if (msg)
    					lyr3._fadeIn(opts.fadeIn, cb2);
    			}
    			else {
    				if (opts.showOverlay)
    					lyr2.show();
    				if (msg)
    					lyr3.show();
    				if (opts.onBlock)
    					opts.onBlock.bind(lyr3)();
    			}
    
    			// bind key and mouse events
    			bind(1, el, opts);
    
    			if (full) {
    				pageBlock = lyr3[0];
    				pageBlockEls = $(opts.focusableElements,pageBlock);
    				if (opts.focusInput)
    					setTimeout(focus, 20);
    			}
    			else
    				center(lyr3[0], opts.centerX, opts.centerY);
    
    			if (opts.timeout) {
    				// auto-unblock
    				var to = setTimeout(function() {
    					if (full)
    						$.unblockUI(opts);
    					else
    						$(el).unblock(opts);
    				}, opts.timeout);
    				$(el).data('blockUI.timeout', to);
    			}
    		}
    
    		// remove the block
    		function remove(el, opts) {
    			var count;
    			var full = (el == window);
    			var $el = $(el);
    			var data = $el.data('blockUI.history');
    			var to = $el.data('blockUI.timeout');
    			if (to) {
    				clearTimeout(to);
    				$el.removeData('blockUI.timeout');
    			}
    			opts = $.extend({}, $.blockUI.defaults, opts || {});
    			bind(0, el, opts); // unbind events
    
    			if (opts.onUnblock === null) {
    				opts.onUnblock = $el.data('blockUI.onUnblock');
    				$el.removeData('blockUI.onUnblock');
    			}
    
    			var els;
    			if (full) // crazy selector to handle odd field errors in ie6/7
    				els = $(document.body).children().filter('.blockUI').add('body > .blockUI');
    			else
    				els = $el.find('>.blockUI');
    
    			// fix cursor issue
    			if ( opts.cursorReset ) {
    				if ( els.length > 1 )
    					els[1].style.cursor = opts.cursorReset;
    				if ( els.length > 2 )
    					els[2].style.cursor = opts.cursorReset;
    			}
    
    			if (full)
    				pageBlock = pageBlockEls = null;
    
    			if (opts.fadeOut) {
    				count = els.length;
    				els.stop().fadeOut(opts.fadeOut, function() {
    					if ( --count === 0)
    						reset(els,data,opts,el);
    				});
    			}
    			else
    				reset(els, data, opts, el);
    		}
    
    		// move blocking element back into the DOM where it started
    		function reset(els,data,opts,el) {
    			var $el = $(el);
    			if ( $el.data('blockUI.isBlocked') )
    				return;
    
    			els.each(function(i,o) {
    				// remove via DOM calls so we don't lose event handlers
    				if (this.parentNode)
    					this.parentNode.removeChild(this);
    			});
    
    			if (data && data.el) {
    				data.el.style.display = data.display;
    				data.el.style.position = data.position;
    				data.el.style.cursor = 'default'; // #59
    				if (data.parent)
    					data.parent.appendChild(data.el);
    				$el.removeData('blockUI.history');
    			}
    
    			if ($el.data('blockUI.static')) {
    				$el.css('position', 'static'); // #22
    			}
    
    			if (typeof opts.onUnblock == 'function')
    				opts.onUnblock(el,opts);
    
    			// fix issue in Safari 6 where block artifacts remain until reflow
    			var body = $(document.body), w = body.width(), cssW = body[0].style.width;
    			body.width(w-1).width(w);
    			body[0].style.width = cssW;
    		}
    
    		// bind/unbind the handler
    		function bind(b, el, opts) {
    			var full = el == window, $el = $(el);
    
    			// don't bother unbinding if there is nothing to unbind
    			if (!b && (full && !pageBlock || !full && !$el.data('blockUI.isBlocked')))
    				return;
    
    			$el.data('blockUI.isBlocked', b);
    
    			// don't bind events when overlay is not in use or if bindEvents is false
    			if (!full || !opts.bindEvents || (b && !opts.showOverlay))
    				return;
    
    			// bind anchors and inputs for mouse and key events
    			var events = 'mousedown mouseup keydown keypress keyup touchstart touchend touchmove';
    			if (b)
    				$(document).on(events, opts, handler);
    			else
    				$(document).off(events, handler);
    
    		// former impl...
    		//		var $e = $('a,:input');
    		//		b ? $e.bind(events, opts, handler) : $e.unbind(events, handler);
    		}
    
    		// event handler to suppress keyboard/mouse events when blocking
    		function handler(e) {
    			// allow tab navigation (conditionally)
    			if (e.type === 'keydown' && e.keyCode && e.keyCode == 9) {
    				if (pageBlock && e.data.constrainTabKey) {
    					var els = pageBlockEls;
    					var fwd = !e.shiftKey && e.target === els[els.length-1];
    					var back = e.shiftKey && e.target === els[0];
    					if (fwd || back) {
    						setTimeout(function(){focus(back);},10);
    						return false;
    					}
    				}
    			}
    			var opts = e.data;
    			var target = $(e.target);
    			if (target.hasClass('blockOverlay') && opts.onOverlayClick)
    				opts.onOverlayClick(e);
    
    			// allow events within the message content
    			if (target.parents('div.' + opts.blockMsgClass).length > 0)
    				return true;
    
    			// allow events for content that is not being blocked
    			return target.parents().children().filter('div.blockUI').length === 0;
    		}
    
    		function focus(back) {
    			if (!pageBlockEls)
    				return;
    			var e = pageBlockEls[back===true ? pageBlockEls.length-1 : 0];
    			if (e)
    				e.trigger( 'focus' );
    		}
    
    		function center(el, x, y) {
    			var p = el.parentNode, s = el.style;
    			var l = ((p.offsetWidth - el.offsetWidth)/2) - sz(p,'borderLeftWidth');
    			var t = ((p.offsetHeight - el.offsetHeight)/2) - sz(p,'borderTopWidth');
    			if (x) s.left = l > 0 ? (l+'px') : '0';
    			if (y) s.top  = t > 0 ? (t+'px') : '0';
    		}
    
    		function sz(el, p) {
    			return parseInt($.css(el,p),10)||0;
    		}
    
    	}
    
    	/*global define:true */
    	if (typeof define === 'function' && define.amd && define.amd.jQuery) {
    		define(['jquery'], setup);
    	} else {
    		setup(jQuery);
    	}
    
    })();
    

    for the jquery.blockUI.min.js:

    /*!
     * jQuery blockUI plugin
     * Version 2.70.0-2014.11.23
     * Requires jQuery v1.7 or later
     *
     * Examples at: http://malsup.com/jquery/block/
     * Copyright (c) 2007-2013 M. Alsup
     * Dual licensed under the MIT and GPL licenses:
     * http://www.opensource.org/licenses/mit-license.php
     * http://www.gnu.org/licenses/gpl.html
     *
     * Thanks to Amir-Hossein Sobhi for some excellent contributions!
     */
    !function(){"use strict";function e(p){p.fn._fadeIn=p.fn.fadeIn;var b=p.noop||function(){},h=/MSIE/.test(navigator.userAgent),k=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),y=(document.documentMode,"function"==typeof document.createElement("div").style.setExpression&&document.createElement("div").style.setExpression);p.blockUI=function(e){o(window,e)},p.unblockUI=function(e){v(window,e)},p.growlUI=function(e,t,o,n){var i=p('<div class="growlUI"></div>');e&&i.append("<h1>"+e+"</h1>"),t&&i.append("<h2>"+t+"</h2>"),o===undefined&&(o=3e3);var s=function(e){e=e||{},p.blockUI({message:i,fadeIn:"undefined"!=typeof e.fadeIn?e.fadeIn:700,fadeOut:"undefined"!=typeof e.fadeOut?e.fadeOut:1e3,timeout:"undefined"!=typeof e.timeout?e.timeout:o,centerY:!1,showOverlay:!1,onUnblock:n,css:p.blockUI.defaults.growlCSS})};s();i.css("opacity");i.on("mouseover",function(){s({fadeIn:0,timeout:3e4});var e=p(".blockMsg");e.stop(),e.fadeTo(300,1)}).on("mouseout",function(){p(".blockMsg").fadeOut(1e3)})},p.fn.block=function(e){if(this[0]===window)return p.blockUI(e),this;var t=p.extend({},p.blockUI.defaults,e||{});return this.each(function(){var e=p(this);t.ignoreIfBlocked&&e.data("blockUI.isBlocked")||e.unblock({fadeOut:0})}),this.each(function(){"static"==p.css(this,"position")&&(this.style.position="relative",p(this).data("blockUI.static",!0)),this.style.zoom=1,o(this,e)})},p.fn.unblock=function(e){return this[0]===window?(p.unblockUI(e),this):this.each(function(){v(this,e)})},p.blockUI.version=2.7,p.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var m=null,g=[];function o(e,o){var t,n,i,s,l,d,a,c,r,u=e==window,f=o&&o.message!==undefined?o.message:undefined;(o=p.extend({},p.blockUI.defaults,o||{})).ignoreIfBlocked&&p(e).data("blockUI.isBlocked")||(o.overlayCSS=p.extend({},p.blockUI.defaults.overlayCSS,o.overlayCSS||{}),i=p.extend({},p.blockUI.defaults.css,o.css||{}),o.onOverlayClick&&(o.overlayCSS.cursor="pointer"),s=p.extend({},p.blockUI.defaults.themedCSS,o.themedCSS||{}),f=f===undefined?o.message:f,u&&m&&v(window,{fadeOut:0}),f&&"string"!=typeof f&&(f.parentNode||f.jquery)&&(t=f.jquery?f[0]:f,a={},p(e).data("blockUI.history",a),a.el=t,a.parent=t.parentNode,a.display=t.style.display,a.position=t.style.position,a.parent&&a.parent.removeChild(t)),p(e).data("blockUI.onUnblock",o.onUnblock),r=o.baseZ,a=h||o.forceIframe?p('<iframe class="blockUI" style="z-index:'+r+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+o.iframeSrc+'"></iframe>'):p('<div class="blockUI" style="display:none"></div>'),t=o.theme?p('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+r+++';display:none"></div>'):p('<div class="blockUI blockOverlay" style="z-index:'+r+++';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),o.theme&&u?(c='<div class="blockUI '+o.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(r+10)+';display:none;position:fixed">',o.title&&(c+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(o.title||"&nbsp;")+"</div>"),c+='<div class="ui-widget-content ui-dialog-content"></div>',c+="</div>"):o.theme?(c='<div class="blockUI '+o.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(r+10)+';display:none;position:absolute">',o.title&&(c+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(o.title||"&nbsp;")+"</div>"),c+='<div class="ui-widget-content ui-dialog-content"></div>',c+="</div>"):c=u?'<div class="blockUI '+o.blockMsgClass+' blockPage" style="z-index:'+(r+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+o.blockMsgClass+' blockElement" style="z-index:'+(r+10)+';display:none;position:absolute"></div>',r=p(c),f&&(o.theme?(r.css(s),r.addClass("ui-widget-content")):r.css(i)),o.theme||t.css(o.overlayCSS),t.css("position",u?"fixed":"absolute"),(h||o.forceIframe)&&a.css("opacity",0),c=[a,t,r],n=p(u?"body":e),p.each(c,function(){this.appendTo(n)}),o.theme&&o.draggable&&p.fn.draggable&&r.draggable({handle:".ui-dialog-titlebar",cancel:"li"}),s=y&&(!p.support.boxModel||0<p("object,embed",u?null:e).length),(k||s)&&(u&&o.allowBodyStretch&&p.support.boxModel&&p("html,body").css("height","100%"),!k&&p.support.boxModel||u||(i=U(e,"borderTopWidth"),s=U(e,"borderLeftWidth"),l=i?"(0 - "+i+")":0,d=s?"(0 - "+s+")":0),p.each(c,function(e,t){t=t[0].style;t.position="absolute",e<2?(u?t.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+o.quirksmodeOffsetHack+') + "px"'):t.setExpression("height",'this.parentNode.offsetHeight + "px"'),u?t.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):t.setExpression("width",'this.parentNode.offsetWidth + "px"'),d&&t.setExpression("left",d),l&&t.setExpression("top",l)):o.centerY?(u&&t.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),t.marginTop=0):!o.centerY&&u&&(e="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+(o.css&&o.css.top?parseInt(o.css.top,10):0)+') + "px"',t.setExpression("top",e))})),f&&((o.theme?r.find(".ui-widget-content"):r).append(f),(f.jquery||f.nodeType)&&p(f).show()),(h||o.forceIframe)&&o.showOverlay&&a.show(),o.fadeIn?(c=o.onBlock?o.onBlock:b,a=o.showOverlay&&!f?c:b,c=f?c:b,o.showOverlay&&t._fadeIn(o.fadeIn,a),f&&r._fadeIn(o.fadeIn,c)):(o.showOverlay&&t.show(),f&&r.show(),o.onBlock&&o.onBlock.bind(r)()),I(1,e,o),u?(m=r[0],g=p(o.focusableElements,m),o.focusInput&&setTimeout(w,20)):function(e,t,o){var n=e.parentNode,i=e.style,s=(n.offsetWidth-e.offsetWidth)/2-U(n,"borderLeftWidth"),n=(n.offsetHeight-e.offsetHeight)/2-U(n,"borderTopWidth");t&&(i.left=0<s?s+"px":"0");o&&(i.top=0<n?n+"px":"0")}(r[0],o.centerX,o.centerY),o.timeout&&(r=setTimeout(function(){u?p.unblockUI(o):p(e).unblock(o)},o.timeout),p(e).data("blockUI.timeout",r)))}function v(e,t){var o,n,i=e==window,s=p(e),l=s.data("blockUI.history"),d=s.data("blockUI.timeout");d&&(clearTimeout(d),s.removeData("blockUI.timeout")),t=p.extend({},p.blockUI.defaults,t||{}),I(0,e,t),null===t.onUnblock&&(t.onUnblock=s.data("blockUI.onUnblock"),s.removeData("blockUI.onUnblock")),n=i?p(document.body).children().filter(".blockUI").add("body > .blockUI"):s.find(">.blockUI"),t.cursorReset&&(1<n.length&&(n[1].style.cursor=t.cursorReset),2<n.length&&(n[2].style.cursor=t.cursorReset)),i&&(m=g=null),t.fadeOut?(o=n.length,n.stop().fadeOut(t.fadeOut,function(){0==--o&&a(n,l,t,e)})):a(n,l,t,e)}function a(e,t,o,n){var i=p(n);i.data("blockUI.isBlocked")||(e.each(function(e,t){this.parentNode&&this.parentNode.removeChild(this)}),t&&t.el&&(t.el.style.display=t.display,t.el.style.position=t.position,t.el.style.cursor="default",t.parent&&t.parent.appendChild(t.el),i.removeData("blockUI.history")),i.data("blockUI.static")&&i.css("position","static"),"function"==typeof o.onUnblock&&o.onUnblock(n,o),n=(i=p(document.body)).width(),o=i[0].style.width,i.width(n-1).width(n),i[0].style.width=o)}function I(e,t,o){var n=t==window,t=p(t);!e&&(n&&!m||!n&&!t.data("blockUI.isBlocked"))||(t.data("blockUI.isBlocked",e),n&&o.bindEvents&&(!e||o.showOverlay)&&(n="mousedown mouseup keydown keypress keyup touchstart touchend touchmove",e?p(document).on(n,o,i):p(document).off(n,i)))}function i(e){if("keydown"===e.type&&e.keyCode&&9==e.keyCode&&m&&e.data.constrainTabKey){var t=!e.shiftKey&&e.target===g[g.length-1],o=e.shiftKey&&e.target===g[0];if(t||o)return setTimeout(function(){w(o)},10),!1}var n=e.data,t=p(e.target);return t.hasClass("blockOverlay")&&n.onOverlayClick&&n.onOverlayClick(e),0<t.parents("div."+n.blockMsgClass).length||0===t.parents().children().filter("div.blockUI").length}function w(e){!g||(e=g[!0===e?g.length-1:0])&&e.trigger("focus")}function U(e,t){return parseInt(p.css(e,t),10)||0}}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jQuery)}();
    

    I saw this warning sign here:
    (jquery.blockUI.min.js)
    Link

    Directory tree:
    Tree

    By the way….the console shows this error when i click on “Generate API Key” button..
    Console screenshot

    where api-keys.js and api-keys.min.js are located in wp-content/plugins/woocommerce/assets/js/admin/ and here is the screen shot of what i see there:
    api-keys.min.js

    the code in api-keys.js is as follows:

    /*global jQuery, Backbone, _, woocommerce_admin_api_keys, wcSetClipboard, wcClearClipboard */
    (function( $ ) {
    
    	var APIView = Backbone.View.extend({
    		/**
    		 * Element
    		 *
    		 * @param {Object} '#key-fields'
    		 */
    		el: $( '#key-fields' ),
    
    		/**
    		 * Events
    		 *
    		 * @type {Object}
    		 */
    		events: {
    			'click input#update_api_key': 'saveKey'
    		},
    
    		/**
    		 * Initialize actions
    		 */
    		initialize: function(){
    			_.bindAll( this, 'saveKey' );
    		},
    
    		/**
    		 * Init jQuery.BlockUI
    		 */
    		block: function() {
     			$( this.el ).block({
     				message: null,
     				overlayCSS: {
     					background: '#fff',
     					opacity: 0.6
     				}
     			});
    
    		},
    
    		/**
    		 * Remove jQuery.BlockUI
    		 */
    		unblock: function() {
    			$( this.el ).unblock();
    		},
    
    		/**
    		 * Init TipTip
    		 */
    		initTipTip: function( css_class ) {
    			$( document.body )
    				.on( 'click', css_class, function( evt ) {
    					evt.preventDefault();
    					if ( ! document.queryCommandSupported( 'copy' ) ) {
    						$( css_class ).parent().find( 'input' ).trigger( 'focus' ).trigger( 'select' );
    						$( '#copy-error' ).text( woocommerce_admin_api_keys.clipboard_failed );
    					} else {
    						$( '#copy-error' ).text( '' );
    						wcClearClipboard();
    						wcSetClipboard( $( this ).prev( 'input' ).val().trim(), $( css_class ) );
    					}
    				} )
    				.on( 'aftercopy', css_class, function() {
    					$( '#copy-error' ).text( '' );
    					$( css_class ).tipTip( {
    						'attribute':  'data-tip',
    						'activation': 'focus',
    						'fadeIn':     50,
    						'fadeOut':    50,
    						'delay':      0
    					} ).trigger( 'focus' );
    				} )
    				.on( 'aftercopyerror', css_class, function() {
    					$( css_class ).parent().find( 'input' ).trigger( 'focus' ).trigger( 'select' );
    					$( '#copy-error' ).text( woocommerce_admin_api_keys.clipboard_failed );
    				} );
    		},
    
    		/**
    		 * Create qrcode
    		 *
    		 * @param {string} consumer_key
    		 * @param {string} consumer_secret
    		 */
    		createQRCode: function( consumer_key, consumer_secret ) {
    			$( '#keys-qrcode' ).qrcode({
    				text: consumer_key + '|' + consumer_secret,
    				width: 120,
    				height: 120
    			});
    		},
    
    		/**
    		 * Save API Key using ajax
    		 *
    		 * @param {Object} e
    		 */
    		saveKey: function( e ) {
    			e.preventDefault();
    
    			var self = this;
    
    			self.block();
    
    			Backbone.ajax({
    				method:   'POST',
    				dataType: 'json',
    				url:      woocommerce_admin_api_keys.ajax_url,
    				data:     {
    					action:      'woocommerce_update_api_key',
    					security:    woocommerce_admin_api_keys.update_api_nonce,
    					key_id:      $( '#key_id', self.el ).val(),
    					description: $( '#key_description', self.el ).val(),
    					user:        $( '#key_user', self.el ).val(),
    					permissions: $( '#key_permissions', self.el ).val()
    				},
    				success: function( response ) {
    					$( '.wc-api-message', self.el ).remove();
    
    					if ( response.success ) {
    						var data = response.data;
    
    						$( 'h2, h3', self.el ).first().append( '<div class="wc-api-message updated"><p>' + data.message + '</p></div>' );
    
    						if ( 0 < data.consumer_key.length && 0 < data.consumer_secret.length ) {
    							$( '#api-keys-options', self.el ).remove();
    							$( 'p.submit', self.el ).empty().append( data.revoke_url );
    
    							var template = wp.template( 'api-keys-template' );
    
    							$( 'p.submit', self.el ).before( template({
    								consumer_key:    data.consumer_key,
    								consumer_secret: data.consumer_secret
    							}) );
    							self.createQRCode( data.consumer_key, data.consumer_secret );
    							self.initTipTip( '.copy-key' );
    							self.initTipTip( '.copy-secret' );
    						} else {
    							$( '#key_description', self.el ).val( data.description );
    							$( '#key_user', self.el ).val( data.user_id );
    							$( '#key_permissions', self.el ).val( data.permissions );
    						}
    					} else {
    						$( 'h2, h3', self.el )
    							.first()
    							.append( '<div class="wc-api-message error"><p>' + response.data.message + '</p></div>' );
    					}
    
    					self.unblock();
    				}
    			});
    		}
    	});
    
    	new APIView();
    
    })( jQuery );
    
    Thread Starter khanarslan1115

    (@khanarslan1115)

    hello @3sonsdevelopment

    I contacted my host team and they said everything is normal and as it was as in the start and nothing has been changed.
    Moreover, I reinstalled wordpress and woocommerce as well but no luck.

    Yet i tried the thing about shipping zones, and i was surprised to see that my shipping zones have disappeared, I tried to add a new shipping zone again but when i tried to click on “add shipping method” (flat rate)
    it did the same, i mean it didn’t respond at all. just like the ‘generate api key’

    when i saw from console, it was giving the same error upon clicking :

    “wc-shipping-zone-met…min.js?ver=5.6.0:1 h(…) .block is not a fucntion”

    Thread Starter khanarslan1115

    (@khanarslan1115)

    hello @rainfallnixfig

    I have disabled the auto updates myself, as sometimes other plugins that were working on my site would need some time till the new version which was compatible with the updated platforms so till then i would have to face various problems…to bypass them, i decided to turn off the auto update and then update the things manually after some days when everything would have updated.

    Moreover, I have compared my load-script.php with a fresh one and i saw no difference. Everything was same

    Thread Starter khanarslan1115

    (@khanarslan1115)

    Hello @gabrielfuentes

    Could you please tell me how to do it??? In fact i am not an IT guy so i dont know much stuff…and would it have any effect on my site ??? as my site is up and running and customers are still visiting my this online store.

    Thread Starter khanarslan1115

    (@khanarslan1115)

    Hello @rainfallnixfig i have done this already and there was no success. The error was same of ‘ block is not a function’

    Thread Starter khanarslan1115

    (@khanarslan1115)

    Hello @sohanhossain
    I follwed what you asked and here is the report:


    ### WordPress Environment ###

    WordPress address (URL): https://www.tomandlola.com
    Site address (URL): https://www.tomandlola.com
    WC Version: 5.6.0
    REST API Version: ✔ 5.6.0
    WC Blocks Version: ✔ 5.5.1
    Action Scheduler Version: ✔ 3.2.1
    WC Admin Version: ✔ 2.5.1
    Log Directory Writable: ✔
    WP Version: 5.8
    WP Multisite: –
    WP Memory Limit: 1 GB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: ✔

    ### Server Environment ###

    Server Info: LiteSpeed
    PHP Version: 7.4.22
    PHP Post Max Size: 1 GB
    PHP Time Limit: 600
    PHP Max Input Vars: 2000
    cURL Version: 7.71.0
    OpenSSL/1.1.1d

    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.3.30-MariaDB-log-cll-lve
    Max Upload Size: 1 GB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔

    ### Database ###

    WC Database Version: 5.6.0
    WC Database Prefix: wp0x_
    Total Database Size: 115.40MB
    Database Data Size: 111.26MB
    Database Index Size: 4.14MB
    wp0x_woocommerce_sessions: Data: 0.05MB + Index: 0.00MB + Engine MyISAM
    wp0x_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp0x_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_woocommerce_order_itemmeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp0x_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_actionscheduler_actions: Data: 1.69MB + Index: 0.41MB + Engine MyISAM
    wp0x_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp0x_actionscheduler_logs: Data: 1.07MB + Index: 0.76MB + Engine MyISAM
    wp0x_avc_page_visit_history: Data: 0.32MB + Index: 0.02MB + Engine MyISAM
    wp0x_berocket_termmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_chaty_contact_form_leads: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_cli_cookie_scan: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_cli_cookie_scan_categories: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_cli_cookie_scan_cookies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_cli_cookie_scan_url: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_cli_scripts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp0x_comments: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp0x_e_submissions: Data: 0.02MB + Index: 0.04MB + Engine MyISAM
    wp0x_e_submissions_actions_log: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp0x_e_submissions_values: Data: 0.05MB + Index: 0.01MB + Engine MyISAM
    wp0x_fca_eoi_activity: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_fca_eoi_subscribers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_image_hover_ultimate_list: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_image_hover_ultimate_style: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wp0x_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_mailchimp_carts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_mailchimp_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_mollie_pending_payment: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_nf3_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_nf3_action_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_nf3_chunks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_nf3_fields: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_nf3_field_meta: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
    wp0x_nf3_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_nf3_form_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_nf3_objects: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_nf3_object_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_nf3_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_nf3_upgrades: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wp0x_nm_personalized: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_options: Data: 5.08MB + Index: 0.33MB + Engine MyISAM
    wp0x_oxi_div_import: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_postmeta: Data: 28.50MB + Index: 1.84MB + Engine MyISAM
    wp0x_posts: Data: 74.17MB + Index: 0.34MB + Engine MyISAM
    wp0x_termmeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    wp0x_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp0x_term_relationships: Data: 0.04MB + Index: 0.07MB + Engine MyISAM
    wp0x_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp0x_usermeta: Data: 0.05MB + Index: 0.02MB + Engine MyISAM
    wp0x_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp0x_wcpdf_invoice_number: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_wc_admin_notes: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wp0x_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp0x_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp0x_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp0x_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_wc_product_meta_lookup: Data: 0.11MB + Index: 0.15MB + Engine MyISAM
    wp0x_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp0x_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_wfpklist_template_data: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wp0x_wow_coder: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_wpforms_tasks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_wpf_filters: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_wpmailsmtp_tasks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_wusers_inputs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_wzen_time_table: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_yith_wapo_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp0x_yith_wapo_types: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

    ### Post Type Counts ###

    attachment: 555
    br_product_filter: 1
    cb-size-charts: 1
    cookielawinfo: 6
    custom_css: 1
    easy-opt-ins: 1
    elementor_library: 20
    elementskit_template: 1
    fpf_fields: 1
    mc4wp-form: 1
    nav_menu_item: 37
    ocscw_size_chart: 9
    oembed_cache: 2
    page: 14
    post: 1
    product: 107
    product_variation: 1018
    revision: 2643
    shop_coupon: 1
    shop_order: 11
    size-chart: 11
    tbuilder_layout_part: 1
    themify_popup: 1
    wafs: 1
    wapf_product: 1
    wcp_ruleset: 3
    wcs_ruleset: 2
    wpforms: 1

    ### Security ###

    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔

    ### Active Plugins (2) ###

    Health Check & Troubleshooting: by The WordPress.org community – 1.4.5
    WooCommerce: by Automattic – 5.6.0

    ### Inactive Plugins (25) ###

    Alfa Payment Gateway: by Alfa Payment Gateway – 1.0
    AppMySite: by AppMySite – 3.0.1
    Challan – PDF Invoice & Packing Slip for WooCommerce: by WebAppick – 3.3.1
    Conditional Payments for WooCommerce: by Lauri Karisola / WooElements.com – 2.2.3
    Conditional Shipping for WooCommerce: by Lauri Karisola / WooElements.com – 2.2.2
    Elementor: by Elementor.com – 3.4.2
    Elementor Pro: by Elementor.com – 3.3.7
    Facebook for WooCommerce: by Facebook – 2.6.1
    Facebook for WordPress: by Facebook – 3.0.5
    Jetpack: by Automattic – 10.0
    Kadence WooCommerce Email Designer: by Kadence WP – 1.4.7
    KiwiSizing for WooCommerce: by KiwiSizing – 1.9
    Mailchimp for WooCommerce: by Mailchimp – 2.5.2
    Make Column Clickable Elementor: by Fernando Acosta – 1.3.1
    PPOM for WooCommerce by N-MEDIA: by Najeeb Ahmad – 22.8.1
    Related Products for WooCommerce: by WebToffee – 1.3.8
    UpdraftPlus – Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.16.60

    Variation Swatches for WooCommerce: by Emran Ahmed – 1.1.17
    Variation Swatches for WooCommerce – Pro: by Emran Ahmed – 1.1.17
    W3 Total Cache: by BoldGrid – 2.1.6
    WooCommerce Price Based on Country (Basic): by Oscar Gare – 2.0.23
    Woo Products Widgets For Elementor: by Themelocation – 1.0.5
    WP Downgrade | Specific Core Version: by Reisetiger – 1.2.2
    WP Rollback: by Impress.org – 1.7.1
    WP STAGING: by WP-STAGING – 2.8.6

    ### Dropin Plugins (3) ###

    advanced-cache.php: advanced-cache.php
    db.php: db.php
    object-cache.php: object-cache.php

    ### Must Use Plugins (2) ###

    Elementor Safe Mode: by Elementor.com – 1.0.0
    Health Check Troubleshooting Mode: by – 1.7.2

    ### Settings ###

    API Enabled: –
    Force SSL: –
    Currency: PKR (₨)
    Currency Position: left_space
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 0
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)

    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)

    Connected to WooCommerce.com: –

    ### WC Pages ###

    Shop base: #2176 – /shop/
    Cart: #24 – /cart/
    Checkout: #25 – /checkout/
    My account: #26 – /my-account/
    Terms and conditions: #639 – /term-and-conditions/

    ### Theme ###

    Name: Twenty Twenty
    Version: 1.8
    Author URL: https://wordpress.org/
    Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ✔

    ### Templates ###

    Overrides: –

    ### Action Scheduler ###

    Complete: 3,316
    Oldest: 2021-08-14 23:56:36 +0500
    Newest: 2021-08-22 17:52:16 +0500

    Failed: 4
    Oldest: –
    Newest: –

    Pending: 1
    Oldest: 2021-08-23 01:45:45 +0500
    Newest: 2021-08-23 01:45:45 +0500

    ### Status report information ###

    Generated at: 2021-08-22 17:53:00 +05:00
    `

    Thread Starter khanarslan1115

    (@khanarslan1115)

    @gabrielfuentes Hello brother,

    I follwed the step, installed troubleshooting plugin and actived just woocommerce and then repeated the same steps for new rest api key, but unfortunately the error persists here is the screenshot of console. it is the error

    Error

    Also this was the result of health check:
    Health Check Result

    Did i do exactly what i was supposed to do or there was something else which needed to be done.
    Thanks

    Thread Starter khanarslan1115

    (@khanarslan1115)

    @gabrielfuentes Sure let me follow the steps.

    Thread Starter khanarslan1115

    (@khanarslan1115)

    @rainfallnixfig
    here is a link to somewhat same problem and the guy has fixed it but the link there of code is not opening, maybe what he have said would help you some way?

    Link

    Thread Starter khanarslan1115

    (@khanarslan1115)

    hello @rainfallnixfig
    Thank you for your response.

    There is no ad blocker or something, i have tried different browsers as well as devices but the issue stays the same.

    Thread Starter khanarslan1115

    (@khanarslan1115)

    Thread Starter khanarslan1115

    (@khanarslan1115)

    @gabrielfuentes Hello, Thank you so much for coming here. I have done what you asked and here are the screen shots:

    Pic 1
    Pic 2
    Pic 3

    Thread Starter khanarslan1115

    (@khanarslan1115)

    @stuartduff any help??

    Thread Starter khanarslan1115

    (@khanarslan1115)

    @stuartduff
    Here is a small video:

    Video Link

Viewing 15 replies - 1 through 15 (of 18 total)