• Resolved lorenzocasinipes

    (@lorenzocasinipes)


    Hi after upgrading elementor and Neve theme my website crash and this is the stack trace on the top of the page.

    Uncaught Error: Call to a member function get_id() on null in /var/www/blog/wp-content/themes/neve/header-footer-grid/functions-template.php:95
    Stack trace:
    #0 /var/www/blog/wp-content/themes/neve/header-footer-grid/templates/row-wrapper-mobile.php(24): HFG\component_setting()
    #1 /var/www/blog/wp-includes/template.php(772): require('/var/www/blog/w...')
    #2 /var/www/blog/wp-content/themes/neve/header-footer-grid/Main.php(198): load_template()
    #3 /var/www/blog/wp-content/themes/neve/header-footer-grid/Core/Builder/Header.php(371): HFG\Main->load()
    #4 /var/www/blog/wp-content/themes/neve/header-footer-grid/Core/Builder/Abstract_Builder.php(1295): HFG\Core\Builder\Header->render_row()
    #5 /var/www/blog/wp-content/themes/neve/header-footer-grid/Core/Builder/Abstract_Builder.php(802): HFG\Core\Builder\Abstract_Builder->render_device()
    #6 /var/www/blog/wp-content/themes/neve/header-footer-grid/functions-template.php(35): HFG\Core\Builder\Abstract_Builder->render()
    #7 /var/www/blog/wp-content/themes/neve/header-footer

    Can anyone help me?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi @lorenzocasinipes,

    Thanks for choosing Neve!

    Unfortunately I am not able to replicate this issue and no other users reported it, so the issue may be linked to your environment. It may occur due to a plugin conflict, so please install the Health Check & Troubleshooting plugin, enable the troubleshooting mode which will deactivate all plugins and check if the issue persists. If the problem doesn’t occur anymore, it means it was indeed caused by a plugin conflict and you should reactivate the plugins one by one, until you find the culprit. Then, replace that plugin with an alternative one.

    I hope this helps!

    Have a nice day!

    Hi, also just experienced conflict with elementor plugins. Had to roll-back to previous version Neve theme.Issue: Header and footer (neve) disappear.

    Hi @yolosimba!

    Could you please tell us what version of Neve, what version of PHP and what version of Elementor (or Elementor Pro) are you using, in order for us to try and replicate this issue? Also, do you use a header or footer template from Elementor or the default ones from the theme? It would be great if you could provide us the URL to your site as well.

    Thank you!

    Thread Starter lorenzocasinipes

    (@lorenzocasinipes)

    Hi @luciamarinescu this is my configuration:
    Elementor 3.6.2
    Elementor Pro 3.6.4
    Neve 3.2.0

    This configurantion produce the error in the previous post

    Hi @lorenzocasinipes!

    I tested this on my end but I don’t get any error and the header and footer are properly displayed. Also, no other users reported this issue, so there may be something related to your environment. Do you still encounter this problem with the latest version of the theme?

    Thank you!

    Hello, I also get the same problem with following setting:

    Elementor: 3.6.4
    Elementor Pro 3.6.5
    Neve: 3.2.3

    Uncaught Error: Call to a member function get_id() on null in /home/customer/www/WebSiteName.info/public_html/wp-content/themes/neve/header-footer-grid/functions-template.php:95
    Stack trace:
    #0 /home/customer/www/WebSiteName.info/public_html/wp-content/themes/neve/header-footer-grid/templates/row-wrapper-mobile.php(24): HFG\component_setting('menu_icon')
    #1 /home/customer/www/WebSiteName.info/public_html/wp-includes/template.php(772): require('/home/customer/...')
    #2 /home/customer/www/WebSiteName.info/public_html/wp-content/themes/neve/header-footer-grid/Main.php(198): load_template('/home/customer/...', false)
    #3 /home/customer/www/WebSiteName.info/public_html/wp-content/themes/neve/header-footer-grid/Core/Builder/Header.php(371): HFG\Main->load('row-wrapper', 'mobile')
    #4 /home/customer/www/WebSiteName.info/public_html/wp-content/themes/neve/header-footer-grid/Core/Builder/Abstract_Builder.php(1295): HFG\Core\Builder\Header-
    >render_row('mobile', 'sidebar', Array)
    #5 /home/customer/www/WebSiteName.in

    Any ideas please?

    Thread Starter lorenzocasinipes

    (@lorenzocasinipes)

    Hi @luciamarinescu, i try clone in my local test environment, I try to update Neve to 3.2.3 and the error is changed now is:

    Warning: Undefined array key "" in C:\xampp\htdocs\wp\wp-content\themes\neve\header-footer-grid\Core\Builder\Abstract_Builder.php on line 1843
    
    Fatal error: Uncaught Error: Call to a member function get_id() on null in C:\xampp\htdocs\wp\wp-content\themes\neve\header-footer-grid\functions-template.php:95 Stack trace: #0 C:\xampp\htdocs\wp\wp-content\themes\neve\header-footer-grid\templates\row-wrapper-mobile.php(24): HFG\component_setting('menu_icon') #1 C:\xampp\htdocs\wp\wp-includes\template.php(772): require('C:\\xampp\\htdocs...') #2 C:\xampp\htdocs\wp\wp-content\themes\neve\header-footer-grid\Main.php(198): load_template('C:\\xampp\\htdocs...', false) #3 C:\xampp\htdocs\wp\wp-content\themes\neve\header-footer-grid\Core\Builder\Header.php(371): HFG\Main->load('row-wrapper', 'mobile') #4 C:\xampp\htdocs\wp\wp-content\themes\neve\header-footer-grid\Core\Builder\Abstract_Builder.php(1295): HFG\Core\Builder\Header->render_row('mobile', 'sidebar', Array) #5 C:\xampp\htdocs\wp\wp-content\themes\neve\header-footer-grid\Core\Builder\Abstract_Builder.php(802): HFG\Core\Builder\Abstract_Builder->render_device('mobile', Array) #6 C:\xampp\htdocs\wp\wp-content\themes\neve\header-footer-grid\functions-template.php(35): HFG\Core\Builder\Abstract_Builder->render() #7 C:\xampp\htdocs\wp\wp-content\themes\neve\header-footer-grid\templates\header-wrapper.php(18): HFG\render_builder('header') #8 C:\xampp\htdocs\wp\wp-includes\template.php(772): require('C:\\xampp\\htdocs...') #9 C:\xampp\htdocs\wp\wp-content\themes\neve\header-footer-grid\Main.php(180): load_template('C:\\xampp\\htdocs...', false) #10 C:\xampp\htdocs\wp\wp-content\themes\neve\header-footer-grid\Core\Builder\Header.php(344): HFG\Main->load('header-wrapper') #11 C:\xampp\htdocs\wp\wp-includes\class-wp-hook.php(307): HFG\Core\Builder\Header->load_template('') #12 C:\xampp\htdocs\wp\wp-includes\class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #13 C:\xampp\htdocs\wp\wp-includes\plugin.php(474): WP_Hook->do_action(Array) #14 C:\xampp\htdocs\wp\wp-content\themes\neve\header-footer-grid\loader.php(54): do_action('hfg_header_rend...') #15 C:\xampp\htdocs\wp\wp-includes\class-wp-hook.php(307): {closure}('') #16 C:\xampp\htdocs\wp\wp-includes\class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #17 C:\xampp\htdocs\wp\wp-includes\plugin.php(474): WP_Hook->do_action(Array) #18 C:\xampp\htdocs\wp\wp-content\themes\neve\header.php(92): do_action('neve_do_header') #19 C:\xampp\htdocs\wp\wp-includes\template.php(770): require_once('C:\\xampp\\htdocs...') #20 C:\xampp\htdocs\wp\wp-includes\template.php(716): load_template('C:\\xampp\\htdocs...', true, Array) #21 C:\xampp\htdocs\wp\wp-includes\general-template.php(48): locate_template(Array, true, true, Array) #22 C:\xampp\htdocs\wp\wp-content\themes\neve\page-templates\template-pagebuilder-full-width.php(19): get_header() #23 C:\xampp\htdocs\wp\wp-includes\template-loader.php(106): include('C:\\xampp\\htdocs...') #24 C:\xampp\htdocs\wp\wp-blog-header.php(19): require_once('C:\\xampp\\htdocs...') #25 C:\xampp\htdocs\wp\index.php(17): require('C:\\xampp\\htdocs...') #26 {main} thrown in C:\xampp\htdocs\wp\wp-content\themes\neve\header-footer-grid\functions-template.php on line 95

    I’m using Health Check & Troubleshooting plugin, and the only active things are Neve and Elementor, if i rollback Neve to 3.1.6 everything works fine.

    There’s other to try?

    Hello @lassg and @lorenzocasinipes!

    Where exactly does this error appear on your site? Does it appear in the backend, on the dashboard, in the Customizer? We will need the URL to your site to check the issue because as I mentioned, this doesn’t occur on our test instances and we can’t debug this without the proper information.

    Thank you!

    Mat

    (@mateithemeisle)

    Hello everyone ,

    Thank you for providing the error!

    Are you using the Contact component inside the header? If not, then can you please tell us what components you are using inside the header so we can try to reproduce the error?

    Also, please provide the website URLs so we can further troubleshoot.

    It is almost impossible to know what is causing these errors if we cannot see the websites themselves or have no other information other than an error message of a minified file.

    Thank you for understanding and we’re looking forward to hearing from you!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Error Neve 3.2.0 with Elementor 3.6.1’ is closed to new replies.