• Resolved andreios

    (@andreios)


    After installing I tried to set to average bitrate but it doesn’t reacted. After that I got every time when I visited the settings page this error in the debug log.

    [16-Mar-2024 20:49:01 UTC] PHP Fatal error: Uncaught TypeError: array_merge(): Argument #4 must be of type array, string given in /var/www/vhosts/example.com/httpdocs/wp-content/plugins/video-embed-thumbnail-generator/src/admin/videopack-ffmpeg.php:950 Stack trace: #0 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/video-embed-thumbnail-generator/src/admin/videopack-ffmpeg.php(950): array_merge() #1 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/video-embed-thumbnail-generator/src/admin/videopack-ffmpeg.php(200): kgvid_generate_encode_array() #2 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/video-embed-thumbnail-generator/src/admin/videopack-admin.php(2322): kgvid_ffmpeg_test_encode() #3 /var/www/vhosts/example.com/httpdocs/wp-admin/includes/template.php(1836): kgvid_test_ffmpeg_options_callback() #4 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/video-embed-thumbnail-generator/src/admin/videopack-admin.php(1351): do_settings_fields() #5 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/video-embed-thumbnail-generator/src/admin/partials/settings-page.php(25): kgvid_do_settings_sections() #6 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/video-embed-thumbnail-generator/src/admin/videopack-admin.php(1305): include('...') #7 /var/www/vhosts/example.com/httpdocs/wp-includes/class-wp-hook.php(324): kgvid_settings_page() #8 /var/www/vhosts/example.com/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #9 /var/www/vhosts/example.com/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #10 /var/www/vhosts/example.com/httpdocs/wp-admin/admin.php(259): do_action() #11 /var/www/vhosts/example.com/httpdocs/wp-admin/options-general.php(10): require_once('...') #12 {main} thrown in /var/www/vhosts/example.com/httpdocs/wp-content/plugins/video-embed-thumbnail-generator/src/admin/videopack-ffmpeg.php on line 950

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter andreios

    (@andreios)

    Deactivating did not work at all. I deleted options table kgvid_video_embed_options from database and now I can visit the settings page again and everything seems to work.

    Plugin Author Kyle Gilman

    (@kylegilman)

    I see the problem. I’ll have it fixed in the next update. Thanks for bringing it to my attention.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error after setting to average bitrate?’ is closed to new replies.