Home Forums Plugin Support WP Project Manager Pro Front end + Gantt Chart Bug

This topic is: not resolved

This topic contains 4 replies, has 3 voices, and was last updated by  Timothy 4 years, 1 month ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #37061

    Wolfgang
    Member
    Post count: 1

    Hi, there seems to be a but on the front end project manager with the Gantt Chart application. I get the following error message a number of times (the more tasks the more messages):

    Warning: trim() expects parameter 1 to be string, array given in /home/%username%/public_html/admin/wp-includes/pluggable.php on line 2149

    Please help!

    Thanks

    #37062

    Wolfgang
    Member
    Post count: 1
    #37087

    Nayem
    Moderator
    Post count: 6480

    Hello Wolfgang,

    Which version of Project manager you are using?. Please let me know.

    #37448

    Timothy
    Member
    Post count: 5

    same issue here.
    version 0.5.4

    #37453

    Timothy
    Member
    Post count: 5

    quick fix, which removes the warning since it converts the value to a string:

    on line 2149:
    $email_hash = md5( strtolower( trim( strval ($email )) ) );
    originall:
    $email_hash = md5( strtolower( trim( $email ) ) );

    i dont know the implications to the mail function digging into that.

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Front end + Gantt Chart Bug’ is closed to new replies.