The following error was recorded when trying to view ALL TASKS - command was not executed

Warning: 'array_values(): The argument should be an array' in /mnt/san/www/oralhistory.concordia.ca/TNT/sites/all/modules/mytinytodo/mytinytodo/class.db.drupal.php:28 #0 [internal function]: myErrorHandler(2, 'array_values():...', '/mnt/san/www/or...', 28, Array) #1 /mnt/san/www/oralhistory.concordia.ca/TNT/sites/all/modules/mytinytodo/mytinytodo/class.db.drupal.php(28): array_values(false) #2 /mnt/san/www/oralhistory.concordia.ca/TNT/sites/all/modules/mytinytodo/mytinytodo/ajax.php(890): DatabaseResult_Drupal->fetch_row() #3 /mnt/san/www/oralhistory.concordia.ca/TNT/sites/all/modules/mytinytodo/mytinytodo/ajax.php(36): getUserListsSimple() #4 /mnt/san/www/oralhistory.concordia.ca/TNT/includes/module.inc(302): require_once('/mnt/san/www/or...') #5 /mnt/san/www/oralhistory.concordia.ca/TNT/sites/all/modules/mytinytodo/mytinytodo.module(78): module_load_include('php', 'mytinytodo', 'mytinytodo/ajax') #6 [internal function]: mytinytodo_ajax_inc() #7 /mnt/san/www/oralhistory.concordia.ca/TNT/includes/menu.inc(503): call_user_func_array('mytinytodo_ajax...', Array) #8 /mnt/san/www/oralhistory.concordia.ca/TNT/index.php(21): menu_execute_active_handler() #9 {main}

Comments

fizk’s picture

How do I reproduce the error?

fizk’s picture

Status: Active » Postponed (maintainer needs more info)
fizk’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Please reopen if this is still an issue.

apotofgold’s picture

Sorry, this happens when I try an use the all tasks feature with (drupal 7). Am I the only person experiencing this?

fizk’s picture

Title: Cannot load ALLTASKS » Cannot load use the "All tasks" feature
Status: Closed (cannot reproduce) » Active

Thanks, I can replicate the error. I never used the all tasks feature :)

fizk’s picture

Status: Active » Closed (fixed)

Fixed!

flightrisk’s picture

Version: 7.x-1.0-beta8 » 7.x-1.0-beta10
Status: Closed (fixed) » Active

I'll move over here since you marked me as a duplicate. It is not fixed. I never even used an older version of the module since I just installed it a couple of weeks ago. Just to make sure, I just deleted the module and downloaded it again. The same error.

1. When I first load the page I see no tab with "all tasks" in it. All I see is a down arrow at the far right.
2. If I click on that, I see that I can change views. I Select "all tasks" and a tab now appears to the left of the dropdown arrow that says "all tasks".
3. I click on that button and get the error.
4. The button never changes from "all tasks". Is it supposed to be an all tasks button or is it supposed to tell you what view is currently active?

fizk’s picture

Version: 7.x-1.0-beta10 » 7.x-1.0-beta8
Status: Active » Closed (fixed)

flightrisk, it's fixed in dev. Try using the latest version from git.

http://drupalcode.org/project/mytinytodo.git/snapshot/d0c52af47a68cdc716...

flightrisk’s picture

Can't download, get "corrupted content" error.

fizk’s picture

I don't know why the download doesn't work for you, I just downloaded it as anonymous.

flightrisk’s picture

It seems that this drupal site has issues with Firefox. I switched over to IE and it works. I also get constant server resets in Firefox. Thanks!