GeoDirectory is the leading Directory Plugin for WordPress. Compatible with Gutenberg and the most popular page builders such as Elementor, Oxygen, Beaver Builder and Divi. GeoDirectory is the only solution for WordPress that can scale to millions of listings and high traffic.
Description
When GeoDirectory List Manager is active with GeoDirectory version 2.3.19 or higher, and Elementor is not installed or activated, a PHP fatal error occurs, causing the page to fail to load.
Steps to Reproduce
Ensure GeoDirectory v2.3.19 or higher is installed and active.
Ensure the GeoDirectory List Manager is active.
In Lists > Settings > Template Page Settings - Ensure Template Page Settings - Single Page is set to GD Single - Lists
Ensure Elementor is not installed or deactivated.
Visit a page that triggers the GeoDirectory functionality e.g. a Single List
Observe the PHP fatal error.
Expected Behavior
The plugin should handle the absence of Elementor gracefully without causing a fatal error.
Actual Behavior
A PHP fatal error is triggered with the following message:
Fatal error: Uncaught Error: Class "Elementor\Plugin" not found in /wp-content/plugins/geodirectory/includes/class-geodir-elementor.php:1306
Description When GeoDirectory List Manager is active with GeoDirectory version 2.3.19 or higher, and Elementor is not installed or activated, a PHP fatal error occurs, causing the page to fail to load.
Steps to Reproduce
Expected Behavior The plugin should handle the absence of Elementor gracefully without causing a fatal error.
Actual Behavior A PHP fatal error is triggered with the following message:
Fatal error: Uncaught Error: Class "Elementor\Plugin" not found in /wp-content/plugins/geodirectory/includes/class-geodir-elementor.php:1306
WordPress Environment