• Resolved Rick Powell

    (@powellrichard)


    My site experienced a critical error this morning, and according to the plugin page diagnostics, it was caused by Lumiere.

    Here’s the error:

    An error of type E_ERROR was caused in line 131 of the file /var/www/wptbox/wp-content/plugins/lumiere-movies/class/alteration/class-rewrite-rules.php. Error message: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, string given in /var/www/wptbox/wp-content/plugins/lumiere-movies/class/alteration/class-rewrite-rules.php:131 Stack trace: #0 /var/www/wptbox/wp-content/plugins/lumiere-movies/class/alteration/class-rewrite-rules.php(131): array_key_exists() #1 /var/www/wptbox/wp-includes/class-wp-hook.php(308): Lumiere\Alteration\Rewrite_Rules->lumiere_add_rewrite_rules() #2 /var/www/wptbox/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #3 /var/www/wptbox/wp-includes/plugin.php(517): WP_Hook->do_action() #4 /var/www/wptbox/wp-settings.php(623): do_action() #5 /var/www/wptbox/wp-config.php(77): require_once('...') #6 /var/www/wptbox/wp-load.php(50): require_once('...') #7 /var/www/wptbox/wp-login.php(12): require('...') #8 {main} thrown

    Any help would be appreciated.

    I have disabled the plugin for now. ??

    • This topic was modified 1 year, 2 months ago by Rick Powell.

    The page I need help with: [log in to see the link]

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

    (@psykonevro)

    Hi @powellrichard
    Thanks for reporting back.
    It’s difficult to understand why you get this error, probably a plugin conflict.

    Nevertheless I tried another approach which I hope should work with your environment.
    How much techie are you? Can you download a beta version with the fix to your wordpress plugins folder? You just have remove the former folder “lumiere-movies” into your wp-content/plugins directory and upload the new one, which you can download there:
    https://pub.jcvignoli.com/lumiere-movies311.zip

    Let me know if it works out.

    Thread Starter Rick Powell

    (@powellrichard)

    Hi! Thanks for the fast reply.

    I can manage that, yeah. I like the plugin and want to keep it around.

    Plugin Author JCV

    (@psykonevro)

    Great! Let me know my patch works out, I like you to keep the plugin ??

    Thread Starter Rick Powell

    (@powellrichard)

    So far, no crashes. Thanks a lot!

    Plugin Author JCV

    (@psykonevro)

    This is great, so I can push a new version. Thanks for reporting back!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Critical error’ is closed to new replies.