When I tried to update the database after I upgrade the plugin version 1.2 to 1.3, I get a message that updates were not performed, and in the log Drupal I saw at this point was formed for 2 seconds to about 1000 the same alerts with the error:

Notice: Undefined index: number_formatter in function _range_update_instance_7005() (line 210 in file .../sites/all/modules/range/range.install).

What is this error and how can I fix it?

I am using the latest version of Drupal 7 and mounted on the server PHP version 5.5.5.

I use the module range for a combination of 2 fields, in particular for the field: Size of a smartphone (length/width), and the output data together with suffixes and prefixes looks like "85 x 160 mm", often there is no data on the first or second field, and is payable is only one (either length or width), can there be a problem?

Comments

taran2l’s picture

Hi @astrameridian,

often there is no data on the first or second field, and is payable is only one (either length or width)

Range module itself doesn't support empty values. It is possible that your version was changed by a patch or something?

What version of the module did you have before the update?

Thanks

  • Taran2L authored 441f8c1 on 7.x-1.x
    Issue #2425279 by astrameridian, Taran2L: Fixed PHP notice: Undefined...
taran2l’s picture

Status: Active » Fixed

Hi @astrameridian,

I've found possible issue scenario. It has been fixed in dev.

Thanks

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.