Support

Account

Home Forums Add-ons Repeater Field Repeater Field Causing Issues with Media Reply To: Repeater Field Causing Issues with Media

  • Yes, definitely something going on here.

    When I try to edit a post, before doing anything, I get these JS errors in /wp-content/plugins/acf-repeater/js/input.js:

    
    [Error] TypeError: undefined is not a function (evaluating 'this.$el.find('> table > tbody').unbind('sortable').sortable')
    	init (input.js, line 51)
    	(anonymous function) (input.js, line 222)
    	each (load-scripts.php, line 2)
    	each (load-scripts.php, line 2)
    	(anonymous function) (input.js, line 220)
    	dispatch (load-scripts.php, line 3)
    	handle (load-scripts.php, line 3)
    	trigger (load-scripts.php, line 3)
    	trigger (load-scripts.php, line 8)
    	(anonymous function) (load-scripts.php, line 3)
    	each (load-scripts.php, line 2)
    	each (load-scripts.php, line 2)
    	trigger (load-scripts.php, line 3)
    	(anonymous function) (input.min.js, line 1)
    

    Then, when I click the “Add image” button, I get these additional JS errors:

    
    [Error] ReferenceError: Can't find variable: wp
    	popup (input.min.js, line 1)
    	(anonymous function) (input.min.js, line 1)
    	dispatch (load-scripts.php, line 3)
    	handle (load-scripts.php, line 3)
    

    Strangely, I only have these issues when logged in as a WP Editor. Everything seems fine when logged in as a WP Admin.

    Perhaps this is caused by the recent WP 4.1.1 update?