You say 'whenever I run the program'. WHich program are you talking about? How do you start it? What else is shown as output? Where is the error shown? What did you use as input?
– Stefan SchroederJun 20 '18 at 08:59
2
The variable \g__prg_map_int was recently renamed \g_kernel_prg_map_int. Probably you didn't update everything on your TeX system, or some code you use is abusing internal variables. Please, add a minimal example of code that produces the error.
– egregJun 20 '18 at 09:00
The spath3 package is indeed abusing \g__prg_map_int and should be rewritten not to use kernel internals.
– egregJun 20 '18 at 12:22
I checked the suggested link and entered the codes but it asks for the file name
– Amir Jun 20 '18 at 12:48
\g__prg_map_intwas recently renamed\g_kernel_prg_map_int. Probably you didn't update everything on your TeX system, or some code you use is abusing internal variables. Please, add a minimal example of code that produces the error. – egreg Jun 20 '18 at 09:00spath3package is indeed abusing\g__prg_map_intand should be rewritten not to use kernel internals. – egreg Jun 20 '18 at 12:22