myprefix_adjust_offset_pagination’ not found

I could be wrong here, but you’re calling a function “myprefix_adjust_offset_pagination” with the add_filter option, but you’re not actually making that function unless it’s on the homepage as that function is created behind the if is_home statement. This would explain why you get the error on your admin page. Try pulling that function out, or not that part of the code as a function.