After enabling the module, this warning is displayed on every page:
Deprecated function: Call-time pass-by-reference has been deprecated in drupal_load() (line 1128 of .../includes/bootstrap.inc).
This is about some use of "&$". See #1166504: call-time pass-by-reference has been deprecated in drupal_load() for example.

CommentFileSizeAuthor
#3 pdf_to_image-remove_ref-1478236-3.patch938 bytesmicnap

Comments

mjkillough’s picture

Changing:

// Line 105 - pdf_to_image.module
pdf_to_image_generate_process($entity_type, $entity, $field, $instance, $langcode, &$items);

to

// Line 105 - pdf_to_image.module
pdf_to_image_generate_process($entity_type, $entity, $field, $instance, $langcode, $items);

Has removed this error for me. Seems to be the proper fix, according to StackOverflow: (I'm no PHP coder though)
http://stackoverflow.com/questions/4665782/call-time-pass-by-reference-h...

dale386’s picture

Fixed the problem for me. Thanks!

micnap’s picture

StatusFileSize
new938 bytes

Ditto. Here's a patch.

dman’s picture

Status: Active » Closed (cannot reproduce)

Patch did not apply (was built from Drupal root, not module root)
Problem seems fixed in the 7.x-3.x branch, 2.x is deprecated, so closing this as old