Elementor Fatal error: Class ‘Elementor\Widget_Base’ not found

I had the same problem. Take $this->includes(); out of the init method, and put it into the register_widgets method: public function init() { … // Include plugin files // $this->includes(); // <– remove this } public function register_widgets() { $this->includes(); // <- put it here \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new \Elementor_oEmbed_Widget() ); }

Multiple plugins vs combined one

If it’s exactly the same code, then no – it shouldn’t cause any performance changes… Why? Because loading a plugin is pretty easy (hence quick) process. It all happens in wp-settings.php and this is the code: // Load active plugins. foreach ( wp_get_active_and_valid_plugins() as $plugin ) { wp_register_plugin_realpath( $plugin ); include_once( $plugin ); } unset( … Read more