Closed akubima closed 1 year ago
Replace .getValue();
With ->getValue();
In PHP, dots are used for concatenation.
Thank you so much, you can laugh at me, I didn't even realize that I shouldn't have used "." lol 😆 . Sorry for taking up your time.
Describe the bug
Call to undefined function App\Http\Controllers\getValue()
public static function GetTelemetry($device_id){ return Firebase::database()->getReference('/'.$device_id.'/telemetries').getValue(); }
Installed packages
PHP version and extensions
Steps to reproduce the issue.
Error message/Stack trace
Additional information
No response