Fix for page builder , select background image .
I had recently tried to add background image on the pagebuilder , didn’t worked and got the following error in console:
Uncaught TypeError: wp.media is not a function
I have opened functions.php and added the following line :
add_action( 'admin_enqueue_scripts', 'load_wp_media_files' );
function load_wp_media_files() {
wp_enqueue_media();
}it works now ,
Fix this bug in the next update,thanks .
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
1Hi Alin Razvan
Thanks for letting us know about this. I’ve logged this as a potential bug in our issue tracker. We’ll investigate this as soon as possible and try come up with a fix.
Magus
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.