Fatal error: Uncaught TypeError: Leafo\ScssPhp\Node\Number::offsetGet()

  • Member
    0x779
    April 19, 2023 at 9:05 pm #13667

    Hello,

    I just installed the theme and imported the demo content and I’m getting the following error:

    Fatal error: Uncaught TypeError: Leafo\ScssPhp\Node\Number::offsetGet(): Return value must be of type bool, array returned in /home/tihnalin/public_html/wp-content/themes/uray/inc/admin/sassphp/src/Node/Number.php:184 Stack trace: #0 /home/tihnalin/public_html/wp-content/themes/uray/inc/admin/sassphp/src/Compiler.php(2010): Leafo\ScssPhp\Node\Number->offsetGet(2) #1 /home/tihnalin/public_html/wp-content/themes/uray/inc/admin/sassphp/src/Compiler.php(3620): Leafo\ScssPhp\Compiler->reduce(Object(Leafo\ScssPhp\Node\Number), true) #2 /home/tihnalin/public_html/wp-content/themes/uray/inc/admin/sassphp/src/Compiler.php(2203): Leafo\ScssPhp\Compiler->callNativeFunction(‘rgba’, Array, NULL) #3 /home/tihnalin/public_html/wp-content/themes/uray/inc/admin/sassphp/src/Compiler.php(2180): Leafo\ScssPhp\Compiler->fncall(‘rgba’, Array) #4 /home/tihnalin/public_html/wp-content/themes/uray/inc/admin/sassphp/src/Compiler.php(1615): Leafo\ScssPhp\Compiler->reduce(Array) #5 /home/tihnalin/public_html/wp-content/themes/uray/inc/admin/sassphp/src/Compiler.php(1311): Leafo\ScssPhp\Compiler->compileChild(Array, Object(Leafo\ScssPhp\Formatter\OutputBlock)) #6 /home/tihnalin/public_html/wp-content/themes/uray/inc/admin/sassphp/src/Compiler.php(318): Leafo\ScssPhp\Compiler->compileChildrenNoReturn(Array, Object(Leafo\ScssPhp\Formatter\OutputBlock)) #7 /home/tihnalin/public_html/wp-content/themes/uray/inc/admin/sassphp/src/Compiler.php(205): Leafo\ScssPhp\Compiler->compileRoot(Object(Leafo\ScssPhp\Block)) #8 /home/tihnalin/public_html/wp-content/themes/uray/inc/admin/sassphp/sass2css.php(119): Leafo\ScssPhp\Compiler->compile(‘$bg_header_colo…’) #9 /home/tihnalin/public_html/wp-includes/class-wp-hook.php(310): sass2css->sass_to_css(Array) #10 /home/tihnalin/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #11 /home/tihnalin/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #12 /home/tihnalin/public_html/wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-panel.php(218): do_action(‘redux/options/u…’, Array, Array) #13 /home/tihnalin/public_html/wp-content/plugins/redux-framework/redux-core/templates/panel/header-stickybar.tpl.php(37): Redux_Panel->notification_bar() #14 /home/tihnalin/public_html/wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-panel.php(349): require(‘/home/tihnalin/…’) #15 /home/tihnalin/public_html/wp-content/plugins/redux-framework/redux-core/templates/panel/content.tpl.php(24): Redux_Panel->get_template(‘header-stickyba…’) #16 /home/tihnalin/public_html/wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-panel.php(349): require(‘/home/tihnalin/…’) #17 /home/tihnalin/public_html/wp-content/plugins/redux-framework/redux-core/templates/panel/container.tpl.php(48): Redux_Panel->get_template(‘content.tpl.php’) #18 /home/tihnalin/public_html/wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-panel.php(349): require(‘/home/tihnalin/…’) #19 /home/tihnalin/public_html/wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-panel.php(115): Redux_Panel->get_template(‘container.tpl.p…’) #20 /home/tihnalin/public_html/wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-panel.php(62): Redux_Panel->panel_template() #21 /home/tihnalin/public_html/wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-page-render.php(348): Redux_Panel->init() #22 /home/tihnalin/public_html/wp-includes/class-wp-hook.php(308): Redux_Page_Render->generate_panel(”) #23 /home/tihnalin/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #24 /home/tihnalin/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #25 /home/tihnalin/public_html/wp-admin/admin.php(259): do_action(‘toplevel_page_U…’) #26 {main} thrown in /home/tihnalin/public_html/wp-content/themes/uray/inc/admin/sassphp/src/Node/Number.php on line 184

    • This topic was modified 1 year by 0x779.

    Sorry, this forum is for verified users only. Please Login

Comments are closed.