• Resolved rockamberg

    (@rockamberg)


    The Cron job is running but the events are not imported automatically.
    I have the following error in the error log every time the job is running:
    PHP Fatal error: Call to undefined function wp_read_image_metadata() in /xyz/htdocs/xyz/wordpress/wp-admin/includes/media.php on line 422
    Any idea what the Problem could be?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Franky

    (@liedekef)

    The function eme_sfe_media_sideload_image calls media_handle_sideload, which in turn calls (amongst other things) wp_read_image_metadata. This function is defined in wp-admin/includes/image.php, and is included in eme-sync-facebook-events.php at the top, so it should work just fine … unless wp-admin/includes/images.php is not working as expected … you should check your webserver logs for starters.

    Thread Starter rockamberg

    (@rockamberg)

    No. It isn’t included. And when I include it, the side isn’t working anymore but the event gets synched.

    Plugin Author Franky

    (@liedekef)

    There’s nothing you should include/change. It should all just work … that’s why I said to check your webserver logfiles.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Fatal error: Call to undefined function wp_read_image_metadata()’ is closed to new replies.