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

DEPRECATED reset(): Calling reset() #61

Open
rabol opened this issue Jan 22, 2025 · 0 comments
Open

DEPRECATED reset(): Calling reset() #61

rabol opened this issue Jan 22, 2025 · 0 comments

Comments

@rabol
Copy link

rabol commented Jan 22, 2025

What

I followed th instruction and did the installation then I executed this in tinkerwell:

use Illuminate\Support\Collection;

$collection = OpenFoodFacts::find('Coca Cola Zero');
dump($collection);

and got this error:

   DEPRECATED  reset(): Calling reset() on an object is deprecated in vendor/openfoodfacts/openfoodfacts-laravel/src/OpenFoodFacts.php on line 85.

Laravel 11.39.0
php 8.3.16
Local on Mac with Laravel Valet

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