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

Error in Web Search Suggest workflow #40

Open
Cipri84 opened this issue Feb 16, 2024 · 2 comments
Open

Error in Web Search Suggest workflow #40

Cipri84 opened this issue Feb 16, 2024 · 2 comments

Comments

@Cipri84
Copy link

Cipri84 commented Feb 16, 2024

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
Copy link
Author

Cipri84 commented Feb 16, 2024

[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

@learn2reid
Copy link

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

@github-staff github-staff deleted a comment from 1291945816 Mar 27, 2024
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

2 participants