Answers for "Call to a member function move() on null"

PHP
0

Call to a member function move() on null

if (Input::file('image')) {

    if(file_exists(Input::file('image')->move(getcwd() . '/files/img/' . $post-    >image)))    
        {
            unlink(Input::file('image')->move(getcwd() . '/files/img/' . $post-    >image));
    ....
}
Posted by: Guest on April-24-2022

Code answers related to "Call to a member function move() on null"

Browse Popular Code Answers by Language