Skip to content

Fatal error when selecting 'Has enough stock' as Dynamic Visibility setting #2

@FreerkLap

Description

@FreerkLap

My log shows this error:

Stack trace:
#0 /www/elementorbuild_752/public/wp-content/plugins/jet-engine/includes/modules/dynamic-visibility/inc/conditions-checker.php(82): Jet_Engine\Compatibility\Packages\Jet_Engine_Woo_Package\Conditions\Has_Enough_Stock->check(Array)
#1 /www/elementorbuild_752/public/wp-content/plugins/jet-engine/includes/modules/dynamic-visibility/inc/elementor-integration.php(64): Jet_Engine\Modules\Dynamic_Visibility\Condition_Checker->check_cond(Array, Array)
#2 /www/elementorbuild_752/public/wp-includes/class-wp-hook.php(307): Jet_Engine\Modules\Dynamic_Visibility\Elementor_Integration->before_element_render(Object(Elementor\Widget_Shortcode))
#3 /www/elementorbuild_752/public/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
#4 /www/ele" while reading response header from upstream, client: 87.210.77.52, server: sailspecials.nl,

Steps to reproduce:

  • Use jetengine dynamic visiblity on a JetWoo Single Product Template
  • Set an element to be visibile only when Product Has Enough Stock = 1
  • Save the template
  • Reload editor and try saving again. 500 error happens + above log.

Elementor System Log
system-info-01-11-2022.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions