alfred-web-search-suggest icon indicating copy to clipboard operation
alfred-web-search-suggest copied to clipboard

Error in Web Search Suggest workflow

Open Cipri84 opened this issue 1 year ago • 2 comments

Hi. I can't use the workflow even though I have php installed. Whenever I try to search for something on IMDB for example it takes me to Google search.

image jpeg f2b429c5ab62f2338d6767c8b5c0139c

Cipri84 avatar Feb 16 '24 12:02 Cipri84

[20:50:23.907] Logging Started... [20:50:55.806] Web Search Suggest[Script Filter] Queuing argument 'tom' [20:50:58.440] Web Search Suggest[Script Filter] Script with argv '(null)' finished [20:50:58.444] ERROR: Web Search Suggest[Script Filter] Code 255: PHP Warning: Undefined property: stdClass::$i in /Users/ciprianoferreira/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A31B3E76-15F6-4838-B710-1856CCC59422/imdb.php on line 24 PHP Warning: Attempt to read property "imageUrl" on null in /Users/ciprianoferreira/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A31B3E76-15F6-4838-B710-1856CCC59422/imdb.php on line 24 PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /Users/ciprianoferreira/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A31B3E76-15F6-4838-B710-1856CCC59422/imdb.php on line 24 PHP Fatal error: Uncaught ValueError: Path cannot be empty in /Users/ciprianoferreira/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A31B3E76-15F6-4838-B710-1856CCC59422/util/download.php:23 Stack trace: #0 /Users/ciprianoferreira/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A31B3E76-15F6-4838-B710-1856CCC59422/util/download.php(23): file_get_contents('') #1 /Users/ciprianoferreira/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A31B3E76-15F6-4838-B710-1856CCC59422/imdb.php(24): saveAndReturnFile('') #2 Command line code(4): require_once('/Users/cipriano...') #3 {main} thrown in /Users/ciprianoferreira/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A31B3E76-15F6-4838-B710-1856CCC59422/util/download.php on line 23 [20:50:58.450] Web Search Suggest[Script Filter] Warning: Undefined property: stdClass::$i in /Users/ciprianoferreira/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A31B3E76-15F6-4838-B710-1856CCC59422/imdb.php on line 24

Warning: Attempt to read property "imageUrl" on null in /Users/ciprianoferreira/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A31B3E76-15F6-4838-B710-1856CCC59422/imdb.php on line 24

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /Users/ciprianoferreira/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A31B3E76-15F6-4838-B710-1856CCC59422/imdb.php on line 24

Fatal error: Uncaught ValueError: Path cannot be empty in /Users/ciprianoferreira/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A31B3E76-15F6-4838-B710-1856CCC59422/util/download.php:23 Stack trace: #0 /Users/ciprianoferreira/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A31B3E76-15F6-4838-B710-1856CCC59422/util/download.php(23): file_get_contents('') #1 /Users/ciprianoferreira/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A31B3E76-15F6-4838-B710-1856CCC59422/imdb.php(24): saveAndReturnFile('') #2 Command line code(4): require_once('/Users/cipriano...') #3 {main} thrown in /Users/ciprianoferreira/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A31B3E76-15F6-4838-B710-1856CCC59422/util/download.php on line 23 [20:50:58.452] ERROR: Web Search Suggest[Script Filter] JSON error: JSON text did not start with array or object and option to allow fragments not set. around line 1, column 0. in JSON: Warning: Undefined property: stdClass::$i in /Users/ciprianoferreira/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A31B3E76-15F6-4838-B710-1856CCC59422/imdb.php on line 24

Warning: Attempt to read property "imageUrl" on null in /Users/ciprianoferreira/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A31B3E76-15F6-4838-B710-1856CCC59422/imdb.php on line 24

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /Users/ciprianoferreira/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A31B3E76-15F6-4838-B710-1856CCC59422/imdb.php on line 24

Fatal error: Uncaught ValueError: Path cannot be empty in /Users/ciprianoferreira/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A31B3E76-15F6-4838-B710-1856CCC59422/util/download.php:23 Stack trace: #0 /Users/ciprianoferreira/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A31B3E76-15F6-4838-B710-1856CCC59422/util/download.php(23): file_get_contents('') #1 /Users/ciprianoferreira/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A31B3E76-15F6-4838-B710-1856CCC59422/imdb.php(24): saveAndReturnFile('') #2 Command line code(4): require_once('/Users/cipriano...') #3 {main} thrown in /Users/ciprianoferreira/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A31B3E76-15F6-4838-B710-1856CCC59422/util/download.php on line 23

Cipri84 avatar Feb 16 '24 18:02 Cipri84

same, doesn't work. JSON issue JSON error: JSON text did not start with array or object and option to allow fragments not set.

learn2reid avatar Feb 25 '24 00:02 learn2reid