Support

Account

Home › Forums › ACF PRO › Gallery – Illegal string offsets › Reply To: Gallery – Illegal string offsets

  • OK, I found solution.
    I used is_admin() function and this cause a problem.

    // Before
    if ( is_admin() ) {
    	require_once get_template_directory() . '/core/custom-fields.php';
    }
    
    // After
    require_once get_template_directory() . '/core/custom-fields.php';