Wordpress

wpForo: Advanced File Attachments doesn’t work with WordPress 5.9

I use Advanced File Attachments. It’s great and very convenient. However, starting today, I am suddenly unable to attach images. When I drag and drop, nothing happens, and when I open “My Media”, the loading animation is running forever. Advanced File Attachments doesn’t work with WordPress 5.9

The following error is output to the console.

core.min.js?ver=1.13.0:116 Uncaught TypeError: Cannot read properties of undefined (reading '_super')

annotation-2022-04-07-161602

Until the problem is solved you can replace the core.min.js (v1.13.0)
with the older core.min.js (v1.12.1)
wp-includes/js/jquery/ui/core.min.js
then Advanced File Attachments works again
Or in theme need edit file functions.php and add code:

 

add_action( 'wp_head', function(){
	wp_deregister_script( 'jquery-ui-core' );
	wp_register_script( 'jquery-ui-core', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js', ['jquery'], '1.12.1' );
}, 0);

UPD: This problem already been fixed in wpForo Advanced Attachments addon v2.1.2 or higher version.

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments