Title: ReferenceError: wpData is not defined at String.
Last modified: September 21, 2024

---

# ReferenceError: wpData is not defined at String.

 *  Resolved [roadlink](https://wordpress.org/support/users/roadlink/)
 * (@roadlink)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/referenceerror-wpdata-is-not-defined-at-string/)
 * Hi there,
   I am seeing this error after last update in lighthouse test.I use cloudflare
   btw.How can I fix it?
 *     ```wp-block-code
       ReferenceError: wpData is not defined at String.<anonymous> (https://www.xxxx/wp-content/plugins/ml-slider/assets/metaslider/script.min.js?ver=3.91.0:1:299) at Function.each (https://www.gaming.gen.tr/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:3129) at HTMLDocument.<anonymous> (https://www.xxxx/wp-content/plugins/ml-slider/assets/metaslider/script.min.js?ver=3.91.0:1:123) at e (https://www.xxxx/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028) at t (https://www.xxxx/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330)
       ```
   

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Author [htmgarcia](https://wordpress.org/support/users/htmgarcia/)
 * (@htmgarcia)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/referenceerror-wpdata-is-not-defined-at-string/#post-18031447)
 * Hi [@roadlink](https://wordpress.org/support/users/roadlink/)
 * May you elaborate on the update details? Additionally, are you using Gutenberg
   plugin?
 * Regards
 *  Thread Starter [roadlink](https://wordpress.org/support/users/roadlink/)
 * (@roadlink)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/referenceerror-wpdata-is-not-defined-at-string/#post-18032016)
 * Hi,
   This is what I see in console and pagespeed.web.dev website.Both of my websites.
   I added slider as block but NOT shortcut.
 *  Plugin Author [htmgarcia](https://wordpress.org/support/users/htmgarcia/)
 * (@htmgarcia)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/referenceerror-wpdata-is-not-defined-at-string/#post-18033629)
    - Which WordPress version are you using?
    - MetaSlider version
    - Are you using Gutenberg plugin?
 * If you can share a screenshot of the screen where you see the error, that may
   help too. You can use [https://imgbb.com/](https://imgbb.com/)
 * Regards
 *  Thread Starter [roadlink](https://wordpress.org/support/users/roadlink/)
 * (@roadlink)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/referenceerror-wpdata-is-not-defined-at-string/#post-18037074)
 * Hi there,
    1. WordPress is Latest. 6.6.2
    2. Meta slider is Latest. 3.91.0
    3. Yes, Gutenberg blocks plugin is generateblocks.
    4. Error can be seen in browser console or here. [https://pagespeed.web.dev/](https://pagespeed.web.dev/)
 *  Plugin Author [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * (@stevejburge)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/referenceerror-wpdata-is-not-defined-at-string/#post-18038759)
 * Can you share the URL of the site with this issue so we can also run the test
   and see the problem, please.
 *  Thread Starter [roadlink](https://wordpress.org/support/users/roadlink/)
 * (@roadlink)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/referenceerror-wpdata-is-not-defined-at-string/#post-18039999)
 * Here it is. [link](https://gg2x.short.gy/VKq08f)
 *  Plugin Author [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * (@stevejburge)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/referenceerror-wpdata-is-not-defined-at-string/#post-18041097)
 * Thanks. I ran that page through [https://pagespeed.web.dev](https://pagespeed.web.dev)
   and didn’t see mention of the original error.
 *  Thread Starter [roadlink](https://wordpress.org/support/users/roadlink/)
 * (@roadlink)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/referenceerror-wpdata-is-not-defined-at-string/#post-18041154)
 * Hi Steve,
   Is there any way to reach you by mail?
 *  Plugin Author [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * (@stevejburge)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/referenceerror-wpdata-is-not-defined-at-string/#post-18041239)
 * Hi [@roadlink](https://wordpress.org/support/users/roadlink/). We do offer email
   support for our Pro users. For Free users, support is all done here on these 
   forums.
 *  Thread Starter [roadlink](https://wordpress.org/support/users/roadlink/)
 * (@roadlink)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/referenceerror-wpdata-is-not-defined-at-string/#post-18041307)
 * I don’t want to share my personal information while reporting a bug in public.
   
   In this case, I will not continue to follow this case.
 *  Plugin Author [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * (@stevejburge)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/referenceerror-wpdata-is-not-defined-at-string/#post-18041312)
 * OK, thanks [@roadlink](https://wordpress.org/support/users/roadlink/). We’re 
   available to help if there’s any details you’re able to share here.
 *  Plugin Author [htmgarcia](https://wordpress.org/support/users/htmgarcia/)
 * (@htmgarcia)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/referenceerror-wpdata-is-not-defined-at-string/#post-18067539)
 * For reference, we were able to reproduce the issue. A fix is on the way.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘ReferenceError: wpData is not defined at String.’ is closed to new replies.

 * ![](https://ps.w.org/ml-slider/assets/icon.svg?rev=3523572)
 * [Slider, Gallery, and Carousel by MetaSlider - Image Slider, Video Slider](https://wordpress.org/plugins/ml-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ml-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ml-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/ml-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ml-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ml-slider/reviews/)

 * 12 replies
 * 3 participants
 * Last reply from: [htmgarcia](https://wordpress.org/support/users/htmgarcia/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/referenceerror-wpdata-is-not-defined-at-string/#post-18067539)
 * Status: resolved