Results 1 to 4 of 4

Thread: [Solved] Fatal error: Class 'TaskMessages' not found in...

  1. #1
    User
    Join Date
    06-20-09.
    Posts
    115

    Default [Solved] Fatal error: Class 'TaskMessages' not found in...

    Has anyone ran into this problem?
    I can't get into my backend anymore. Although the front looks fine.

    Code:
    Warning: in_array() expects parameter 2 to be array, null given in /home3/thorupar/public_html/system/modules/core/library/Contao/System.php on line 110
    #0 [internal function]: __error(2, 'in_array() expe...', '/home3/thorupar...', 110, Array)
    #1 /home3/thorupar/public_html/system/modules/core/library/Contao/System.php(110): in_array('getInstance', NULL)
    #2 /home3/thorupar/public_html/contao/main.php(147): Contao\System->import('TaskMessages')
    #3 /home3/thorupar/public_html/contao/main.php(115): Main->welcomeScreen()
    #4 /home3/thorupar/public_html/contao/main.php(319): Main->run()
    #5 {main}
    Fatal error: Class 'TaskMessages' not found in /home3/thorupar/public_html/system/modules/core/library/Contao/System.php on line 110
    I've recently updated to v3.0.1 and all was going well while editing in Core Only Module Mode, then I enabled other Modules, that was fine and so I logged out. But now can't get back in.

    now I've ennabled coreOnlyMode:
    Code:
    $GLOBALS['TL_CONFIG']['coreOnlyMode'] = true;
    But still can't get back in.....yipes

    By the way I'm no programmer, although I can fix things badly
    geung

  2. #2
    User
    Join Date
    06-20-09.
    Posts
    115

    Default Re: Fatal error: Class 'TaskMessages' not found in...

    Well I've managed to bypass it for now.
    I'm not sure what's going on but this is not a fix, so it's very likely to come back and bite me again

    Temporary solution
    I noticed that in path: system/modules/ there was an extension folder called 'task', so i tried to rename it, so the system would ignore it....no luck there.

    I then noticed by chance that in some default extension folders (like calendar and comments) there was an invisible file called dot skip
    Code:
    .skip
    I just copied the file to the 'task' folder and it worked. I guess it skipped the extension task!!

    Edited also found out that you can disable the module via the localconfig.php
    Code:
    // Disable the task center
    unset($GLOBALS['BE_MOD']['profile']['tasks']);
    But if anyone have a real solution to this, please share

    thanks
    geung

  3. #3
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: Fatal error: Class 'TaskMessages' not found in...

    Task is no longer a core extension, so you have to install it as well.

  4. #4
    User
    Join Date
    06-20-09.
    Posts
    115

    Default Re: Fatal error: Class 'TaskMessages' not found in...

    Quote Originally Posted by thyon
    Task is no longer a core extension, so you have to install it as well.
    It's no longer a core module, so do you mean I don't have to install it?

    I read the german forum (via google translate), some guys had the same issues but there were no real resolution. Just the same, remove the module it ain't core no more anyway.

    I had no issues when using a clean install, just when i updated via the live update. I figure it must be a custom config issue with me (and a few germans) and not a general bug.

    Thanks for the reply though
    geung

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •