Some feature images changes dimension after posting a new blog post - wordpress

I have posted a new blog. After that in my list of blogs I see the feature images of few posts have changed their dimension to 1 * 1 px. Attached is the snapshot of inspect, the first image which is the latest one has good feature image, but next post does have feature image but just the dimensions are 1*1 px. If you check my website, you will notice there are subsequent posts which have same dimension issue, few of them are good !!
I checked the media where dimensions are good and I have not changed them. I double checked and feature images for blog post is enabled. I uninstalled the jetpack which was one of the suggestion I got from WordPress forum while looking for similar issue.
Astra theme and editor plugin Elementor.
Is there something I am missing ?
Check out website where you will see the issue. Let me know if you need more information.
https://www.patelaalap.com (I have fixed my website now, I don't have the solution, I just removed the feature images and re-added those and it worked. It is a temporary fix but still, I would appreciate any help so I can fix this once in for all.

Related

Images showing in description of woocommerce products instead of normal thumbnail location

Instead of images showing up as thumbnails underneath the main product image, they are getting added to the description section of each product. Here is an example product page: https://vdgmilitaria.com/shop/other-axies-allies/italy/ww2-italian-german-african-campaign-medal/
Any idea what could be causing this?
As a side note it seems like some of the styles on the website are now broken too and things are sitting in weird places such as the screenshot attached.
I've tried inspecting the product pages on my website with the web developer tools, but still can't figure out what is going on here.
This issue is likely caused by changes made to the WooCommerce theme or plugins affecting the product page layout and functionality. To fix it, you can try the following steps:
Disable all plugins temporarily and see if the issue is resolved. If so, re-enable each plugin one by one and check if the issue reappears after each activation.
If disabling plugins doesn't resolve the issue, try switching to a default WordPress theme like Twenty Twenty-One to see if the problem is with the theme.
If the issue still persists, you can try contacting the WooCommerce support team or the theme author for further assistance.
If all else fails, consider hiring a WordPress developer to investigate the issue and make necessary fixes.
Note: Before making any changes, it's always a good idea to backup your website to avoid losing any data.

wordpress polylang bug, edit one post changes other posts too

I'm trying to fix a bug in production, and I'm so desperate.
I'm using WordPress and Polylang plugins and the Redis_object_cache plugin.
the problem is:
When I make new content and translate it when I edit the translated post, the original content is changing too... and when I edit the original post, the translated content will change too.
it's like there are two posts with different IDs and different titles but the same body(content). so if change one the contents, the other will change too.
I have no clue where the problem might be, please if you have had the same issue, or you can guess where the bug might be, share your experience.

Featured Image doesn't show on the Product page

I'm struggling with my wordpress page, with woocommerce. The featured image should be showing as the first image on the product page, but isn't. I've read a few other threads, like this one:
Product Images don't show (Woocommerce)
where they have some solutions, but the CSS they are proposing isn't working.
My page is here: www.byjgk.com , and for example, if you check out a product category page, like: https://www.byjgk.com/product-category/dresses/ , and then select a dress (e.g.: https://www.byjgk.com/product/the-jersey-maxi-dress-petite-in-sandstone/), you should then see the same featured which was on the category page also appear as the first image on the product page as WELL/(in addition to the other 3 images that are there).
Normally, that's how the image feature works, so there must be some opacity/other problem.
I also did try changing the woocommerce.css file, (which was also a suggestion in the link above, to put this there:
.product.has-default-attributes.has-children > .images{opacity :1;}
but i didn't see any class called exactly that with the word "children".
I also tried to put the "jquery" that was suggested:
$('.woocommerce-product-gallery--with-images').css('opacity', 1);
into the functions.php section, but it said this query had some sort of error, or it didn't like the "$" maybe...
Soooo, I'm at a loss. please help. I see a few people have asked about this on some other forums, but many don't figure it out.
thanks!
Okay, after some trial and error it seems like one of my own plugins was causing this conflict. If anyone is using this plugin, be aware of the potential - i haven't yet played with the settings on this pluging to see if that's changable.
https://wordpress.org/plugins/gallery-slider-for-woocommerce/
I would suggest you to update the theme, plugins and wordpress as well because something is not working properly for you, if the problem continues, start deactivating the plugins to understand what is causing this problem.

Featured images not appearing

So I’ve been struggling with this problem for a few weeks now. I’ve deactivated and reactivated every plug-in AND tested my theme to see if that was the cause (and it was not) but for some reason most of my featured images are not showing up and it’s terribly annoying since it messes with the way my posts appear on my blog.
I’m considering leaving WordPress if this does not get resolved soon.
The featured images on my blog will not appear. They can be uploaded and edited. I’ve rebuilt their thumbnails. They are just fine until I attach them to a post and then they won’t show.
The problem is when I set a featured image. I can click on an image I uploaded, but it won’t actually attach to the post. After I select a featured image, it says “Click the image to edit or update” or “Remove Image” but there isn’t a picture there and when I update or publish the page, still no picture. This isn’t the case across the board and I have no idea why about six pictures have worked and the others haven’t. I’ve resized them to be the same size, same picture quality, even similar names. I’ve tried it all. I don’t know what’s wrong.
How do I fix this?
If there is no code or image is hard to understand what is happening. Could be a lot of things
The theme you have does not call those images or have to be called in a different manner. Check the theme manual or get another. (hardest way an not recommend to do it) revise the theme code to check if it does it.
Check that you are in the correct page, featured images are for posts check that you are not in a page url. Click on the url on top of the post to go directly to the post page. Also publish it before going to the post url.
Surelly there may be other thing to take in consideration, but these are the most common. Without more information of the problem is really hard to get a proper answer.

fancybox loading mystery object content in woocommerce - "requested content cannot be loaded"

Up to date wordpress, woocommerce and fancybox
When scrolling through product images using easy fancybox from the product details page, fancybox is apparently attempting to load extra content from somewhere.
What I mean is, if I have a product with a total of two images, fancybox displays those images just fine, but then tries to load a third image or some kind of link or content and returns "the requested content cannot be loaded, please try again later". I can continue scrolling through this, but obviously, it is annoying.
Printful (a t-shirt dropshipper) is integrated with my woocommerce install. They recently rolled out a new tool that imports a product from the printful website into woocommerce. The import includes product info, description and an image, which I delete and replace with my own images. I believe the issue has something to do with this import tool. I have contacted printful but they are scratching their heads, so I am trying here.
I have tried deleting caches and playing with all the fancybox settings, different browsers.. I have spent an hour digging through forums. I am stumped.
I will post a link if requested, but i've had links to this particular website removed from stackoverflow by moderators (or someone).
Thanks so much for your help!
RESOLVED (not at all)
I deactivated the printful integration plug in and the ghost images have disappeared. This solves the immediate problem, but creates another one in its place.

Resources