I get the following error when I try to generate images from the admin form:
( ! ) Fatal error: Call to undefined function file_uri_to_object() in /var/www/clients/client1/web65/web/sites/all/modules/lorempixel/lorempixel.module on line 240
Call Stack
# Time Memory Function Location
1 0.0002 66508 {main}( ) ../index.php:0
2 0.3416 24157428 menu_execute_active_handler( ) ../index.php:21
3 0.3417 24157428 call_user_func_array ( ) ../menu.inc:516
4 0.3417 24157428 drupal_get_form( ) ../menu.inc:0
5 0.3418 24157428 drupal_build_form( ) ../form.inc:131
6 0.3454 24234728 drupal_process_form( ) ../form.inc:374
7 0.3530 24311040 form_execute_handlers( ) ../form.inc:854
8 0.3531 24311040 lorempixel_form_submit( ) ../form.inc:1443
9 0.3531 24311200 lorempixel_save_image( ) ../lorempixel.module:195

Drupal 7.14, php 5.2.6-1+lenny16, Devel 7.x-1.2

Comments

bobodrone’s picture

Hi cato,

I have used a function that is found in file_entity apparently. :)

I have now added a dependency on File Entity module for now, maybe these functions are to be replaced with custom ones in the near future.
Thanx for finding this bug!!

/ Bobodrone

bobodrone’s picture

Assigned: Unassigned » bobodrone
Status: Active » Fixed

Dependency of file_entity is comitted to 7.x-dev

bobodrone’s picture

Assigned: bobodrone » Unassigned
Status: Fixed » Closed (fixed)

another try to close this.