Undefined array key checkout_layout
-
Howdy Goaskle team ~,
We’re seeing a warning on the checkout page:PHP Warning: Undefined array key "checkout_layout" in …/plugins/elementor/includes/conditions.php on line 87A conflict test confirmed the warning only appears when your plugin is active alongside Elementor Pro. I tried a few fixes on our end without success:
- Wrapping the
theme_add_scripts()and widget registration calls in anis_checkout()check; - Unregistering Elementor’s page-transitions module on checkout;
- Blocking the
widget_initand enqueue hooks in template_redirect;
Despite these efforts, the warning persists. It seems the plugin is triggering Elementor’s Conditions API on the front end without providing a default for checkout_layout.
I may be missing the right approach, so any guidance on how to limit the integration to appropriate contexts or supply a fallback value would be greatly appreciated.
Thank you in advance for your help.
- Wrapping the
The topic ‘Undefined array key checkout_layout’ is closed to new replies.