You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the uploaded image, an alert will pop up saying "Undefined". Looking into the Network tab in dev tools shows the following error: PHP Fatal error: Uncaught TypeError: get_resource_type(): Argument #1 ($resource) must be of type resource, GdImage given.
We should use get_class() function. PHP documentation states:
Explicitly passing null as the object is no longer allowed as of PHP 7.2.0. The parameter is still optional and calling get_class() without a parameter from inside a class will work, but passing null now emits an E_WARNING notice.
The text was updated successfully, but these errors were encountered:
krehak
pushed a commit
to krehak/laravel-simple-filemanager
that referenced
this issue
Apr 2, 2021
After the uploaded image, an alert will pop up saying "Undefined". Looking into the Network tab in dev tools shows the following error:
PHP Fatal error: Uncaught TypeError: get_resource_type(): Argument #1 ($resource) must be of type resource, GdImage given.
We should use get_class() function. PHP documentation states:
The text was updated successfully, but these errors were encountered: