SpottyBlue 0 Junior Poster in Training

Hi,

Me and my colleague are trying to fix an error when we are testing to upload the file to the storage in our PHP test project. The error is called:
FatalThrowableError (E_ERROR): Call to a member function getRealPath() on null

0CtiPf.png

We are using Laravel to create a new project. Can help what code has the problem and how to fix it?

Here is the project zip file: https://1drv.ms/u/s!AqKGcmac7PpVgdUraHfDoXoZ2zpXFA

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.