Error after upgrade
-
I’ve just updated the plugin to Version 3.29.0
And when I now go into MetaSlider to do anything in the dashboard I get the following at the top of the page.
Anyone have any ideas why?
jQuery(document).ready(function ($) { $(document).on(‘click’, ‘.wbcr-dan-hide-notice-link’, function () { var self = $(this), target = self.data(‘target’), noticeID = self.data(‘notice-id’), nonce = self.data(‘nonce’), noticeHtml = self.closest(‘.wbcr-dan-hide-links’).prev(‘.wbcr-dan-hide-notices’).clone(), contanierEl = self.closest(‘.wbcr-dan-hide-links’).prev(‘.wbcr-dan-hide-notices’).parent(); contanierEl.find(‘.wbcr-dan-hide-links’).remove(); contanierEl.slideUp(); if (!noticeID) { alert(‘Undefinded error. Please report the bug to our support forum.’); } $.ajax(ajaxurl, { type: ‘post’, dataType: ‘json’, data: { action: ‘wbcr-dan-hide-notices’, target: target, security: nonce, notice_id: noticeID, notice_html: noticeHtml.html() }, success: function (response) { if (!response || !response.success) { if (response.data.error_message) { console.log(response.data.error_message); self.closest(‘li’).show(); } else { console.log(response); } contanierEl.show(); return; } contanierEl.remove(); }, error: function (xhr, ajaxOptions, thrownError) { console.log(xhr.status); console.log(xhr.responseText); console.log(thrownError); } }); return false; }); });
The topic ‘Error after upgrade’ is closed to new replies.