• So I have done a clean install of the theme. And played with the file in question to make it work. But it still isn’t. The full error is:
    “Warning: Wrong parameter count for parse_ini_file() in **************/wp-content/themes/the-next/admin/OptionFields.class.php on line 131” (I have starred out my server info)

    So I check out the block of code around line 131 and have this:

    public static function GetFonts(){
            $ini_directory= get_template_directory().'/theme-data/';
            $font_array = parse_ini_file("$ini_directory/fonts.php", true, INI_SCANNER_RAW);
            return $font_array;
        }

    Any ideas on how to fix this?

Viewing 1 replies (of 1 total)
  • Theme Author Shahriar Alam

    (@shahriar0822)

    Hi!
    Try following code,

    public static function GetFonts(){
            $ini_directory= get_template_directory().'/theme-data/fonts.php';
            $font_array = parse_ini_file( $ini_directory, true, INI_SCANNER_RAW);
            return $font_array;
    }

    if issue not resolved yet please post a support question here https://wpeden.com/forums/forum/general-questions/ for further discussion.

    Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘Warning: Wrong parameter count for parse_ini_file()’ is closed to new replies.