• Resolved comcompany

    (@comcompany)


    Hello,

    We had an error with one of our website with your plugin :

    PHP Fatal error:  Uncaught TypeError: pathinfo(): Argument #1 ($path) must be of type string, array given in ../wp-content/plugins/wpcf7-redirect/classes/actions/class-wpcf7r-action-save-lead.php:148

    It happened only with file submission when trying to save the contact in the leads.

    We did a simple but effective fix to make it work :

    if (is_array($file_path)) {
        $file_path = $file_path[0];
    }

    Hope you will fix it soon.

    Have a good day !

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Error with files submission’ is closed to new replies.