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 Line 60 "foreach() argument must be of type array|object, null given in C:\floorfy-dl.php on line 60" #1

Open
Connerkurtz opened this issue Feb 27, 2024 · 0 comments

Comments

@Connerkurtz
Copy link

Title says it all. PHP and cUrl are loaded and working (allegedly), but receiving a null in line 60 when running:
php floorfy-dl.php https://floorfy.com/tour/1990145

I'm new to PHP, so any help would be greatly appreciated.

It is generating a CFG.json file each time, but the file is blank.

Full Output:

PS C:> php C:/floorfy-dl.php https://floorfy.com/tour/1990145
url https://floorfy.com/tour/1990145
Downloading https://floorfy.com/tour/1990145
Downloading https://cdn.floorfy.com/
PHP Warning: Trying to access array offset on null in C:\floorfy-dl.php on line 60
PHP Warning: foreach() argument must be of type array|object, null given in C:\floorfy-dl.php on line 60
done

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

1 participant