Conflict with Yanfly Visual Battlers and Party System?

I am currently using Yanfly Visual Battlers & Yanfly Party System as well as numerous other scripts which I don't believe are related to this problem. Just in case, though, here is my full list of scripts:

upload_2019-4-19_21-6-5.png


https://github.com/Archeia/YEARepo/blob/master/Battle/Visual_Battlers.rb
https://github.com/Archeia/YEARepo/blob/master/Menu/Party_System.rb
https://github.com/Archeia/YEARepo/blob/master/SYF - Soulpour Yanfly Party System Fix.txt


and get an error message whenever I try to switch actors in the formation. I'm not certain that the problem is a conflict between these two scripts, but it's the only thing I can think of.

The error message says:
upload_2019-4-19_20-57-27.png

I have made no changes to the core script it's referring to:

# * Get Actor
#--------------------------------------------------------------------------
def [](actor_id)
return nil unless $data_actors[actor_id]
@data[actor_id] ||= Game_Actor.new(actor_id)
end
end
upload_2019-4-19_20-57-27.png
upload_2019-4-19_21-6-5.png

Original thread: https://forums.rpgmakerweb.com/threads/conflict-with-yanfly-visual-battlers-and-party-system.108157/