Image paths erroring in facebook dash.
-
Appears the image urls for each product (EDD) was coming through as simply “/wp-content/uploads/./..png”. I tracked it to this line:
pixel-caffeine/includes/product-catalogs/class-feed-mapper.php:166
The
set_url_scheme
only accepts null|string for the second argument. I just read it over to confirm and it only uses string comparison inside that function. So the correct usage would be either$image_link = set_url_scheme( $this->item->get_image_url(), null );
which returns whichever is in use at the time.Commenting that line out entirely did the trick as well. Not sure if you need that line for something else or not.
Hope that helps someone.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Image paths erroring in facebook dash.’ is closed to new replies.