I received the following errors after updating to the latest 2.x dev release.
Strict warning: Declaration of openlayers_behavior_attribution::options_form() should be compatible with that of openlayers_behavior::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\behaviors\openlayers_behavior_attribution.inc).
Strict warning: Declaration of openlayers_behavior_boxselect::options_form() should be compatible with that of openlayers_behavior::options_form() in require_once() (line 25 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\behaviors\openlayers_behavior_boxselect.inc).
Strict warning: Declaration of openlayers_behavior_cluster::options_form() should be compatible with that of openlayers_behavior::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\behaviors\openlayers_behavior_cluster.inc).
Strict warning: Declaration of openlayers_behavior_dragpan::options_form() should be compatible with that of openlayers_behavior::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\behaviors\openlayers_behavior_dragpan.inc).
Strict warning: Declaration of openlayers_behavior_drawfeatures::options_form() should be compatible with that of openlayers_behavior::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\behaviors\openlayers_behavior_drawfeatures.inc).
Strict warning: Declaration of openlayers_behavior_fullscreen::options_form() should be compatible with that of openlayers_behavior::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\behaviors\openlayers_behavior_fullscreen.inc).
Strict warning: Declaration of openlayers_behavior_geolocate::options_form() should be compatible with that of openlayers_behavior::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\behaviors\openlayers_behavior_geolocate.inc).
Strict warning: Declaration of openlayers_behavior_layerswitcher::options_form() should be compatible with that of openlayers_behavior::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\behaviors\openlayers_behavior_layerswitcher.inc).
Strict warning: Declaration of openlayers_behavior_mouseposition::options_form() should be compatible with that of openlayers_behavior::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\behaviors\openlayers_behavior_mouseposition.inc).
Strict warning: Declaration of openlayers_behavior_navigation::options_form() should be compatible with that of openlayers_behavior::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\behaviors\openlayers_behavior_navigation.inc).
Strict warning: Declaration of openlayers_behavior_panzoom::options_form() should be compatible with that of openlayers_behavior::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\behaviors\openlayers_behavior_panzoom.inc).
Strict warning: Declaration of openlayers_behavior_panzoombar::options_form() should be compatible with that of openlayers_behavior::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\behaviors\openlayers_behavior_panzoombar.inc).
Strict warning: Declaration of openlayers_behavior_permalink::options_form() should be compatible with that of openlayers_behavior::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\behaviors\openlayers_behavior_permalink.inc).
Strict warning: Declaration of openlayers_behavior_popup::options_form() should be compatible with that of openlayers_behavior::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\behaviors\openlayers_behavior_popup.inc).
Strict warning: Declaration of openlayers_behavior_scaleline::options_form() should be compatible with that of openlayers_behavior::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\behaviors\openlayers_behavior_scaleline.inc).
Strict warning: Declaration of openlayers_behavior_tooltip::options_form() should be compatible with that of openlayers_behavior::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\behaviors\openlayers_behavior_tooltip.inc).
Strict warning: Declaration of openlayers_behavior_zoombox::options_form() should be compatible with that of openlayers_behavior::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\behaviors\openlayers_behavior_zoombox.inc).
Strict warning: Declaration of openlayers_behavior_zoomtolayer::options_form() should be compatible with that of openlayers_behavior::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\behaviors\openlayers_behavior_zoomtolayer.inc).
Strict warning: Declaration of openlayers_layer_type_cloudmade::options_form() should be compatible with that of openlayers_layer_type::options_form() in require_once() (line 26 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\layer_types\openlayers_layer_type_cloudmade.inc).
Strict warning: Declaration of openlayers_layer_type_geojson::options_form() should be compatible with that of openlayers_layer_type::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\layer_types\openlayers_layer_type_geojson.inc).
Strict warning: Declaration of openlayers_layer_type_google::options_form() should be compatible with that of openlayers_layer_type::options_form() in require_once() (line 23 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\layer_types\openlayers_layer_type_google.inc).
Strict warning: Declaration of openlayers_layer_type_kml::options_form() should be compatible with that of openlayers_layer_type::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\layer_types\openlayers_layer_type_kml.inc).
Strict warning: Declaration of openlayers_layer_type_maptiler::options_form() should be compatible with that of openlayers_layer_type::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\layer_types\openlayers_layer_type_maptiler.inc).
Strict warning: Declaration of openlayers_layer_type_osm::options_form() should be compatible with that of openlayers_layer_type::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\layer_types\openlayers_layer_type_osm.inc).
Strict warning: Declaration of openlayers_layer_type_raw::options_form() should be compatible with that of openlayers_layer_type::options_form() in require_once() (line 26 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\layer_types\openlayers_layer_type_raw.inc).
Strict warning: Declaration of openlayers_layer_type_tms::options_form() should be compatible with that of openlayers_layer_type::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\layer_types\openlayers_layer_type_tms.inc).
Strict warning: Declaration of openlayers_layer_type_virtualearth::options_form() should be compatible with that of openlayers_layer_type::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\layer_types\openlayers_layer_type_virtualearth.inc).
Strict warning: Declaration of openlayers_layer_type_wms::options_form() should be compatible with that of openlayers_layer_type::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\layer_types\openlayers_layer_type_wms.inc).
Strict warning: Declaration of openlayers_layer_type_xyz::options_form() should be compatible with that of openlayers_layer_type::options_form() in require_once() (line 24 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\layer_types\openlayers_layer_type_xyz.inc).
Strict warning: Declaration of openlayers_layer_type_yahoo::options_form() should be compatible with that of openlayers_layer_type::options_form() in require_once() (line 23 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\plugins\layer_types\openlayers_layer_type_yahoo.inc).
Strict warning: Declaration of openlayers_layer_type_openlayers_views_vector::options_form() should be compatible with that of openlayers_layer_type::options_form() in require_once() (line 21 of C:\Melissa\Drupal\Installation\Versions\Drupal Core\drupal-7.x\sites\all\modules\openlayers\modules\openlayers_views\plugins\layer_types\openlayers_views_vector.inc).
Please advise what actions can be taken to solve these.
Looking forward to your reply.
Thanks in advance.
Melissa
Comments
Comment #1
g_f CreditAttribution: g_f commentedDid you run update.php?
Comment #2
oystercrackher CreditAttribution: oystercrackher commentedyes. after running update is when errors appeared.
Thanks
Comment #3
B0ZE CreditAttribution: B0ZE commentedI get these on a clean install:
Strict warning: Declaration of openlayers_behavior_attribution::options_form() should be compatible with openlayers_behavior::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_behavior_boxselect::options_form() should be compatible with openlayers_behavior::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_behavior_cluster::options_form() should be compatible with openlayers_behavior::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_behavior_dragpan::options_form() should be compatible with openlayers_behavior::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_behavior_drawfeatures::options_form() should be compatible with openlayers_behavior::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_behavior_fullscreen::options_form() should be compatible with openlayers_behavior::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_behavior_geolocate::options_form() should be compatible with openlayers_behavior::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_behavior_layerswitcher::options_form() should be compatible with openlayers_behavior::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_behavior_mouseposition::options_form() should be compatible with openlayers_behavior::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_behavior_navigation::options_form() should be compatible with openlayers_behavior::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_behavior_panzoom::options_form() should be compatible with openlayers_behavior::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_behavior_panzoombar::options_form() should be compatible with openlayers_behavior::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_behavior_permalink::options_form() should be compatible with openlayers_behavior::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_behavior_popup::options_form() should be compatible with openlayers_behavior::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_behavior_scaleline::options_form() should be compatible with openlayers_behavior::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_behavior_tooltip::options_form() should be compatible with openlayers_behavior::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_behavior_zoombox::options_form() should be compatible with openlayers_behavior::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_behavior_zoomtolayer::options_form() should be compatible with openlayers_behavior::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_layer_type_cloudmade::options_form() should be compatible with openlayers_layer_type::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_layer_type_geojson::options_form() should be compatible with openlayers_layer_type::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_layer_type_google::options_form() should be compatible with openlayers_layer_type::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_layer_type_kml::options_form() should be compatible with openlayers_layer_type::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_layer_type_maptiler::options_form() should be compatible with openlayers_layer_type::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_layer_type_osm::options_form() should be compatible with openlayers_layer_type::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_layer_type_raw::options_form() should be compatible with openlayers_layer_type::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_layer_type_tms::options_form() should be compatible with openlayers_layer_type::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_layer_type_virtualearth::options_form() should be compatible with openlayers_layer_type::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_layer_type_wms::options_form() should be compatible with openlayers_layer_type::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_layer_type_xyz::options_form() should be compatible with openlayers_layer_type::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Strict warning: Declaration of openlayers_layer_type_yahoo::options_form() should be compatible with openlayers_layer_type::options_form($defaults = Array) in ctools_plugin_load_includes() (line 475 of C:\wamp\www\test3\sites\all\modules\ctools\includes\plugins.inc).
Comment #4
oystercrackher CreditAttribution: oystercrackher commentedAny update?
Comment #5
anouHello,
I got strict warnings on the 7.x-2.0-beta1 version too.
Comment #6
kokkytos CreditAttribution: kokkytos commentedI also have the same warnings
Comment #7
ipwa CreditAttribution: ipwa commented+1
Comment #8
mgiffordAdding a potentially related issue - #1815448: Strict warning: Declaration of openlayers_solr_type::options_form()
Comment #9
ksavoie CreditAttribution: ksavoie commentedSame issue here D7.16 and 2.0-beta1
Read somewhere that it could be related to latest version of PHP.
Comment #10
marc.groth CreditAttribution: marc.groth commentedThis is also happening on openlayers 7.x-2.0-beta1 - Upgraded from 7.x-2.0-beta1+46-dev
As ksavoie mentioned, this is related to a PHP version issue.
Version that doesn't work: 5.4.4
Version that does work: 5.2.17
Using latest version of MAMP
Comment #11
Tabestan CreditAttribution: Tabestan commentedIt's fixed in 3.x-dev.
Comment #12
ksavoie CreditAttribution: ksavoie commentedIs it possible to add in corrections to v2.x. as v3.x is not safe for productions sites?
My PHP version 5.2.10.
(i.e. D7 3.x development branch. As of 11-11, when created, this is nowhere near close to working.)
Comment #13
crutch CreditAttribution: crutch commentedSame issue D7.16 and 2.0-beta1
php5.4.7
clean install, not upgrade
Comment #14
PolHi all,
Could you try with the latest 7.x-2.x version and report to me ?
Thanks!
Comment #15
Chi CreditAttribution: Chi commentedI've just updated to beta 3. The messages have gone away.
PHP 5.4.6
Drupal 7.17
Comment #17
kumkum29 CreditAttribution: kumkum29 commentedHello,
I also have several errors "strict warning".
I transferred my website from one server with php 5.3 to a server with php 5.4. Now I get these errors.
I use OL 7.x-2.0-beta3 + MapBox 7.x-2.0-alpha2.
Should I install the version 2.x dev ?
Thank you for your help.
PS: when i use update.php, i get this error Strict warning : Declaration of openlayers_layer_type_virtualearth::options_form() should be compatible with openlayers_layer_type::options_form($defaults = Array) in ctools_plugin_load_includes() (ligne 475 dans /srv/data/web/vhosts/www.mydomaine.com/htdocs/sites/all/modules/ctools/includes/plugins.inc).
Comment #18
PolHello KumKum,
What we need to fix the problem:
Comment #19
kumkum29 CreditAttribution: kumkum29 commentedHello,
I get these errors when I edited the map in OL pages. I use this map with a MapBox layer.
Maybe the error comes with MapBox module?
Do you need more information?
Thanks.
Comment #20
kumkum29 CreditAttribution: kumkum29 commentedHello Pol,
I read on this post (http://drupal.org/node/1791478#comment-7022122) that we should no longer use MapBox module. We can now directly use a MapBox map in OL, is that correct? Which version of OL should I use?
Thank you for your help.
Comment #21
PolDownload the latest 2.x version, this is the most up to date.
You do not need mapbox module indeed, it has been integrated into OpenLayers.
Also, don't forget to remove old layer type such as virtualhearth who doesn't exists anymore.
Comment #22
kumkum29 CreditAttribution: kumkum29 commentedThanks Pol !
I have no error.
But I used the "OL Proximity" module. With the news 2.x dev version it does not work. I created a new post about it.