<b>Fatal error</b>: Call to undefined function array_replace_recursive() in <b>

Hi there

I was happy that the other problem was solved, so i update my webpage for my daughter Elin.
I installed the new version 13.9. But I receive a blank page:


In the HTML Code I saw following error in the inline-css part:

<b>Fatal error</b>: Call to undefined function array_replace_recursive() in <b>/home/www/web276/html/elin/wp-content/themes/betheme/style.php</b> on line <b>147</b><br />


can you help me please?
thanks
Roman

Comments

  • Hi there

    I copied the code from below up:

    $defaults['content']['size'] = mfn_opts_get( 'font-size-content', 13 );
    $defaults['menu']['size'] = mfn_opts_get( 'font-size-menu', 14 );
    $defaults['title']['size'] = mfn_opts_get( 'font-size-title', 25 );
    $defaults['h1']['size'] = mfn_opts_get( 'font-size-h1', 25 );
    $defaults['h2']['size'] = mfn_opts_get( 'font-size-h2', 25 );
    $defaults['h3']['size'] = mfn_opts_get( 'font-size-h3', 25 );
    $defaults['h4']['size'] = mfn_opts_get( 'font-size-h4', 25 );
    $defaults['h5']['size'] = mfn_opts_get( 'font-size-h5', 25 );
    $defaults['h6']['size'] = mfn_opts_get( 'font-size-h6', 25 );
    $defaults['intro']['size'] = mfn_opts_get( 'font-size-single-intro', 70 );
    //$aFont = array_replace_recursive( $defaults, $aFont);
    $aFont = $defaults;


    and commented the error part off.
    But i don't know why it work now and why it did not before....

    Roman





  • Hi,

    you have this error because your PHP version is out of date. Wordpress requires minimum 5.6 version. So please update your PHP version and everything would be fine.

    Thanks!
  • I have only 5.2.17.

    So I have to update php.
    Thanks.

    Roman
Sign In or Register to comment.