It you're using the most recent version of Photoshop the "Could not complete your request because of a program error" is a known issue and it's related to either an unspported GPU or an outdated GPU driver
Upgraded Photoshop did not like the current Graphics Card / Driver. I purchased a GTX 1050Ti 4GT LP GDDR5 Graphics Card. Not only did it solve the problem, but cropping etc. became smooth & continuous. I have also increased the RAM from 8GB to 16GB, which has also been beneficial.