Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Drew

WP 5.5 – commonL10n is not defined – Export

After Updating to WP v5.5, we started getting

Uncaught ReferenceError: commonL10n is not defined in plugins/admin-columns-pro/assets/export/js/listscreen.js line 1

It happens right after the processing completes and the export never finishes.

We are running:

  • Admin Columns Pro v5.2.3 (latest)
  • Admin Columns – ACF v2.6.2 (latest)
  • Admin Columns – WooCommerce v3.5.1 (latest)

I did a quick fix to help my customer by removing the reference to commonL10n, but I wanted to submit this bug report in case anyone else is having this issue.

4 years, 1 month ago
Stefan van den Dungen Gronovius
Developer

This issue will be fixed in the next release.
For the time being the following snippet will make the necessary variable available.

add_action( 'admin_footer', function () {
	?>
	<script>
		if ( typeof commonL10n === 'undefined' ) {
			var commonL10n = { dismiss : 'Dismiss' };
		}
	</script>
	<?php
}, 100 );
4 years, 1 month ago

You must be logged in to reply to this topic.