I think I found a bug. I’m not sure if this is related to WooCommerce or not, but I’m getting a “Can’t convert object to a string” in both: api/api-template.php & api/value.php
The $post_id is an object, so I simply put in both files:
if ( is_object( $post_id ) ) {
return false;
}
and that seems to get rid of the error, but not sure if it’s causing more issues.
Hi @joelataylor
Thanks for the bug report. Can you please specify line numbers and also provide the context where this error occurs?
Hmmm, well, now that I’ve upgraded to 5.0.2 I can’t reproduce the issue. ha. I’ll reopen if it shows again. Thx!