• Hello,
    I tried to use the wp user frontend plugin, installed it, and all went fine, but the edit Profile page.

    I set up the page, and the option in the WP-backend. But when I visit the site in frontend, all forms are displayed correct, but a javascript error occurs saying: `TypeError: o is null
    /wp-includes/js/plupload/plupload.js?ver=3.4.1`

    Every other sites run fine.

    Any advice what’s going wrong?
    Thanks in advance!

    http://wordpress.org/extend/plugins/wp-user-frontend/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter neXorianus

    (@nexorianus)

    seems like I have fixed it my self, and I hope the skripts are not needed on this page.

    here is my solution:
    in line 130 in plugins/wp-user-frontend/wpuf.php
    replace
    if ( has_shortcode( 'wpuf_addpost' ) || has_shortcode( 'wpuf_edit' ) ) {
    with
    if ( (has_shortcode( 'wpuf_addpost' ) || has_shortcode( 'wpuf_edit' )) && !has_shortcode( 'wpuf_editprofile' ) ) {

    then the scripts will not be loaded on the edit-Profile page.

    Plugin Author Tareq Hasan

    (@tareq1988)

    nice

    I have the same problem but this solution didn’t worked for me, unfortunately. I’ve deactivated other plugins, changed my theme to TwentyEleven and even downgraded my WordPress install to 3.4.2 and the problem still exist. Everything works great but when I am on the edit profile page all JavaScripts are broken.

    Any other idea on how to fix this bug?

    The development version has some changes in this area which may fix the problem

    OK, I fixed it.
    The neXorianus’ solution works, but you need to do the same in line 33 in wp-user-frontend/lib/attachment.php

    professor99, thanks for the link to the development version. I will test it for sure as it contains other useful fixes 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WP User Frontend] plupload scripts are included in edit user page –> error’ is closed to new replies.