when I go to Location > Map Links I ge this error
theme.inc on line 617.
AfghanistanNone supported.Aland IslandsNone supported.AlbaniaNone supported.AlgeriaNone supported.American SamoaNone supported.AndorraNone supported.AngolaNone supported.AnguillaNone supported.AntarcticaNone supported.Antigua and BarbudaNone supported.ArgentinaNone supported.ArmeniaNone supported.ArubaNone supported.Australia
Google Maps (Terms of Use)
Yahoo! Maps (Terms of Use)
MapQuest (Terms of Use)
AustriaNone supported.AzerbaijanNone supported.BahamasNone supported.BahrainNone supported.BangladeshNone supported.BarbadosNone supported.BelarusNone supported.BelgiumNone supported.BelizeNone supported.BeninNone supported.BermudaNone supported.BhutanNone supported.BoliviaNone supported.Bosnia and HerzegovinaNone supported.BotswanaNone supported.Bouvet IslandNone supported.BrazilNone supported.British Indian Ocean TerritoryNone supported.British Virgin IslandsNone supported.BruneiNone supported.BulgariaNone supported.Burkina FasoNone supported.BurundiNone supported.CambodiaNone supported.CameroonNone supported.Canada
Google Maps (Terms of Use)
Yahoo! Maps (Terms of Use)
MapQuest (Terms of Use)
Cape VerdeNone supported.Cayman IslandsNone supported.Central African RepublicNone supported.ChadNone supported.ChileNone supported.ChinaNone supported.Christmas IslandNone supported.Cocos (Keeling) IslandsNone supported.ColombiaNone supported.ComorosNone supported.Congo (Brazzaville)None supported.Congo (Kinshasa)None supported.Cook IslandsNone supported.Costa RicaNone supported.CroatiaNone supported.CubaNone supported.CyprusNone supported.Czech RepublicNone supported.DenmarkNone supported.DjiboutiNone supported.DominicaNone supported.Dominican RepublicNone supported.East TimorNone supported.EcuadorNone supported.EgyptNone supported.El SalvadorNone supported.Equatorial GuineaNone supported.EritreaNone supported.EstoniaNone supported.EthiopiaNone supported.Falkland IslandsNone supported.Faroe IslandsNone supported.FijiNone supported.FinlandNone supported.FranceNone supported.French GuianaNone supported.French PolynesiaNone supported.French Southern TerritoriesNone supported.GabonNone supported.GambiaNone supported.GeorgiaNone supported.Germany
etc... :(
Comment | File | Size | Author |
---|---|---|---|
#9 | location-php53-reroll.patch | 942 bytes | John Franklin |
#8 | location.admin_.options.patch | 826 bytes | tangent |
Comments
Comment #1
YesCT CreditAttribution: YesCT commentedPlease check to see if this is still a problem in the new release. If it is, reply with a new summary and set the status back to active.
Comment #2
hip CreditAttribution: hip commentedStill a problem. Same symptoms.
Comment #3
DarkRestraint CreditAttribution: DarkRestraint commentedI am having the same issue. Error code when I go to set up locations.
warning: Parameter 1 to theme_location_map_link_options() expected to be a reference, value given in /home/***/public_html/includes/theme.inc on line 656.
I checked the attributed line in theme.inc and found no reference to that function call. Any and all help would be greatly appreciated.
Comment #4
hutch CreditAttribution: hutch commentedI may be wrong but this looks like a bug in
in location.admin.inc
function theme_location_map_link_options(&$form) line 292
and
function theme_location_geocoding_options(&$form) line 313
I cannot see any reason why $form is being passed by reference, I think these should be
function theme_location_map_link_options($form)
and
function theme_location_geocoding_options($form)
Another one to stumble over php 5.3.x stricter checking
You can switch these warnings off in php.ini, they are not errors.
Comment #5
roknrod12 CreditAttribution: roknrod12 commentedsubscribing... same problem here on a local installation.
Comment #6
daniele77 CreditAttribution: daniele77 commentedNo problem with PHP versions lower than 5.3.
The problem is caused by the version of PHP 5.3x and later.
Can anyone help me?
Comment #7
hansf CreditAttribution: hansf commentedI can verify that removing the & fixed it onthat page.
But on the node view page:
warning: Parameter 2 to location_addanother_form() expected to be a reference, value given in C:\xampp\htdocs\mko\includes\form.inc on line 376. Don' know if this is related.
Php 5.3.1
Comment #8
tangent CreditAttribution: tangent commentedI also confirm this bug on PHP 5.3. Attached is a patch against HEAD.
Comment #9
John Franklin CreditAttribution: John Franklin commentedPrior patch doesn't apply anymore. The parameters were renamed and that broke the patch. Here is a re-rolled version.
Comment #10
rooby CreditAttribution: rooby commentedThis issue is a duplicate of #733438: Parameter 1 to theme_location_geocoding_options() expected to be a reference, value given (Make compatible with PHP 5.3) and has now been fixed in the current dev version.