Results 1 to 3 of 3

Thread: JR_User_Profile doesn't output errors messages

  1. #1
    Thread Starter
    jemcapon's Avatar
    Join Date
    Jan 2012
    Location
    New Zealand
    Posts
    83
    Thanks
    4
    Thanked 3 Times in 3 Posts

    JR_User_Profile doesn't output errors messages

    From line 3011 in views.php we have the notices function for the JR_User_Profile class:
    PHP Code:
    public function notices() {

            if ( empty( 
    $this->errmsg ) && isset( $_GET['updated'] ) ) {
                
    appthemes_display_notice'success'__'Your profile has been updated.'APP_TD ) );
            }

        } 
    This only outputs messages if the profile is successfully updated. The code should be this:

    PHP Code:
    public function notices() {

            if ( empty( 
    $this->errmsg ) && isset( $_GET['updated'] ) ) {
                
    appthemes_display_notice'success'__'Your profile has been updated.'APP_TD ) );
            }
            else if(
    $this->errmsg){
                
    appthemes_display_notice('error'$this->errmsg);
            }
        } 
    Please update in the next tag release!

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,967
    Thanks
    169
    Thanked 3,406 Times in 3,277 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. #3
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,967
    Thanks
    169
    Thanked 3,406 Times in 3,277 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Category Output
    By toor in forum Help Using ClassiPress
    Replies: 6
    Last Post: November 8th, 2017, 12:25 PM
  2. PHP errors notices and database errors
    By pedro28 in forum User Feedback & Search
    Replies: 0
    Last Post: June 26th, 2017, 04:25 PM
  3. [SOLVED] Limit output
    By tbase in forum Mapsupreme
    Replies: 0
    Last Post: November 4th, 2014, 03:05 PM
  4. Samcy Kernel bug: ClassiPress doesn't display errors from edit_user() function
    By almightyeric in forum Report ClassiPress Bugs
    Replies: 6
    Last Post: October 16th, 2014, 09:40 AM
  5. output stat
    By tradeamillion in forum AppStats
    Replies: 2
    Last Post: November 27th, 2013, 12:57 AM