Support

Account

Home Forums ACF PRO Plugin develop with ACF Loop and custom fields Reply To: Plugin develop with ACF Loop and custom fields

  • @tusca95 You’re apparently developing without error reporting turned on. Your code throws multiple (E_NOTICE) Undefined index: notices for $instance[‘title’] and $instance[‘sponsors’] usage.

    $instance['sponsors'] = strip_tags( $new_instance['sponsors'] );

    In this line, you expect $instance[‘sponsors’], but that’s not how ACF sends the data, I suppose. Please, turn on error reporting and debug the incoming request first.