Fatal error!
-
Hi there,
I need some help with this fatal error while using this plugin.
WordPress: 5.2.3
Theme: REHUB 9.2
Plugin: Elementor v2.7.3Elementor is working fine for “post”, but when I want to use it for “page”
An error occurred! The following message is shown…
Fatal error: Uncaught TypeError: Argument 1 passed to rh_add_el_page_settings_controls() must be an instance of Elementor\Core\DocumentTypes\Post, instance of Elementor\Core\DocumentTypes\Page given, called in /home/rehubsgf/public_html/wp-includes/class-wp-hook.php on line 288 and defined in /home/rehubsgf/public_html/wp-content/themes/rehub-theme/functions/el_functions.php:86 Stack trace: #0 /home/rehubsgf/public_html/wp-includes/class-wp-hook.php(288): rh_add_el_page_settings_controls(Object(Elementor\Core\DocumentTypes\Page), ‘document_settin…’) #1 /home/rehubsgf/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #2 /home/rehubsgf/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #3 /home/rehubsgf/public_html/wp-content/plugins/elementor/includes/compatibility.php(67): do_action(‘elementor/eleme…’, Object(Elementor\Core\DocumentTypes\Page), ‘document_settin…’, Array) #4 /home/rehubsgf/public_html/wp-includes/class-wp-hook.php(286): Elementor\Compatibility::document in /home/rehubsgf/public_html/wp-content/themes/rehub-theme/functions/el_functions.php on line 86
The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.
- The topic ‘Fatal error!’ is closed to new replies.