Home Forums Plugin Support WP Project Manager Pro Only current tasks

This topic is: not resolved

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

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #42666

    Tommaso
    Member
    Post count: 11

    After last WP update I dot this issue. I don't know if it is related.

    In the task manages, both on fontend and backend i can see only the CURRENT tasks. If I click on outstanding or completed I only see the current list.

    All my tasks are hided.

    The rest seems to work

    #42694

    Tommaso
    Member
    Post count: 11

    i downgraded to 1.0 and now is working. This is a bug of 1.1

    #42762

    towhid
    Participant
    Post count: 4505

    Hello Tommaso,

    Please update with WP Project Manager Pro to version 1.1 and let me know. I will fix the that issue for you.

    Thank you ๐Ÿ™‚

    #42777

    Tommaso
    Member
    Post count: 11

    I updated to 1.1, you can proceed. Thanks.

    #42784

    towhid
    Participant
    Post count: 4505

    Hello Tommaso,

    Please check your site now and let me know the result. I have fixed that issue for you.

    What I have done are describe below:

    Step 1: Please open wedevs-project-manager/class/task.php

    Step 2: Find this line

    if ( isset( $_GET['tab'] ) && isset( $_GET['subtab'] ) && $_GET['subtab'] == 'outstanding' ) {
    
                $query1 = "AND n.meta_key = '_completed' AND n.meta_value = '0'";
                $query2 = "AND due.meta_value != '' AND STR_TO_DATE( due.meta_value, '%Y-%m-%d') < STR_TO_DATE( NOW(), '%Y-%m-%d')";
            } else if ( isset( $_GET['tab'] ) && isset( $_GET['subtab'] ) && $_GET['subtab'] == 'complete' ) {

    Step 3: And replace the above line with below line of code:

    if ( isset( $_GET['tab'] )  && $_GET['tab'] == 'outstanding' ) {
    
                $query1 = "AND n.meta_key = '_completed' AND n.meta_value = '0'";
                $query2 = "AND due.meta_value != '' AND STR_TO_DATE( due.meta_value, '%Y-%m-%d') < STR_TO_DATE( NOW(), '%Y-%m-%d')";
            } else if ( isset( $_GET['tab'] ) &&  $_GET['tab'] == 'complete' ) {

    Thank you ๐Ÿ™‚

    #42847

    Tommaso
    Member
    Post count: 11

    Not solved. Still the same problem also after you said you fixed it.
    After a reload all the wp is corrupt. Now I get only a blank page!!!

    #42849

    Tommaso
    Member
    Post count: 11

    ALL THE SITE IS GONE. Are you working on it? did you access? I get only a blank page!
    Please restore it as soon as possible.

    I will downgrade to 1.0 of your plugin BUT need the site and the data back NOW.

    #42870

    Tommaso
    Member
    Post count: 11

    I disabled all your plugins and addons.
    I downgraded To 1.0.

    Please, before giving UNTESTED solutions try some debug.
    My work is on the project and I can't afford to loose it!

    NOW ALL IS WORKING with 1.0.

    WILL WAIT FOR A TESTED UPDATE

    #42921

    towhid
    Participant
    Post count: 4505

    Hello,

    I am really sorry for the inconvenience. I have tested in my site and found nothing fault after debug the error. After that debug I have fixed up in your site. There could be a chance for something else I do not know.

    I will again check my end cautiously.

    Whatever, I have given you an instruction in this thread #42784 about how to fix this issue if you need.

    Thank you. ๐Ÿ™‚

    #43336

    Frans
    Member
    Post count: 1

    Hi Towid,

    Nice fix thanks. Everythong works normal now.

    Frans

    #44583

    hk
    Member
    Post count: 1

    Hi Brother Towhid,

    Nice fix, thanks! ๐Ÿ™‚

    HK

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

The topic ‘Only current tasks’ is closed to new replies.