• 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(https://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)
  • I got the same issue. The plugin does not retrieve any data. It keeps loading forever ??
    Any help?

    Thread Starter tallicafu

    (@tallicafu)

    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: https://www.omdbapi.com/

    Same here.

    Warning: file_get_contents(https://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

    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(https://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

    (@tallicafu)

    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 7 years, 6 months ago by tallicafu.
    Thread Starter tallicafu

    (@tallicafu)

    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:

    https://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 = 'https://www.omdbapi.com/?';

    Change it to:

    private $host = 'https://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.