• Greetings – I have been chasing down VPS and domain errors with Gemini helping me. The following is from Gemini:

    When the plugin attempts to fetch data from IMDb for a post, and that external connection fails, times out, or returns incomplete data (specifically missing a title or featured image), the plugin lacks a fallback mechanism.

    Instead of failing gracefully, it throws a Fatal TypeError by passing null to a strictly typed string parameter. This causes the PHP-FPM workers to hang indefinitely, rapidly consuming 100% of the server’s CPU, and resulting in 504 Gateway Timeouts for the entire site. This happens both when loading the frontend post and when attempting to save/update the post in the WordPress editor.

    PHP Fatal error: Uncaught TypeError: Lumiere\Frontend\Link_Maker\Bootstrap_Links::get_picture(): Argument #3 ($movie_title) must be of type string, null given, called in /var/www/vhosts/spookyflix.com/httpdocs/wp-content/plugins/lumiere-movies/class/Frontend/Module/Movie/Movie_Pic.php on line 41 and defined in /var/www/vhosts/spookyflix.com/httpdocs/wp-content/plugins/lumiere-movies/class/Frontend/Link_Maker/Bootstrap_Links.php:101

    Suspected Cause: get_picture() strictly expects a string for $movie_title, but receives null when the IMDb fetch fails to retrieve a title or image. The plugin needs a conditional fallback (e.g., if ($movie_title === null)) to prevent the fatal crash and handle the missing data gracefully.

    PHP Warning: Array to string conversion in /var/www/vhosts/spookyflix.com/httpdocs/wp-content/plugins/lumiere-movies/class/Frontend/Widget/Widget_Frontpage.php on line 233

    Suspected Cause: The plugin appears to be grabbing an array of data on the frontpage widget but is attempting to echo or parse it as a standard string on line 233.

    The IMDB movie listing it was having issues with was:
    https://www.imdb.com/title/tt0070869/


    Thanks,

    James

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author JCV

    (@psykonevro)

    Hi James,
    Seems like you’re using an old version (line 233 Widget_Frontpage.php has no instruction in the latest version).
    I tried to include “A Candle for the Devil” movie, worked great. So I can’t replicate you’re issue.

    However, I’m working on a version addressing the problems with get_picture(), it’s not a big deal. Will share a beta version soon.

    Plugin Author JCV

    (@psykonevro)

    Hi,

    Please let me know if this beta version solve your issue.

    I extensively tested it but this version implements many code changes.

    It addresses the issues you mentionned, though.

    Thread Starter jemcfarlandiii

    (@jemcfarlandiii)

    No. It just seems to be this one movie:
    https://www.imdb.com/title/tt0070869

    I will make do if that is the case. I am set to auto-update so version should not have been old.

    Plugin Author JCV

    (@psykonevro)

    Hi @jemcfarlandiii,

    I tried several times, on local and distant machines, with new and old WordPress installs, I can get that movie.

    I’m using the imdbID (0070869) to search for it.

    Frankly, I do not know how to help :/

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

You must be logged in to reply to this topic.