Title: Plugin not loading IMDb data
Last modified: February 4, 2017

---

# Plugin not loading IMDb data

 *  [tallicafu](https://wordpress.org/support/users/tallicafu/)
 * (@tallicafu)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/plugin-not-loading-imdb-data/)
 * Hello,
 * I noticed today that the plugin is not loading data from IMDb any more. When 
   searching by title nothing is returned and the plugin area simply shows the back
   button. When searching by ID, I get the following error:
 *     ```
       Warning: file_get_contents(http://www.imdb.com/title/): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /Applications/AMPPS/www/cofca/wp-content/plugins/imdbi/includes/simpleHtmlDom.php on line 97
   
       Fatal error: Uncaught Error: Call to a member function find() on boolean in /Applications/AMPPS/www/cofca/wp-content/plugins/imdbi/admin/partials/imdbi-crawler-view.php:66 Stack trace: #0 /Applications/AMPPS/www/cofca/wp-content/plugins/imdbi/admin/class-imdbi-admin.php(686): include_once() #1 /Applications/AMPPS/www/cofca/wp-content/plugins/imdbi/admin/class-imdbi-admin.php(340): Imdbi_Admin->omdb_view('fetch', Object(stdClass)) #2 /Applications/AMPPS/www/cofca/wp-includes/class-wp-hook.php(298): Imdbi_Admin->imdbi_run_crawler('') #3 /Applications/AMPPS/www/cofca/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #4 /Applications/AMPPS/www/cofca/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /Applications/AMPPS/www/cofca/wp-admin/admin.php(154): do_action('admin_init') #6 /Applications/AMPPS/www/cofca/wp-admin/post-new.php(10): require_once('/Applications/A...') #7 {main} thrown in /Applications/AMPPS/www/cofca/wp-content/plugins/imdbi/admin/partials/imdbi-crawler-view.php on line 66
       ```
   
 * I should add that I am running everything on a local AMPPS instance. However,
   everything had been working fine less than a week ago. Thanks in advance for 
   any insight into this!

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [saothang08](https://wordpress.org/support/users/saothang08/)
 * (@saothang08)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-not-loading-imdb-data/#post-8770005)
 * I got the same issue. The plugin does not retrieve any data. It keeps loading
   forever 🙁
    Any help?
 *  Thread Starter [tallicafu](https://wordpress.org/support/users/tallicafu/)
 * (@tallicafu)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-not-loading-imdb-data/#post-8770087)
 * As a follow-up, I’m having intermittent luck when searching by IMDb ID. The source
   of this problem looks to be with OMDb API, which supplies the data for this plugin.
   They have a message up now that they’re trying to repair it: [http://www.omdbapi.com/](http://www.omdbapi.com/)
 *  [capnjasbo](https://wordpress.org/support/users/capnjasbo/)
 * (@capnjasbo)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-loading-imdb-data/#post-9169497)
 * Same here.
 * Warning: file_get_contents([http://www.imdb.com/title/](http://www.imdb.com/title/)):
   failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/(
   MYUSER)/(MYSITE)/wp-content/plugins/imdbi/includes/simpleHtmlDom.php on line 
   97
 * Fatal error: Call to a member function find() on boolean in /home/(MYUSER)/(MYSITE)/
   wp-content/plugins/imdbi/admin/partials/imdbi-crawler-view.php on line 66
 *  [mehwishdoll08](https://wordpress.org/support/users/mehwishdoll08/)
 * (@mehwishdoll08)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-loading-imdb-data/#post-9172651)
 * I am facing The same problem… I am very Upset about This Anyone please Guid me
   How to solve this Problem…Please Its a request.
    Warning: file_get_contents([http://www.imdb.com/title/](http://www.imdb.com/title/)):
   failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /PathDirectory/
   wp-content/plugins/imdbi/includes/simpleHtmlDom.php on line 97
 * Fatal error: Call to a member function find() on boolean in /PathDirectory/wp-
   content/plugins/imdbi/admin/partials/imdbi-crawler-view.php on line 66
 *  Thread Starter [tallicafu](https://wordpress.org/support/users/tallicafu/)
 * (@tallicafu)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-loading-imdb-data/#post-9172961)
 * I haven’t checked in to this personally, but I’m guessing any issues are related
   to the OMDb API going private. Guessing the API key used in this plugin is no
   longer valid. Hopefully the author can provide us with a way forward.
    -  This reply was modified 8 years, 10 months ago by [tallicafu](https://wordpress.org/support/users/tallicafu/).
 *  Thread Starter [tallicafu](https://wordpress.org/support/users/tallicafu/)
 * (@tallicafu)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-loading-imdb-data/#post-9211360)
 * UPDATE POST-OMDb CHANGE:
 * For those interested, I have gone ahead and become a Patreon of OMDb at the cost
   of $1/month. This gets you a new API key to append to the API call like so:
 * `http://www.omdbapi.com/?apikey=[yourkey]&`
 * Here’s what to do if you opt to become a Patreon and get an API key. After receiving
   the key via email, open the “OMDbAPI.php” file within the “includes” folder in
   the plugin source code. On line 14, there is this variable declaration:
 * `private $host = 'http://www.omdbapi.com/?';`
 * Change it to:
 * `private $host = 'http://www.omdbapi.com/?apikey=[yourkey]&';`
 * Upload the changed file and you’re back in business! Though it’s not free, I 
   hope this helps anyone looking to support this excellent service and get the 
   plugin back in working order.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Plugin not loading IMDb data’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/imdbi_c9ac49.svg)
 * [IMDBi](https://wordpress.org/plugins/imdbi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/imdbi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/imdbi/)
 * [Active Topics](https://wordpress.org/support/plugin/imdbi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/imdbi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/imdbi/reviews/)

 * 8 replies
 * 4 participants
 * Last reply from: [tallicafu](https://wordpress.org/support/users/tallicafu/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-loading-imdb-data/#post-9211360)
 * Status: not resolved