Error 500

Error: Invalid call of the function [get_next_video], second Argument [channel_id] is of invalid type, Cannot cast String [] to a value of type [numeric]