The following error occurs when configuring Open Layers maps when running PHP7:

ArgumentCountError: Too few arguments to function openlayers_behavior::options_form(), 0 passed in /app/docroot/sites/all/modules/contrib/olebs/behaviors/olebs_behavior_blockswitcher.inc on line 18 and exactly 1 expected in openlayers_behavior->options_form() (line 890 of /app/docroot/sites/all/modules/contrib/openlayers/openlayers.module).

CommentFileSizeAuthor
#2 olebs-php7-3012552-02.patch561 bytesdmsmidt

Comments

dmsmidt created an issue. See original summary.

dmsmidt’s picture

Assigned: dmsmidt » Unassigned
Status: Active » Needs review
StatusFileSize
new561 bytes

Patch attached

  • Pol committed 8029204 on 7.x-2.x authored by dmsmidt
    Issue #3012552 by dmsmidt: PHP7 compatibility bug options_form
    
pol’s picture

Status: Needs review » Fixed

Thanks !

Can't believe this module is used :-)

dmsmidt’s picture

Me neither, never heard about it untill a very old site broke.
But thanks anyhow!

Status: Fixed » Closed (fixed)

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