Viewing 4 replies - 1 through 4 (of 4 total)
  • Can you please check now… I couldn’t find any issue with the file upload functionality in your site

    Robsta, any update on this? Can I consider it as resolved?

    Thanks
    Anwar

    If it’s the same error I had, that’s because of a problem of the plugin.
    clearstatcache only accepts two parameters from PHP>5.3.0 on.

    So UploadHandler.php should read:

    protected function get_file_size($file_path, $clear_stat_cache = false) {
            if ($clear_stat_cache) {
                if (version_compare(PHP_VERSION, '5.3.0') >= 0)
                  clearstatcache(true, $file_path);
                else
                  clearstatcache();
            }
            return $this->fix_integer_overflow(filesize($file_path));
    
        }

    Good catch Kuebel. will include this fix in the next release

    Thanks
    Anwar

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error: SyntaxError:’ is closed to new replies.