Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigating to user throws "Undefined index..." error #59

Open
sinewave opened this issue Sep 19, 2020 · 11 comments
Open

Navigating to user throws "Undefined index..." error #59

sinewave opened this issue Sep 19, 2020 · 11 comments

Comments

@sinewave
Copy link

When trying to navigate to any user using the command "slack @user.name" I get the following error:

Workflow 4.2.1
macOS 10.15.5

Notice: Undefined index: ims in /Users/user.name/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.977F234C-3C27-4223-9CE4-AB651C2B5419/scripts/helpers/service/SingleTeamSlackService.php on line 113

Warning: Invalid argument supplied for foreach() in /Users/user.name/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.977F234C-3C27-4223-9CE4-AB651C2B5419/scripts/helpers/service/SingleTeamSlackService.php on line 115

Warning: array_filter() expects parameter 1 to be array, null given in /Users/user.name/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.977F234C-3C27-4223-9CE4-AB651C2B5419/scripts/libs/Utils.php on line 57

Warning: array_values() expects parameter 1 to be array, null given in /Users/user.name/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.977F234C-3C27-4223-9CE4-AB651C2B5419/scripts/libs/Utils.php on line 57

Warning: array_map(): Expected parameter 2 to be an array, bool given in /Users/user.name/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.977F234C-3C27-4223-9CE4-AB651C2B5419/scripts/models/ModelFactory.php on line 32
@sinewave
Copy link
Author

@yannickglt, apologies for bumping but feels like I'm sooo close to getting this working 🙏

@pmoore804
Copy link

same issue here.. Workflow 4.2.1

@mueller-stephan
Copy link
Contributor

The slack API endpoint to retrieve direct messages changed. I created a pull request fixing this

@clementfalchier
Copy link

Thanks @mueller-stephan I'm waiting for this fix too :)

@brank87
Copy link

brank87 commented Nov 14, 2020

Such an amazing workflow. Really hope this will be fixed soon. Slacks native search for users is a pain. This would be a time saver. 🙏 @yannickglt

@clementfalchier
Copy link

@mueller-stephan do you have an update regarding the fix to search and be redirected into a Slack user? :)

@mueller-stephan
Copy link
Contributor

@clementfalchier Redirection to users is working for me with the current version of the workflow. Can you share your relevant Alfred-Debugger output? Hope I can help then :)

@clementfalchier
Copy link

clementfalchier commented Nov 22, 2020

I'm still with the 4.2.1 version, do you have a link to update to 4.2.2 please because I didn't find it

@JungHoonGhae
Copy link

most of all , Thank you for this excellent work that you did to make this workflow,
But I am getting this error too!

I hope this can be fixed!

@lorenzonucaro
Copy link

Getting the same error, any chance of getting this solved?

@ND-CO
Copy link

ND-CO commented Jan 7, 2021

Also getting this error. No update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants