Error with version 2.2.99

Ticket for: Combo Blocks
0
Error with version 2.2.99 1
rahulmittal2099
Nov 06, 2024 06:23 PM 1 Answers
Member Since Nov 2024
Subscribed Subscribe Not subscribe
Flag(0)

Latest version seems to trigger following code from wp-includes/js/dist/preferences-persistence.js

function create({
  preloadedData,
  localStorageRestoreKey = 'WP_PREFERENCES_RESTORE_DATA',
  requestDebounceMS = 2500
} = {}) {
  let cache = preloadedData;
  const debouncedApiFetch = debounceAsync((external_wp_apiFetch_default()), requestDebounceMS);
  async function get() {
    if (cache) {
      return cache;
    }
    const user = await external_wp_apiFetch_default()({
      path: '/wp/v2/users/me?context=edit'
    });

It causes JS console error for non-logged in users and with any JS combination plugin, website UX fails.

0 Subscribers
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
Error with version 2.2.99 2
Azizul Raju
Nov 07, 2024
Flag(0)

Hi,
Thank you for bringing the issue to our attention. We have already fixed it and updated our plugin to version 2.3.0. Please update to the latest version, and we hope this will resolve the problem.

If you find it helpful, would you mind writing a review for our plugin? Your feedback would inspire us greatly.
You can submit your review here: https://wordpress.org/support/plugin/post-grid/reviews/

Thank you!

Sign in to Reply
Replying as Submit