Fixing two PHP notices

Array to string conversion in log statement
Array index undefined when adding product with required variation via add to cart link
Updating version number to 1.6.7