Getting this error constantly not sure where the issue
At C:\Users\1070MRIG\Desktop\MPM\MultiPoolMiner-master\MultiPoolMiner.ps1:346 char:96
+ ... bject $Config.Algorithm $_.HashRates.PSObject.Properties.Name | Where ...
+                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidData: (:) [Compare-Object], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.CompareObjectCommand

Compare-Object : Cannot bind argument to parameter 'DifferenceObject' because it is null.
At C:\Users\1070MRIG\Desktop\MPM\MultiPoolMiner-master\MultiPoolMiner.ps1:346 char:96
+ ... bject $Config.Algorithm $_.HashRates.PSObject.Properties.Name | Where ...
+                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidData: (:) [Compare-Object], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.CompareObjectCommand

Compare-Object : Cannot bind argument to parameter 'DifferenceObject' because it is null.
At C:\Users\1070MRIG\Desktop\MPM\MultiPoolMiner-master\MultiPoolMiner.ps1:346 char:96
+ ... bject $Config.Algorithm $_.HashRates.PSObject.Properties.Name | Where ...
+                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidData: (:) [Compare-Object], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.CompareObjectCommand

Compare-Object : Cannot bind argument to parameter 'DifferenceObject' because it is null.
At C:\Users\1070MRIG\Desktop\MPM\MultiPoolMiner-master\MultiPoolMiner.ps1:346 char:96
+ ... bject $Config.Algorithm $_.HashRates.PSObject.Properties.Name | Where ...
+                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidData: (:) [Compare-Object], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.CompareObjectCommand

Compare-Object : Cannot bind argument to parameter 'DifferenceObject' because it is null.
At C:\Users\1070MRIG\Desktop\MPM\MultiPoolMiner-master\MultiPoolMiner.ps1:346 char:96
+ ... bject $Config.Algorithm $_.HashRates.PSObject.Properties.Name | Where ...
+                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidData: (:) [Compare-Object], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.CompareObjectCommand

Compare-Object : Cannot bind argument to parameter 'DifferenceObject' because it is null.
At C:\Users\1070MRIG\Desktop\MPM\MultiPoolMiner-master\MultiPoolMiner.ps1:346 char:96
+ ... bject $Config.Algorithm $_.HashRates.PSObject.Properties.Name | Where ...
+                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidData: (:) [Compare-Object], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.CompareObjectCommand

Compare-Object : Cannot bind argument to parameter 'DifferenceObject' because it is null.
At C:\Users\1070MRIG\Desktop\MPM\MultiPoolMiner-master\MultiPoolMiner.ps1:346 char:96
+ ... bject $Config.Algorithm $_.HashRates.PSObject.Properties.Name | Where ...
+                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidData: (:) [Compare-Object], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.CompareObjectCommand

Compare-Object : Cannot bind argument to parameter 'DifferenceObject' because it is null.