• Hi

    After updating to the new Ascent version, my website stopped working.
    It comes with this error:

    Fatal error: Can’t use function return value in write context in /home/shann507/public_html/wp-content/themes/ascent/header-banner.php on line 6

    I would appreciate some help here.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Pitabas

    (@pitabas106)

    Sorry for the issue. Please update the header-banner.php file line number-5, 6, 7, 8, 9, 10 code.

    Updated code:

    $home_slider_video_height = '';
    $hm_v_height = of_get_option('home_slider_video_height');
    if(!empty($hm_v_height)) {
        $home_slider_video_height = 'height: '.$hm_v_height.'px' ;
    }
    Theme Author Pitabas

    (@pitabas106)

    Sorry for the issue. Please update the header-banner.php file line number-5, 6, 7, 8, 9, 10 code.

    Updated code:

    $home_slider_video_height = '';
    $hm_v_height = of_get_option('home_slider_video_height');
    if(!empty($hm_v_height)) {
        $home_slider_video_height = 'height: '.$hm_v_height.'px' ;
    }

    Thanks for posting this here.

    Have you pushed an update to the theme yet?

    Theme Author Pitabas

    (@pitabas106)

    Yes, its at :https://themes.trac.ww.wp.xz.cn/ticket/29960. But not yet live.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Fatal error after update’ is closed to new replies.