We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Updating from 2.6.1

Developer Preview

Brad Parscale's avatar
Brad Parscale
196 posts
12 years ago
Brad Parscale's avatar Brad Parscale

Hello,

Anytime I update from 2.6.1 I get this:

A PHP Error was encountered

Severity: Notice

Message: Undefined index: field_content_type

Filename: updates/ud_270.php

Line Number: 889

Any ideas?

Brad

       
Robin Sowell's avatar
Robin Sowell
13,255 posts
12 years ago
Robin Sowell's avatar Robin Sowell

Hey Brad- that bit of code is helping identify text custom fields that are set to ‘all’ (vs numeric). We’ve got a fix:

/**
  * Helper to check field setting content type for text fields
  */
 protected function _text_field_check($data)
 {
  $settings = unserialize(base64_decode($data));
  
  $is_text = TRUE;

  if (isset($settings['field_content_type']) && $settings['field_content_type'] !== 'all')
  {
   $is_text = FALSE;
  }

  return $is_text;
 }

But it’s weird that’s not set. The 2.1.5 update should have set that for all text and file field types. Can you identify the field(s) causing the problem?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.