• Resolved maluth

    (@maluth)


    Hi, I need help. The plugin causes a critical error, and my website crashes whenever I install and activate it. Below is the error:

    Howdy!
    
    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
    
    In this case, WordPress caught an error with one of your plugins, Site Reviews.
    
    First, visit your website (https://johnshalom.com/) and check for any visible issues. Next, visit the page where the error was caught (https://johnshalom.com/wp-admin/admin-ajax.php) and check for any visible issues.
    
    Please contact your host for assistance with investigating this issue further.
    
    If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.
    
    https://johnshalom.com/wp-login.php?action=enter_recovery_mode&rm_token=Dzotgmjg2aBdildXvqeeO0&rm_key=oiE4zKPaqSO07pP2C7FLAx
    
    To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
    
    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.5.3
    Current theme: Storefront (version 3.5.1)
    Current plugin: Site Reviews (version 5.8.3)
    PHP version 7.4.16
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 26 of the file /home1/johnsha3/public_html/wp-content/plugins/site-reviews/plugin/Commands/RegisterWidgets.php. Error message: Uncaught ReflectionException: Class GeminiLabs\SiteReviews\Widgets\.Widgets does not exist in /home1/johnsha3/public_html/wp-content/plugins/site-reviews/plugin/Commands/RegisterWidgets.php:26
    Stack trace:
    #0 /home1/johnsha3/public_html/wp-content/plugins/site-reviews/plugin/Commands/RegisterWidgets.php(26): ReflectionClass->__construct('GeminiLabs\\Site...')
    #1 /home1/johnsha3/public_html/wp-content/plugins/site-reviews/plugin/Controllers/Controller.php(30): GeminiLabs\SiteReviews\Commands\RegisterWidgets->handle()
    #2 /home1/johnsha3/public_html/wp-content/plugins/site-reviews/plugin/Controllers/MainController.php(146): GeminiLabs\SiteReviews\Controllers\Controller->execute(Object(GeminiLabs\SiteReviews\Commands\RegisterWidgets))
    #3 /home1/johnsha3/public_html/wp-includes/class-wp-hook.php(287): GeminiLabs\SiteReviews\Controllers\MainController->registerWidgets('')
    #4 /home1/johnsha3/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #5 /home1/johnsha3/public_html/wp-includes

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

Viewing 1 replies (of 1 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    Hi @maluth

    Please update to v5.8.4

    This is a very weird issue. I understand the error message, but it shouldn’t have been triggered as the DirectoryIterator class usage had a check for a valid file, and . is not a file.

    Also, I am running PHP version 7.4.14 and I test each release on PHP 5.6, 7.4 and 8 before releasing.

    For these reasons, I am hoping that this issue was specific to your server. I have added some additional checks in v5.8.4 to ensure it does not happen again.

Viewing 1 replies (of 1 total)
  • The topic ‘It’s breaking my website’ is closed to new replies.