Warning: The use statement with non-compound name 'DateTime' has no effect in /htdocs/wp-content/plugins/meta-box/inc/core.php on line 3
Warning: The use statement with non-compound name 'DateTimeZone' has no effect in /htdocs/wp-content/plugins/meta-box/inc/core.php on line 4
OTION_JS,
ELEMENTOR_ASSETS_URL . 'lib/motion/motion' . $suffix . '.js',
[],
'11.13.5',
true
);
wp_register_script(
self::HANDLE_SHARED_UTILS,
$this->get_js_assets_url( 'interactions-shared-utils' ),
[ self::HANDLE_MOTION_JS ],
'1.0.0',
true
);
wp_register_script(
self::HANDLE_FRONTEND,
$this->get_js_assets_url( 'interactions' ),
[ self::HANDLE_MOTION_JS, self::HANDLE_SHARED_UTILS ],
'1.0.0',
true
);
wp_register_script(
self::HANDLE_EDITOR,
$this->get_js_assets_url( 'editor-interactions' ),
[ self::HANDLE_MOTION_JS, self::HANDLE_SHARED_UTILS ],
'1.0.0',
true
);
}
public function enqueue_editor_scripts() {
wp_add_inline_script(
'elementor-common',
'window.' . self::JS_CONFIG_OBJECT . ' = ' . wp_json_encode( $this->get_config() ) . ';',
'before'
);
}
public function enqueue_preview_scripts() {
wp_enqueue_script( self::HANDLE_SHARED_UTILS );
// Ensure motion-js and editor-interactions handler are available in preview iframe
wp_enqueue_script( self::HANDLE_MOTION_JS );
wp_enqueue_script( self::HANDLE_EDITOR );
wp_localize_script(
self::HANDLE_EDITOR,
self::JS_CONFIG_OBJECT,
$this->get_config()
);
}
}
Fatal error: Uncaught Error: Class "Elementor\Modules\Interactions\Module" not found in /htdocs/wp-content/plugins/elementor/core/modules-manager.php:53
Stack trace:
#0 /htdocs/wp-content/plugins/elementor/includes/plugin.php(704): Elementor\Core\Modules_Manager->__construct()
#1 /htdocs/wp-content/plugins/elementor/includes/plugin.php(622): Elementor\Plugin->init_components()
#2 /htdocs/wp-includes/class-wp-hook.php(341): Elementor\Plugin->init('')
#3 /htdocs/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)
#4 /htdocs/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
#5 /htdocs/wp-settings.php(742): do_action('init')
#6 /htdocs/wp-config.php(98): require_once('/htdocs/wp-sett...')
#7 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...')
#8 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...')
#9 /htdocs/index.php(17): require('/htdocs/wp-blog...')
#10 {main}
thrown in /htdocs/wp-content/plugins/elementor/core/modules-manager.php on line 53