Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

βœ… πŸ”— 🐞 Intermittent bg image loading issue in the first Loop Grid item (Related to #22368) - [ED-12415] #23085

Closed
4 of 5 tasks
ofmarconi opened this issue Jul 17, 2023 · 18 comments
Labels
bug Indicates a bug with one or multiple components. control/group/background References the Background group settings control. duplicate Indicates when an Issue or a Discussion is a duplicate of another Issue or Discussion. mod* product/pro Indicates if the referenced component is part of the Elementor Pro plugin. product/3.19 [Temp.] References if an Issue or Discussion is part of Elementor (and Pro) v3.19. solved Indicates that an Issue has been Solved, or a Feature Request has been Released. status/merged Indicates when a Pull Request has been merged to a Release. type/styles Indicates when a topic is related to the styles or design of a component. widget/loop-builder References the Loop Grid (Pro) widget and any related components.
Milestone

Comments

@ofmarconi
Copy link

ofmarconi commented Jul 17, 2023

Prerequisites

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • The issue still exists against the latest stable version of Elementor.

Description

Hello Elementor Team,

I'm experiencing intermittent issues with images failing to load in loops and in the background. The images are referenced through CSS, however, it appears that the image URLs are not consistently listed within the CSS for some loops, leading to instances where they fail to load. And some users are having trouble describing the problem as it doesn't follow a pattern:

https://www.facebook.com/groups/Elementors/posts/6128272220631846/

What I noticed is that in the final CSS it is not including the background image of 1 Loop, in the others it includes it as expected, but in the one that does not load it is because there is no request to load it. then you reload the page and it appears or another Loop does not load.

Steps to reproduce

This problem is random and doesn't occur at every instance, making it quite challenging to pinpoint. I would greatly appreciate any advice or solutions you could provide to help resolve this issue.

Isolating the problem

  • This bug happens with only Elementor plugin active (and Elementor Pro).
  • This bug happens with a Blank WordPress theme active (Hello theme).
  • I can reproduce this bug consistently following the steps above.

System Info

System Info
					
== Server Environment ==
	Operating System: Linux
	Software: LiteSpeed
	MySQL version: Ubuntu 20.04 v10.3.38
	PHP Version: 7.4.33
	PHP Memory Limit: 1024M
	PHP Max Input Vars: 1000
	PHP Max Post Size: 100M
	GD Installed: Yes
	ZIP Installed: Yes
	Write Permissions: All right
	Elementor Library: Connected

== WordPress Environment ==
	Version: 6.2.2
	WP Multisite: No
	Max Upload Size: 100 MB
	Memory limit: 40M
	Max Memory limit: 1024M
	Permalink Structure: /%postname%/
	Language: en-US
	Timezone: -3
	Debug Mode: Inactive

== Theme ==
	Name: By Marks.art.br
	Version: 1.1.4.1632168674
	Author: Marconi
	Child Theme: Yes
	Parent Theme Name: Hello Elementor
	Parent Theme Version: 2.8.1
	Parent Theme Author: Elementor Team

== User ==
	Role: administrator
	WP Profile lang: en_US
	User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

== Active Plugins ==
	Admin Columns Pro
		Version: 5.6.4
		Author: AdminColumns.com

	Advanced Database Cleaner PRO
		Version: 3.2.2
		Author: Younes JFR.

	All-in-One WP Migration
		Version: 7.76
		Author: ServMask

	All-in-One WP Migration Unlimited Extension
		Version: 2.52
		Author: ServMask

	Elementor
		Version: 3.14.1
		Author: Elementor.com

	Elementor Pro
		Version: 3.14.1
		Author: Elementor.com

	JetEngine
		Version: 3.2.2
		Author: Crocoblock

	Page scroll to id
		Version: 1.7.7
		Author: malihu

	Qi Addons For Elementor
		Version: 1.6.2
		Author: Qode Interactive

	Rank Math SEO
		Version: 1.0.119
		Author: Rank Math

	Retarget Marks
		Version: 2.36
		Author: Marconi

	WP Offload SES Lite
		Version: 1.6.5
		Author: Delicious Brains

	WPS Hide Login
		Version: 1.9.8
		Author: WPServeur, NicolasKulka, wpformation


== Elements Usage ==
	
	footer : 1
		container : 5
		html : 1
		icon-list : 3
		image : 1
		lottie : 1
		social-icons : 1
	header : 1
		container : 5
		image : 1
		mega-menu : 1
	popup : 2
		button : 1
		container : 1
		heading : 1
		icon : 1
	wp-page : 5
		animated-headline : 1
		button : 4
		container : 64
		counter : 4
		divider : 18
		form : 3
		heading : 34
		html : 3
		icon : 9
		icon-box : 1
		icon-list : 6
		image : 19
		loop-carousel : 2
		loop-grid : 1
		lottie : 2
		qi_addons_for_elementor_text_marquee : 1
		social-icons : 2
		text-editor : 4
		video : 1
	single-post : 1
		button : 3
		container : 8
		divider : 4
		heading : 2
		html : 1
		icon-list : 3
		loop-grid : 1
		progress-tracker : 1
		theme-post-content : 1
	loop-item : 3
		container : 11
		divider : 3
		heading : 4
		icon-list : 5
		theme-post-content : 1
		theme-post-title : 1
	jet-listing-items : 0
		container : 1
		divider : 1
		text-editor : 1
		theme-post-title : 1
	error-404 : 1
		button : 1
		container : 3
		heading : 1
		theme-site-logo : 1


== Settings ==
	
	cpt_support: post, page
	allow_tracking: yes
	unfiltered_files_upload: 1
	font_display: fallback
	meta_generator_tag: 1


== Features ==
	Custom Fonts: 0
	Custom Icons: 0

== Integrations ==
	


== Elementor Experiments ==
	Optimized DOM Output: Inactive
	Improved Asset Loading: Active
	Improved CSS Loading: Active
	Inline Font Icons: Inactive
	Accessibility Improvements: Inactive
	Additional Custom Breakpoints: Inactive
	admin_menu_rearrangement: Inactive by default
	Flexbox Container: Active
	Upgrade Swiper Library: Active
	Grid Container: Active
	Default to New Theme Builder: Inactive
	Hello Theme Header & Footer: Inactive
	Editor Top Bar: Inactive
	Landing Pages: Inactive
	Nested Elements: Active
	Nested Accordion: Inactive by default
	Lazy Load Background Images: Inactive
	Global Style Guide: Active
	Page Transitions: Inactive
	Notes: Inactive
	Loop: Active
	Form Submissions: Active
	Scroll Snap: Inactive
	Menu: Active


== Log ==
	


== Elementor - Compatibility Tag ==
	
	Elementor Pro: Compatibility not specified
	Qi Addons For Elementor: Compatibility not specified

== Elementor Pro - Compatibility Tag ==
	

				
@ofmarconi ofmarconi added the status/awaiting_triage Indicates when an Issue, Pull Request, or Discussion awaits to be triaged. label Jul 17, 2023
@ofmarconi
Copy link
Author

ofmarconi commented Jul 18, 2023

(Snapshot) HTML file with error in loop: https://github.com/elementor/elementor/files/12075265/THLAW.-.Consultoria.Estrategica.zip

I was able to save the HTML with the error, you can see that the first Loop post does not load the image, it is usually the first loop that gives the error:
image

@Grassmedia
Copy link

+1 This issue applies to the Loop carousel and Loop Grid

@portrayaloflife
Copy link

Been seeing this too, duplicate ticket here >> #22368

@nicholaszein nicholaszein changed the title Intermittent Image Loading Issue Inside Loops and in Background πŸ”— 🐞 Bug Report: Intermittent bg image loading issue in the first Loop Grid item - (Related to #22368) Jul 30, 2023
@nicholaszein nicholaszein added bug Indicates a bug with one or multiple components. product/pro Indicates if the referenced component is part of the Elementor Pro plugin. component/design widget/loop-builder References the Loop Grid (Pro) widget and any related components. control/group/background References the Background group settings control. mod* and removed status/awaiting_triage Indicates when an Issue, Pull Request, or Discussion awaits to be triaged. labels Jul 30, 2023
@nicholaszein
Copy link
Member

Hello @ofmarconi!

Thank you for submitting your issue! πŸ™

🏷️ We've labeled this issue and our team will take a look at it. If there is indeed a problem, they'll work on fixing it. We can't say exactly when it'll be sorted out, but we kindly ask for your patience. Thanks for understanding!

Best regards

@portrayaloflife
Copy link

@ofmarconi is your loop pulling from WP native POST or are you using a custom post type?

@LorenaFlyy
Copy link

Hello, I can confirm the problem: Intermittent image loading issue inside loops with background images (always the first post), sometimes also with regular post images from the widget. Here it is the second post that is affected, but this is only from my memory, can't reproduce it currently. The posts are always pulled from WP native post not CPT in my case. I've experienced it since May. Btw, the image "comes back" when you reload the page with CMD+Shift+R. But this is not reliable. Next time you visit the page, it can be vanished again. I have no cache plugins activated, only Elementor + Elementor Pro installed (and Updraft Plus).

@Grassmedia
Copy link

Grassmedia commented Jul 31, 2023

@LorenaFlyy summarizes the issue well. In my case, I'm using native post types but, have also witnessed the problem with Woo Products and CPT's. This is Woo ...
example

@Daveden2
Copy link

Daveden2 commented Aug 9, 2023

I thought it was just me! I was using the loop grid with a CPT. I had to refresh the page for the ACF background colour to show up in the first loop item

@mateitudor
Copy link

I get the same behavior from a simple featured image on a default WP post, no CPT, no fancy ACF. It's been going on for so, so long.

@mangotam
Copy link

mangotam commented Aug 11, 2023

wait for this bug fix ! Same issue here

@portrayaloflife
Copy link

I don't know why they are saying "If there is indeed a problem" when all of us are clearly having the same issue. Kind of frustrating.

@ofmarconi
Copy link
Author

ofmarconi commented Aug 19, 2023

Could you all check the system information? In my case the key information is:
LiteSpeed
Ubuntu 20.04 v10.3.38
PHP 7.4

@mateitudor
Copy link

Still happening in 3.16.0-dev3 / Pro beta3

@micmiller-apptio
Copy link

This is also likely related to #21489

@ttec-mark-musante
Copy link

ttec-mark-musante commented Sep 21, 2023

Seeing the same issue as @Daveden2 where intermittently the first loop item does not pull in the background color from an ACF field on the post. Refreshing the page fixes the issue but due to caching the page does not always refresh for non-authenticated visitors and the cache must be cleared.

The inline CSS that sets the background color is only added for loop items after the first when this happens.

The issue most reliably appears after updating content on the page in the Elementor editor and then clicking the View page option. That first page load usually has this issue.

.e-loop-item-198 .elementor-element.elementor-element-3647ce49:not(.elementor-motion-effects-element-type-background), .e-loop-item-198 .elementor-element.elementor-element-3647ce49 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
background-color: #002b75;
}

@Municornus
Copy link

Municornus commented Oct 9, 2023

I get the same behavior from a simple featured image on a default WP post, no CPT, no fancy ACF. It's been going on for so, so long.

I possibly ran into a similar issue with featured images (default post type, no ACF) but for me it's not the first post's image that is not rendering but the 5th...
It's very erratic and annoying. All the html looks correct, but the missing image(s) are rendered at 0x0 px, 0:0 aspect ratio.

Only patterns I've found so far with regards to this issue:
(I've a main category archive page and a few subcategory archive pages, each with a loop grid for posts.)

  • Often it's specifically the 5th post that loads without image (haven't found anything special about it except it being the tallest img of the bunch).
  • Occasionally on the main category archive page only the first one or two posts of each subcategory load with images, the rest (11-13 posts!) without.
  • If I navigate to one of the subcategory archive pages that share posts with the main archive, then go back to the main category post image that rendered correctly on the subcategory now also renders normally in the main category, but if I refresh the page the issue is back.

@nicholaszein nicholaszein added the status/has-pr Indicates that an Issue, or Discussion has a companion Pull Request awaiting to be merged. label Oct 17, 2023
@nicholaszein nicholaszein changed the title πŸ”— 🐞 Bug Report: Intermittent bg image loading issue in the first Loop Grid item - (Related to #22368) πŸ”— 🐞 Bug Report: Intermittent bg image loading issue in the first Loop Grid item - (Related to #22368) - [ED-12415] Oct 17, 2023
@nicholaszein
Copy link
Member

Hello everyone!

Thank you for your patience! πŸ™

This bug is being worked on, and our team is looking for a solution. Hopefully, we can find it soon.

πŸ”— As this is the same issue as #22368, I am closing comments here so we can have a centralized place to discuss and update you.

Feel free to continue the conversation there. πŸ˜‰

Kind regards

@nicholaszein nicholaszein closed this as not planned Won't fix, can't repro, duplicate, stale Oct 17, 2023
@nicholaszein nicholaszein changed the title πŸ”— 🐞 Bug Report: Intermittent bg image loading issue in the first Loop Grid item - (Related to #22368) - [ED-12415] πŸ”— 🐞 Bug Report: Intermittent bg image loading issue in the first Loop Grid item (Related to #22368) - [ED-12415] Oct 17, 2023
@elementor elementor locked and limited conversation to collaborators Oct 17, 2023
@nicholaszein nicholaszein removed the bug Indicates a bug with one or multiple components. label Nov 9, 2023
@nicholaszein nicholaszein added the type/styles Indicates when a topic is related to the styles or design of a component. label Jan 11, 2024
@nicholaszein nicholaszein added status/merged Indicates when a Pull Request has been merged to a Release. solved Indicates that an Issue has been Solved, or a Feature Request has been Released. product/3.19 [Temp.] References if an Issue or Discussion is part of Elementor (and Pro) v3.19. and removed status/has-pr Indicates that an Issue, or Discussion has a companion Pull Request awaiting to be merged. labels Jan 29, 2024
@nicholaszein nicholaszein changed the title πŸ”— 🐞 Bug Report: Intermittent bg image loading issue in the first Loop Grid item (Related to #22368) - [ED-12415] βœ… πŸ”— 🐞 Intermittent bg image loading issue in the first Loop Grid item (Related to #22368) - [ED-12415] Jan 29, 2024
@nicholaszein nicholaszein added this to the 3.19.0 milestone Jan 29, 2024
@nicholaszein nicholaszein added duplicate Indicates when an Issue or a Discussion is a duplicate of another Issue or Discussion. mod/s* labels Jan 29, 2024
@nicholaszein nicholaszein added the bug Indicates a bug with one or multiple components. label Mar 8, 2024
@nicholaszein
Copy link
Member

Hello everyone!

πŸ“’ We're happy to announce that the issue you raised was resolved in Elementor Pro v3.19.0! πŸ₯³

βœ… Feel free to check it out and update your plugin to the new version!

Check the changelog for more information:
Changelog of Elementor and Elementor Pro

Cheers πŸ₯‚

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Indicates a bug with one or multiple components. control/group/background References the Background group settings control. duplicate Indicates when an Issue or a Discussion is a duplicate of another Issue or Discussion. mod* product/pro Indicates if the referenced component is part of the Elementor Pro plugin. product/3.19 [Temp.] References if an Issue or Discussion is part of Elementor (and Pro) v3.19. solved Indicates that an Issue has been Solved, or a Feature Request has been Released. status/merged Indicates when a Pull Request has been merged to a Release. type/styles Indicates when a topic is related to the styles or design of a component. widget/loop-builder References the Loop Grid (Pro) widget and any related components.
Projects
None yet
Development

No branches or pull requests