Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot read property 'enqueue' of undefined #70

Open
ghost opened this issue Nov 3, 2016 · 5 comments
Open

Uncaught TypeError: Cannot read property 'enqueue' of undefined #70

ghost opened this issue Nov 3, 2016 · 5 comments

Comments

@ghost
Copy link

ghost commented Nov 3, 2016

Successfully connected my Brightcove account with the Video Connect plugin but can't see any of my videos or playlists in the admin panel. Instead, I get a JavaScript error "Cannot read property 'enqueue' of undefined". See below for screenshot of behavior.

screen shot 2016-11-03 at 1 24 25 pm
screen shot 2016-11-03 at 1 24 56 pm

@sudar
Copy link
Contributor

sudar commented Nov 4, 2016

Thanks for reporting this issue. We are currently looking into it to figure out what is going wrong.

@sudar
Copy link
Contributor

sudar commented Nov 7, 2016

Are you facing this issue in WordPress VIP or in a self-hosted WordPress install?

@ghost
Copy link
Author

ghost commented Nov 8, 2016

We're using wpengine.com for our hosting.

@tobeycodes
Copy link
Member

@thatLuke @sudar the same issue exists for us on WPEngine

@sudar
Copy link
Contributor

sudar commented Feb 21, 2017

@thatLuke @schrapel

Looks like one of the must-use plugins in WP Engine is preventing the heartbeat api which is causing the above issue.

You can add the following code in your themes function.php file or as a seperate plugin to fix the issue.

function mysite_add_heartbeat ( $heartbeat_pages ) {
	$heartbeat_pages[] = 'admin.php';
	return $heartbeat_pages;
}

if (class_exists('WPE_Heartbeat_Throttle')) {
	add_filter ('wpe_heartbeat_allowed_pages', 'mysite_add_heartbeat');
}

Explanation at https://wordpress.org/support/topic/cannot-add-new-videos-uncaught-typeerror/page/2/#post-8792034

@jeffpaul jeffpaul added this to the Future Release milestone Feb 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants