Error: Invalid parameter(s): image
-
$ wp wc product_cat update 41 –image=12266.jpg
Error: Invalid parameter(s): image {“status”:400,”params”:{“image”:”image is not of type object.”}}I’m not sure what that’s telling me, as a user. The only thing I can think of is the file either doesn’t exist, or is corrupt. Clearly, it exists:
$ ls -l /data/local/src/dragon.greetonix.com/wp-content/uploads/2018/03/12266.jpg
-rw-rw-r– 1 apb apb 201392 Mar 21 12:58 /data/local/src/dragon.greetonix.com/wp-content/uploads/2018/03/12266.jpgAnd since I’m using the same image for both product and category, I can see that the image is fine as a product, so clearly it’s not corrupt.
So, I’m stuck as to what the issue is. Any help?
Thanks in advance!
The page I need help with: [log in to see the link]
- The topic ‘Error: Invalid parameter(s): image’ is closed to new replies.