When copiling an ICO contract using http://remix.ethereum.org/ and JS VM environment the following error is thrown:
"VM error: invalid opcode. The constructor should be payable if you send value. The execution might have thrown. Debug the transaction to get more information."
Didn't send any value and the constructor is not a payable function. So why the error?
The contract source code is at: https://gist.github.com/computerphysicslab/3990c706a2f36fed56e31e72f59b61fb
Any hint? Thx!