I get the following error after saving the API key. Can this be fixed?

Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of system_settings_form_submit(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/content/j/a/s/jasoncrewsfam/html/BandSites/Schools/Coolidge/modules/flickr/flickr.admin.inc on line 87

CommentFileSizeAuthor
#2 flickr_admin.patch484 bytesmr.baileys

Comments

Anonymous’s picture

Can anyone else reproduce this problem with BETA 1 ?

mr.baileys’s picture

Status: Active » Needs review
StatusFileSize
new484 bytes

Getting the same error. Here are the steps I took to reproduce:

  1. Download & install the Flickr-module on a Drupal 6.6 site
  2. Enable the module
  3. Click on "Flickr" on the admin settings screen (admin/settings/flickr)
  4. Bork:
    PHP Warning:  Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of system_settings_form_submit().  If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in C:\inetpub\wwwroot\drupal-6.6\sites\drupal-test\modules\flickr\flickr.admin.inc on line 87
    

You don't have indicate pass-by-reference on a function call, it's only required on the function definition. Patch attached which got me past this error message.

I don't have my Flickr API key handy, so couldn't proceed any further...

Anonymous’s picture

Status: Needs review » Fixed

Thanks, ill get that committed to the development branch later today / tomorrow.

Best, Paul

Archiblog’s picture

Yes - I get the same error with the Flickr module on 6.x-1.0-beta1 - ie:

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of system_settings_form_submit(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/.marko/archiblog/normanfellows.com/drupal/modules/flickr/flickr.admin.inc on line 87

Status: Fixed » Closed (fixed)

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