Skip to content

[BUG][PRO] Featured image as dynamic background for column not showing on live site #4662

@Manusan42

Description

@Manusan42

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

If I set a featured image as a dynamic background for a column in a single post template, it is only shown in editor mode:
elementor_featuredimage_columnbackground_bug_1

... but not in preview or live mode:
elementor_featuredimage_columnbackground_bug_2

Steps to reproduce

  1. Happens consistent, so first step can be fresh WordPress install.
  2. I used Twenty Fifteen default theme.
  3. Make a test post with featured image.
  4. Make a Single Post template.
  5. Put some stuff into section and place featured image to column with content as dynamic background "Style > Background > Normal > Background Type Classic > Image > Dynamic > Post Featured Image".
  6. Save or preview. In editor the image is shown, in preview or live site not (background-image property is missing).

Isolating the problem

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

Environment

System Info == Server Environment == Operating System: Linux Software: Apache/2.4.29 (Unix) mod_hive/6.6 OpenSSL/1.0.1e-fips mod_fastcgi/2.4.6 MySQL version: 5.6.36 PHP Version: 7.0.30 PHP Max Input Vars: 1000 PHP Max Post Size: 32M GD Installed: Yes Write Permissions: All right Elementor Library: Connected

== WordPress Environment ==
Version: 4.9.6
Site URL: https://www.[[censored]]
Home URL: https://www.[[censored]]
WP Multisite: No
Max Upload Size: 24 MB
Memory limit: 128M
Permalink Structure: /%category%/%postname%/
Language: en-US
Timezone: 0
Debug Mode: Inactive

== Theme ==
Name: Twenty Fifteen
Version: 2.0
Author: the WordPress team
Child Theme: No

== 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/66.0.3359.181 Safari/537.36

== Active Plugins ==
Elementor
Version: 2.0.15
Author: Elementor.com

Elementor Pro
	Version: 2.0.10
	Author: Elementor.com

== Debug ==
Errors:
ViewDestroyedError: View (cid: "view334") has already been destroyed and cannot be used.
at [[censored]]/wp-content/plugins/elementor/assets/lib/backbone/backbone.marionette.min.js?ver=2.4.5 - 22:19954
2018-06-05 17:10 +00:00
x 2 times

	ViewDestroyedError: View (cid: "view4187") has already been destroyed and cannot be used.
		at [[censored]]/wp-content/plugins/elementor/assets/lib/backbone/backbone.marionette.min.js?ver=2.4.5 - 22:19954
		2018-06-05 17:04 +00:00

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions