Home Forums Bug Reports (another) ReferenceError: wp is not defined Reply To: (another) ReferenceError: wp is not defined

  • Hi @doctorproctor

    Is this JS error only appearing for a specific post_type edit screen? Do you get the error on a page or post edit screen?

    It is possible that your theme’s post_type has some specific code which removes the wp media javascript from the edit screen.

    You may need to track down this code in the theme and customize it to allow for the wp media JS to be included.

    Hope that helps.