adamkiss/alfred-kirby-search

Alfred 4.6

Closed this issue · 10 comments

Kirby Docs search is not working under Alfred 4.6.
Bildschirmfoto 2021-12-06 um 14 20 20

@TakiKio I am afraid I'll need more than that - works fine for me, running on 4.6.1

Unfortunately it's not working anymore for me either. Possibly due to Monterey upgrade?

Mac OS 12.0.1 (M1)
Alfred 4.6.1

kd_alfred.mov

@foxacid huh, Monterey - that’s probably it. Monterey removed the system wide PHP, and this script is a PHP script run from cli. Could that be it?

tbh that's all slightly over my head. I'm not sure what's the best way to proceed here. I'm using MAMP PRO's PHP. Should I additionally install PHP via Homebrew and link that up?

OK I got it up and running. I installed PHP via Homebrew and added the path before the script (hint), like so:

image

OK, next problem is that {query} seems to be passed as a string!?

image

🥳 back in the game with the generous help of @adamkiss and script setting with input as {query}

Screen Shot 2021-12-08 at 23 08 39

export PATH="/opt/homebrew/bin:/usr/local/bin:${PATH}"

Thank you, that does the trick!

Ok, so it's definitely Monterey / PHP issue, not an Alfred 4.6 issue. I'll make a new issue with a description, closing this one.