• Resolved andreiandronachi95

    (@andreiandronachi95)


    Hello! I tried to update the plugin from 4.9.4 to 4.9.5, but I see there is a problem with the plugin, more exactly, in the src/admin/videopack-ffmpeg.php I there is an error on line 208 “unexpected )”. The problem is that there is an extra comma after last parameter (intval…)

    $encode_array = kgvid_generate_encode_array(

            $input,

            $uploads[‘path’] . ‘/Adobestock_469037984’ . $video_formats[ $options[‘sample_format’] ][‘suffix’],

            $movie_info,

            $options[‘sample_format’],

            $encode_dimensions[‘width’],

            $encode_dimensions[‘height’],

            intval( $options[‘sample_rotate’] ),

    );

    Because of this I got 500 on all pages.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Kyle Gilman

    (@kylegilman)

    Oh, that’s a PHP v7.3 feature and I see I’m still targeting PHP v7.2.5 in the Videopack system requirements. I’ll get a fix out for that ASAP. But definitely bug your host about updating to a newer version of PHP because everything before v8.1 is end of life and won’t be releasing security fixes.

    Thread Starter andreiandronachi95

    (@andreiandronachi95)

    Thank you for the response! Sorry for forgetting specify my PHP version. You are right, at this moment my site still run with PHP 7

    Plugin Author Kyle Gilman

    (@kylegilman)

    Version 4.9.6 is released and should work with PHP v7.1 and higher.

    Thread Starter andreiandronachi95

    (@andreiandronachi95)

    Thank you for the quick response! Now is ok.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Extra comma in function’ is closed to new replies.