I found what was causing the error for me.
When you open the workflow:
- click on the /usr/bin/osascript
- change the last lines from
if ("{query}" = "scriptlocationnotset") then
tell application "Alfred 3" to search "lp "
end if
to:
if ("{query}" = "scriptlocationnotset") then
tell application "Alfred 4" to search "lp "
end if
- then it should work again.